| Package | Description |
|---|---|
| org.bytedeco.javacpp |
| Modifier and Type | Method and Description |
|---|---|
static int |
avformat.av_append_packet(avformat.AVIOContext s,
avcodec.AVPacket pkt,
int size)
Read data and append it to the current content of the AVPacket.
|
static int |
avformat.av_get_packet(avformat.AVIOContext s,
avcodec.AVPacket pkt,
int size)
Allocate and read the payload of a packet and initialize its
fields with default values.
|
static int |
avformat.av_probe_input_buffer(avformat.AVIOContext pb,
avformat.AVInputFormat fmt,
BytePointer url,
Pointer logctx,
int offset,
int max_probe_size) |
static int |
avformat.av_probe_input_buffer(avformat.AVIOContext pb,
avformat.AVInputFormat fmt,
String url,
Pointer logctx,
int offset,
int max_probe_size) |
static int |
avformat.av_probe_input_buffer(avformat.AVIOContext pb,
PointerPointer fmt,
BytePointer url,
Pointer logctx,
int offset,
int max_probe_size)
Like av_probe_input_buffer2() but returns 0 on success
|
static int |
avformat.av_probe_input_buffer2(avformat.AVIOContext pb,
avformat.AVInputFormat fmt,
BytePointer url,
Pointer logctx,
int offset,
int max_probe_size) |
static int |
avformat.av_probe_input_buffer2(avformat.AVIOContext pb,
avformat.AVInputFormat fmt,
String url,
Pointer logctx,
int offset,
int max_probe_size) |
static int |
avformat.av_probe_input_buffer2(avformat.AVIOContext pb,
PointerPointer fmt,
BytePointer url,
Pointer logctx,
int offset,
int max_probe_size)
Probe a bytestream to determine the input format.
|
static int |
avformat.avio_accept(avformat.AVIOContext s,
avformat.AVIOContext c) |
static int |
avformat.avio_accept(avformat.AVIOContext s,
PointerPointer c)
Accept and allocate a client context on a server context.
|
static int |
avformat.avio_close_dyn_buf(avformat.AVIOContext s,
byte[] pbuffer) |
static int |
avformat.avio_close_dyn_buf(avformat.AVIOContext s,
ByteBuffer pbuffer) |
static int |
avformat.avio_close_dyn_buf(avformat.AVIOContext s,
BytePointer pbuffer) |
static int |
avformat.avio_close_dyn_buf(avformat.AVIOContext s,
PointerPointer pbuffer)
Return the written size and a pointer to the buffer.
|
static int |
avformat.avio_close(avformat.AVIOContext s)
Close the resource accessed by the AVIOContext s and free it.
|
static int |
avformat.avio_closep(avformat.AVIOContext s) |
static void |
avformat.avio_context_free(avformat.AVIOContext s) |
static int |
avformat.avio_feof(avformat.AVIOContext s)
feof() equivalent for AVIOContext.
|
static void |
avformat.avio_flush(avformat.AVIOContext s)
Force flushing of buffered data.
|
static int |
avformat.avio_get_dyn_buf(avformat.AVIOContext s,
byte[] pbuffer) |
static int |
avformat.avio_get_dyn_buf(avformat.AVIOContext s,
ByteBuffer pbuffer) |
static int |
avformat.avio_get_dyn_buf(avformat.AVIOContext s,
BytePointer pbuffer) |
static int |
avformat.avio_get_dyn_buf(avformat.AVIOContext s,
PointerPointer pbuffer)
Return the written size and a pointer to the buffer.
|
static int |
avformat.avio_get_str(avformat.AVIOContext pb,
int maxlen,
byte[] buf,
int buflen) |
static int |
avformat.avio_get_str(avformat.AVIOContext pb,
int maxlen,
ByteBuffer buf,
int buflen) |
static int |
avformat.avio_get_str(avformat.AVIOContext pb,
int maxlen,
BytePointer buf,
int buflen)
Read a string from pb into buf.
|
static int |
avformat.avio_get_str16be(avformat.AVIOContext pb,
int maxlen,
byte[] buf,
int buflen) |
static int |
avformat.avio_get_str16be(avformat.AVIOContext pb,
int maxlen,
ByteBuffer buf,
int buflen) |
static int |
avformat.avio_get_str16be(avformat.AVIOContext pb,
int maxlen,
BytePointer buf,
int buflen) |
static int |
avformat.avio_get_str16le(avformat.AVIOContext pb,
int maxlen,
byte[] buf,
int buflen) |
static int |
avformat.avio_get_str16le(avformat.AVIOContext pb,
int maxlen,
ByteBuffer buf,
int buflen) |
static int |
avformat.avio_get_str16le(avformat.AVIOContext pb,
int maxlen,
BytePointer buf,
int buflen)
Read a UTF-16 string from pb and convert it to UTF-8.
|
static int |
avformat.avio_handshake(avformat.AVIOContext c)
Perform one step of the protocol handshake to accept a new client.
|
static int |
avformat.avio_open_dyn_buf(avformat.AVIOContext s) |
static int |
avformat.avio_open(avformat.AVIOContext s,
BytePointer url,
int flags) |
static int |
avformat.avio_open(avformat.AVIOContext s,
String url,
int flags) |
static int |
avformat.avio_open2(avformat.AVIOContext s,
BytePointer url,
int flags,
avformat.AVIOInterruptCB int_cb,
avutil.AVDictionary options) |
static int |
avformat.avio_open2(avformat.AVIOContext s,
String url,
int flags,
avformat.AVIOInterruptCB int_cb,
avutil.AVDictionary options) |
static int |
avformat.avio_pause(avformat.AVIOContext h,
int pause)
Pause and resume playing - only meaningful if using a network streaming
protocol (e.g.
|
static int |
avformat.avio_printf(avformat.AVIOContext s,
BytePointer fmt)
\warning Writes up to 4 KiB per call
|
static int |
avformat.avio_printf(avformat.AVIOContext s,
String fmt) |
static int |
avformat.avio_put_str(avformat.AVIOContext s,
BytePointer str)
Write a NULL-terminated string.
|
static int |
avformat.avio_put_str(avformat.AVIOContext s,
String str) |
static int |
avformat.avio_put_str16be(avformat.AVIOContext s,
BytePointer str)
Convert an UTF-8 string to UTF-16BE and write it.
|
static int |
avformat.avio_put_str16be(avformat.AVIOContext s,
String str) |
static int |
avformat.avio_put_str16le(avformat.AVIOContext s,
BytePointer str)
Convert an UTF-8 string to UTF-16LE and write it.
|
static int |
avformat.avio_put_str16le(avformat.AVIOContext s,
String str) |
static int |
avformat.avio_r8(avformat.AVIOContext s)
\name Functions for reading from AVIOContext
\{
\note return 0 if EOF, so you cannot use it if EOF handling is
necessary
|
static int |
avformat.avio_rb16(avformat.AVIOContext s) |
static int |
avformat.avio_rb24(avformat.AVIOContext s) |
static int |
avformat.avio_rb32(avformat.AVIOContext s) |
static long |
avformat.avio_rb64(avformat.AVIOContext s) |
static int |
avformat.avio_read_partial(avformat.AVIOContext s,
byte[] buf,
int size) |
static int |
avformat.avio_read_partial(avformat.AVIOContext s,
ByteBuffer buf,
int size) |
static int |
avformat.avio_read_partial(avformat.AVIOContext s,
BytePointer buf,
int size)
Read size bytes from AVIOContext into buf.
|
static int |
avformat.avio_read_to_bprint(avformat.AVIOContext h,
avformat.AVBPrint pb,
long max_size)
Read contents of h into print buffer, up to max_size bytes, or up to EOF.
|
static int |
avformat.avio_read(avformat.AVIOContext s,
byte[] buf,
int size) |
static int |
avformat.avio_read(avformat.AVIOContext s,
ByteBuffer buf,
int size) |
static int |
avformat.avio_read(avformat.AVIOContext s,
BytePointer buf,
int size)
Read size bytes from AVIOContext into buf.
|
static int |
avformat.avio_rl16(avformat.AVIOContext s) |
static int |
avformat.avio_rl24(avformat.AVIOContext s) |
static int |
avformat.avio_rl32(avformat.AVIOContext s) |
static long |
avformat.avio_rl64(avformat.AVIOContext s) |
static long |
avformat.avio_seek_time(avformat.AVIOContext h,
int stream_index,
long timestamp,
int flags)
Seek to a given timestamp relative to some component stream.
|
static long |
avformat.avio_seek(avformat.AVIOContext s,
long offset,
int whence)
fseek() equivalent for AVIOContext.
|
static long |
avformat.avio_size(avformat.AVIOContext s)
Get the filesize.
|
static long |
avformat.avio_skip(avformat.AVIOContext s,
long offset)
Skip given number of bytes forward
|
static long |
avformat.avio_tell(avformat.AVIOContext s)
ftell() equivalent for AVIOContext.
|
static void |
avformat.avio_w8(avformat.AVIOContext s,
int b) |
static void |
avformat.avio_wb16(avformat.AVIOContext s,
int val) |
static void |
avformat.avio_wb24(avformat.AVIOContext s,
int val) |
static void |
avformat.avio_wb32(avformat.AVIOContext s,
int val) |
static void |
avformat.avio_wb64(avformat.AVIOContext s,
long val) |
static void |
avformat.avio_wl16(avformat.AVIOContext s,
int val) |
static void |
avformat.avio_wl24(avformat.AVIOContext s,
int val) |
static void |
avformat.avio_wl32(avformat.AVIOContext s,
int val) |
static void |
avformat.avio_wl64(avformat.AVIOContext s,
long val) |
static void |
avformat.avio_write_marker(avformat.AVIOContext s,
long time,
int type)
Mark the written bytestream as a specific type.
|
static void |
avformat.avio_write(avformat.AVIOContext s,
byte[] buf,
int size) |
static void |
avformat.avio_write(avformat.AVIOContext s,
ByteBuffer buf,
int size) |
static void |
avformat.avio_write(avformat.AVIOContext s,
BytePointer buf,
int size) |
void |
avformat.AVFormatContext.Io_close_AVFormatContext_AVIOContext.call(avformat.AVFormatContext s,
avformat.AVIOContext pb) |
int |
avformat.AVOpenCallback.call(avformat.AVFormatContext s,
avformat.AVIOContext pb,
BytePointer url,
int flags,
avformat.AVIOInterruptCB int_cb,
avutil.AVDictionary options) |
avformat.AVFormatContext |
avformat.AVFormatContext.pb(avformat.AVIOContext pb) |
static int |
avformat.url_feof(avformat.AVIOContext s)
Deprecated.
use avio_feof()
|
Copyright © 2018. All rights reserved.