public static class avformat.AVIOContext extends Pointer
| Modifier and Type | Class and Description |
|---|---|
static class |
avformat.AVIOContext.Read_packet_Pointer_BytePointer_int |
static class |
avformat.AVIOContext.Read_pause_Pointer_int
Pause or resume playback for network streaming protocols - e.g.
|
static class |
avformat.AVIOContext.Read_seek_Pointer_int_long_int
Seek to a given timestamp in stream with the specified stream_index.
|
static class |
avformat.AVIOContext.Seek_Pointer_long_int |
static class |
avformat.AVIOContext.Update_checksum_long_BytePointer_int |
static class |
avformat.AVIOContext.Write_data_type_Pointer_BytePointer_int_int_long
A callback that is used instead of write_packet.
|
static class |
avformat.AVIOContext.Write_packet_Pointer_BytePointer_int |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
avformat.AVIOContext()
Default native constructor.
|
avformat.AVIOContext(long size)
Native array allocator.
|
avformat.AVIOContext(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
avutil.AVClass |
av_class()
A class for private options.
|
BytePointer |
buf_end()
End of the data, may be less than
buffer+buffer_size if the read function returned
less data than requested, e.g.
|
avformat.AVIOContext |
buf_end(BytePointer buf_end) |
BytePointer |
buf_ptr()
Current position in the buffer
|
avformat.AVIOContext |
buf_ptr(BytePointer buf_ptr) |
int |
buffer_size()
Maximum buffer size
|
avformat.AVIOContext |
buffer_size(int buffer_size) |
BytePointer |
buffer()
Start of the buffer.
|
avformat.AVIOContext |
buffer(BytePointer buffer) |
long |
bytes_read()
Bytes read statistic
This field is internal to libavformat and access from outside is not allowed.
|
avformat.AVIOContext |
bytes_read(long bytes_read) |
BytePointer |
checksum_ptr() |
avformat.AVIOContext |
checksum_ptr(BytePointer checksum_ptr) |
long |
checksum() |
avformat.AVIOContext |
checksum(long checksum) |
int |
current_type()
Internal, not meant to be used from outside of AVIOContext.
|
avformat.AVIOContext |
current_type(int current_type) |
int |
direct()
avio_read and avio_write should if possible be satisfied directly
instead of going through a buffer, and avio_seek will always
call the underlying seek function directly.
|
avformat.AVIOContext |
direct(int direct) |
int |
eof_reached()
true if eof reached
|
avformat.AVIOContext |
eof_reached(int eof_reached) |
int |
error()
contains the error code or 0 if no error happened
|
avformat.AVIOContext |
error(int error) |
int |
ignore_boundary_point()
If set, don't call write_data_type separately for AVIO_DATA_MARKER_BOUNDARY_POINT,
but ignore them and treat them as AVIO_DATA_MARKER_UNKNOWN (to avoid needlessly
small chunks of data returned from the callback).
|
avformat.AVIOContext |
ignore_boundary_point(int ignore_boundary_point) |
long |
last_time() |
avformat.AVIOContext |
last_time(long last_time) |
int |
max_packet_size() |
avformat.AVIOContext |
max_packet_size(int max_packet_size) |
long |
maxsize()
max filesize, used to limit allocations
This field is internal to libavformat and access from outside is not allowed.
|
avformat.AVIOContext |
maxsize(long maxsize) |
int |
must_flush()
true if the next seek should flush
|
avformat.AVIOContext |
must_flush(int must_flush) |
Pointer |
opaque()
A private pointer, passed to the read/write/seek/...
|
avformat.AVIOContext |
opaque(Pointer opaque) |
int |
orig_buffer_size()
Original buffer size
used internally after probing and ensure seekback to reset the buffer size
This field is internal to libavformat and access from outside is not allowed.
|
avformat.AVIOContext |
orig_buffer_size(int orig_buffer_size) |
long |
pos()
position in the file of the current buffer
|
avformat.AVIOContext |
pos(long pos) |
avformat.AVIOContext |
position(long position) |
BytePointer |
protocol_blacklist()
',' separated list of disallowed protocols.
|
BytePointer |
protocol_whitelist()
',' separated list of allowed protocols.
|
avformat.AVIOContext.Read_packet_Pointer_BytePointer_int |
read_packet() |
avformat.AVIOContext |
read_packet(avformat.AVIOContext.Read_packet_Pointer_BytePointer_int read_packet) |
avformat.AVIOContext.Read_pause_Pointer_int |
read_pause() |
avformat.AVIOContext |
read_pause(avformat.AVIOContext.Read_pause_Pointer_int read_pause) |
avformat.AVIOContext.Read_seek_Pointer_int_long_int |
read_seek() |
avformat.AVIOContext |
read_seek(avformat.AVIOContext.Read_seek_Pointer_int_long_int read_seek) |
int |
seek_count()
seek statistic
This field is internal to libavformat and access from outside is not allowed.
|
avformat.AVIOContext |
seek_count(int seek_count) |
avformat.AVIOContext.Seek_Pointer_long_int |
seek() |
avformat.AVIOContext |
seek(avformat.AVIOContext.Seek_Pointer_long_int seek) |
int |
seekable()
A combination of AVIO_SEEKABLE_ flags or 0 when the stream is not seekable.
|
avformat.AVIOContext |
seekable(int seekable) |
int |
short_seek_threshold()
Threshold to favor readahead over seek.
|
avformat.AVIOContext |
short_seek_threshold(int short_seek_threshold) |
avformat.AVIOContext.Update_checksum_long_BytePointer_int |
update_checksum() |
avformat.AVIOContext |
update_checksum(avformat.AVIOContext.Update_checksum_long_BytePointer_int update_checksum) |
avformat.AVIOContext.Write_data_type_Pointer_BytePointer_int_int_long |
write_data_type() |
avformat.AVIOContext |
write_data_type(avformat.AVIOContext.Write_data_type_Pointer_BytePointer_int_int_long write_data_type) |
int |
write_flag()
true if open for writing
|
avformat.AVIOContext |
write_flag(int write_flag) |
avformat.AVIOContext.Write_packet_Pointer_BytePointer_int |
write_packet() |
avformat.AVIOContext |
write_packet(avformat.AVIOContext.Write_packet_Pointer_BytePointer_int write_packet) |
int |
writeout_count()
writeout statistic
This field is internal to libavformat and access from outside is not allowed.
|
avformat.AVIOContext |
writeout_count(int writeout_count) |
address, asBuffer, asByteBuffer, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, withDeallocator, zeropublic avformat.AVIOContext()
public avformat.AVIOContext(long size)
Pointer.position(long).public avformat.AVIOContext(Pointer p)
Pointer.Pointer(Pointer).public avformat.AVIOContext position(long position)
@MemberGetter @Const public avutil.AVClass av_class()
@Cast(value="unsigned char*") public BytePointer buffer()
public avformat.AVIOContext buffer(BytePointer buffer)
public int buffer_size()
public avformat.AVIOContext buffer_size(int buffer_size)
@Cast(value="unsigned char*") public BytePointer buf_ptr()
public avformat.AVIOContext buf_ptr(BytePointer buf_ptr)
@Cast(value="unsigned char*") public BytePointer buf_end()
public avformat.AVIOContext buf_end(BytePointer buf_end)
public Pointer opaque()
public avformat.AVIOContext opaque(Pointer opaque)
public avformat.AVIOContext.Read_packet_Pointer_BytePointer_int read_packet()
public avformat.AVIOContext read_packet(avformat.AVIOContext.Read_packet_Pointer_BytePointer_int read_packet)
public avformat.AVIOContext.Write_packet_Pointer_BytePointer_int write_packet()
public avformat.AVIOContext write_packet(avformat.AVIOContext.Write_packet_Pointer_BytePointer_int write_packet)
public avformat.AVIOContext.Seek_Pointer_long_int seek()
public avformat.AVIOContext seek(avformat.AVIOContext.Seek_Pointer_long_int seek)
public avformat.AVIOContext pos(long pos)
public int must_flush()
public avformat.AVIOContext must_flush(int must_flush)
public int eof_reached()
public avformat.AVIOContext eof_reached(int eof_reached)
public int write_flag()
public avformat.AVIOContext write_flag(int write_flag)
public int max_packet_size()
public avformat.AVIOContext max_packet_size(int max_packet_size)
public avformat.AVIOContext checksum(long checksum)
@Cast(value="unsigned char*") public BytePointer checksum_ptr()
public avformat.AVIOContext checksum_ptr(BytePointer checksum_ptr)
public avformat.AVIOContext.Update_checksum_long_BytePointer_int update_checksum()
public avformat.AVIOContext update_checksum(avformat.AVIOContext.Update_checksum_long_BytePointer_int update_checksum)
public int error()
public avformat.AVIOContext error(int error)
public avformat.AVIOContext.Read_pause_Pointer_int read_pause()
public avformat.AVIOContext read_pause(avformat.AVIOContext.Read_pause_Pointer_int read_pause)
public avformat.AVIOContext.Read_seek_Pointer_int_long_int read_seek()
public avformat.AVIOContext read_seek(avformat.AVIOContext.Read_seek_Pointer_int_long_int read_seek)
public int seekable()
public avformat.AVIOContext seekable(int seekable)
@Cast(value="int64_t") public long maxsize()
public avformat.AVIOContext maxsize(long maxsize)
public int direct()
public avformat.AVIOContext direct(int direct)
@Cast(value="int64_t") public long bytes_read()
public avformat.AVIOContext bytes_read(long bytes_read)
public int seek_count()
public avformat.AVIOContext seek_count(int seek_count)
public int writeout_count()
public avformat.AVIOContext writeout_count(int writeout_count)
public int orig_buffer_size()
public avformat.AVIOContext orig_buffer_size(int orig_buffer_size)
public int short_seek_threshold()
public avformat.AVIOContext short_seek_threshold(int short_seek_threshold)
@MemberGetter @Cast(value="const char*") public BytePointer protocol_whitelist()
@MemberGetter @Cast(value="const char*") public BytePointer protocol_blacklist()
public avformat.AVIOContext.Write_data_type_Pointer_BytePointer_int_int_long write_data_type()
public avformat.AVIOContext write_data_type(avformat.AVIOContext.Write_data_type_Pointer_BytePointer_int_int_long write_data_type)
public int ignore_boundary_point()
public avformat.AVIOContext ignore_boundary_point(int ignore_boundary_point)
@Cast(value="AVIODataMarkerType") public int current_type()
public avformat.AVIOContext current_type(int current_type)
public avformat.AVIOContext last_time(long last_time)
Copyright © 2016. All rights reserved.