@Properties(inherit=avformat.class) public class AVIOContext extends Pointer
Modifier and Type | Class and Description |
---|---|
static class |
AVIOContext.Read_packet_Pointer_BytePointer_int |
static class |
AVIOContext.Read_pause_Pointer_int
Pause or resume playback for network streaming protocols - e.g.
|
static class |
AVIOContext.Read_seek_Pointer_int_long_int
Seek to a given timestamp in stream with the specified stream_index.
|
static class |
AVIOContext.Seek_Pointer_long_int |
static class |
AVIOContext.Short_seek_get_Pointer
A callback that is used instead of short_seek_threshold.
|
static class |
AVIOContext.Update_checksum_long_BytePointer_int |
static class |
AVIOContext.Write_data_type_Pointer_BytePointer_int_int_long
A callback that is used instead of write_packet.
|
static class |
AVIOContext.Write_packet_Pointer_BytePointer_int |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
AVIOContext()
Default native constructor.
|
AVIOContext(long size)
Native array allocator.
|
AVIOContext(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
AVClass |
av_class()
A class for private options.
|
AVIOContext |
av_class(AVClass setter) |
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.
|
AVIOContext |
buf_end(BytePointer setter) |
BytePointer |
buf_ptr_max()
Maximum reached position before a backward seek in the write buffer,
used keeping track of already written data for a later flush.
|
AVIOContext |
buf_ptr_max(BytePointer setter) |
BytePointer |
buf_ptr()
Current position in the buffer
|
AVIOContext |
buf_ptr(BytePointer setter) |
int |
buffer_size()
Maximum buffer size
|
AVIOContext |
buffer_size(int setter) |
BytePointer |
buffer()
Start of the buffer.
|
AVIOContext |
buffer(BytePointer setter) |
long |
bytes_read()
Bytes read statistic
This field is internal to libavformat and access from outside is not allowed.
|
AVIOContext |
bytes_read(long setter) |
BytePointer |
checksum_ptr() |
AVIOContext |
checksum_ptr(BytePointer setter) |
long |
checksum() |
AVIOContext |
checksum(long setter) |
int |
current_type()
Internal, not meant to be used from outside of AVIOContext.
|
AVIOContext |
current_type(int setter) |
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.
|
AVIOContext |
direct(int setter) |
int |
eof_reached()
true if was unable to read due to error or eof
|
AVIOContext |
eof_reached(int setter) |
int |
error()
contains the error code or 0 if no error happened
|
AVIOContext |
error(int setter) |
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).
|
AVIOContext |
ignore_boundary_point(int setter) |
long |
last_time() |
AVIOContext |
last_time(long setter) |
int |
max_packet_size() |
AVIOContext |
max_packet_size(int setter) |
long |
maxsize()
max filesize, used to limit allocations
This field is internal to libavformat and access from outside is not allowed.
|
AVIOContext |
maxsize(long setter) |
int |
min_packet_size()
Try to buffer at least this amount of data before flushing it
|
AVIOContext |
min_packet_size(int setter) |
Pointer |
opaque()
A private pointer, passed to the read/write/seek/...
|
AVIOContext |
opaque(Pointer setter) |
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.
|
AVIOContext |
orig_buffer_size(int setter) |
long |
pos()
position in the file of the current buffer
|
AVIOContext |
pos(long setter) |
AVIOContext |
position(long position) |
BytePointer |
protocol_blacklist()
',' separated list of disallowed protocols.
|
AVIOContext |
protocol_blacklist(BytePointer setter) |
BytePointer |
protocol_whitelist()
',' separated list of allowed protocols.
|
AVIOContext |
protocol_whitelist(BytePointer setter) |
AVIOContext.Read_packet_Pointer_BytePointer_int |
read_packet() |
AVIOContext |
read_packet(AVIOContext.Read_packet_Pointer_BytePointer_int setter) |
AVIOContext.Read_pause_Pointer_int |
read_pause() |
AVIOContext |
read_pause(AVIOContext.Read_pause_Pointer_int setter) |
AVIOContext.Read_seek_Pointer_int_long_int |
read_seek() |
AVIOContext |
read_seek(AVIOContext.Read_seek_Pointer_int_long_int setter) |
int |
seek_count()
seek statistic
This field is internal to libavformat and access from outside is not allowed.
|
AVIOContext |
seek_count(int setter) |
AVIOContext.Seek_Pointer_long_int |
seek() |
AVIOContext |
seek(AVIOContext.Seek_Pointer_long_int setter) |
int |
seekable()
A combination of AVIO_SEEKABLE_ flags or 0 when the stream is not seekable.
|
AVIOContext |
seekable(int setter) |
AVIOContext.Short_seek_get_Pointer |
short_seek_get() |
AVIOContext |
short_seek_get(AVIOContext.Short_seek_get_Pointer setter) |
int |
short_seek_threshold()
Threshold to favor readahead over seek.
|
AVIOContext |
short_seek_threshold(int setter) |
AVIOContext.Update_checksum_long_BytePointer_int |
update_checksum() |
AVIOContext |
update_checksum(AVIOContext.Update_checksum_long_BytePointer_int setter) |
AVIOContext.Write_data_type_Pointer_BytePointer_int_int_long |
write_data_type() |
AVIOContext |
write_data_type(AVIOContext.Write_data_type_Pointer_BytePointer_int_int_long setter) |
int |
write_flag()
true if open for writing
|
AVIOContext |
write_flag(int setter) |
AVIOContext.Write_packet_Pointer_BytePointer_int |
write_packet() |
AVIOContext |
write_packet(AVIOContext.Write_packet_Pointer_BytePointer_int setter) |
int |
writeout_count()
writeout statistic
This field is internal to libavformat and access from outside is not allowed.
|
AVIOContext |
writeout_count(int setter) |
long |
written() |
AVIOContext |
written(long setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public AVIOContext()
public AVIOContext(long size)
Pointer.position(long)
.public AVIOContext(Pointer p)
Pointer.Pointer(Pointer)
.public AVIOContext position(long position)
@Const public AVClass av_class()
public AVIOContext av_class(AVClass setter)
@Cast(value="unsigned char*") public BytePointer buffer()
public AVIOContext buffer(BytePointer setter)
public int buffer_size()
public AVIOContext buffer_size(int setter)
@Cast(value="unsigned char*") public BytePointer buf_ptr()
public AVIOContext buf_ptr(BytePointer setter)
@Cast(value="unsigned char*") public BytePointer buf_end()
public AVIOContext buf_end(BytePointer setter)
public Pointer opaque()
public AVIOContext opaque(Pointer setter)
public AVIOContext.Read_packet_Pointer_BytePointer_int read_packet()
public AVIOContext read_packet(AVIOContext.Read_packet_Pointer_BytePointer_int setter)
public AVIOContext.Write_packet_Pointer_BytePointer_int write_packet()
public AVIOContext write_packet(AVIOContext.Write_packet_Pointer_BytePointer_int setter)
public AVIOContext.Seek_Pointer_long_int seek()
public AVIOContext seek(AVIOContext.Seek_Pointer_long_int setter)
public AVIOContext pos(long setter)
public int eof_reached()
public AVIOContext eof_reached(int setter)
public int write_flag()
public AVIOContext write_flag(int setter)
public int max_packet_size()
public AVIOContext max_packet_size(int setter)
public AVIOContext checksum(long setter)
@Cast(value="unsigned char*") public BytePointer checksum_ptr()
public AVIOContext checksum_ptr(BytePointer setter)
public AVIOContext.Update_checksum_long_BytePointer_int update_checksum()
public AVIOContext update_checksum(AVIOContext.Update_checksum_long_BytePointer_int setter)
public int error()
public AVIOContext error(int setter)
public AVIOContext.Read_pause_Pointer_int read_pause()
public AVIOContext read_pause(AVIOContext.Read_pause_Pointer_int setter)
public AVIOContext.Read_seek_Pointer_int_long_int read_seek()
public AVIOContext read_seek(AVIOContext.Read_seek_Pointer_int_long_int setter)
public int seekable()
public AVIOContext seekable(int setter)
@Cast(value="int64_t") public long maxsize()
public AVIOContext maxsize(long setter)
public int direct()
public AVIOContext direct(int setter)
@Cast(value="int64_t") public long bytes_read()
public AVIOContext bytes_read(long setter)
public int seek_count()
public AVIOContext seek_count(int setter)
public int writeout_count()
public AVIOContext writeout_count(int setter)
public int orig_buffer_size()
public AVIOContext orig_buffer_size(int setter)
public int short_seek_threshold()
public AVIOContext short_seek_threshold(int setter)
@Cast(value="const char*") public BytePointer protocol_whitelist()
public AVIOContext protocol_whitelist(BytePointer setter)
@Cast(value="const char*") public BytePointer protocol_blacklist()
public AVIOContext protocol_blacklist(BytePointer setter)
public AVIOContext.Write_data_type_Pointer_BytePointer_int_int_long write_data_type()
public AVIOContext write_data_type(AVIOContext.Write_data_type_Pointer_BytePointer_int_int_long setter)
public int ignore_boundary_point()
public AVIOContext ignore_boundary_point(int setter)
@Cast(value="AVIODataMarkerType") public int current_type()
public AVIOContext current_type(int setter)
public AVIOContext last_time(long setter)
public AVIOContext.Short_seek_get_Pointer short_seek_get()
public AVIOContext short_seek_get(AVIOContext.Short_seek_get_Pointer setter)
public AVIOContext written(long setter)
@Cast(value="unsigned char*") public BytePointer buf_ptr_max()
public AVIOContext buf_ptr_max(BytePointer setter)
public int min_packet_size()
public AVIOContext min_packet_size(int setter)
Copyright © 2020. All rights reserved.