@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.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()
Read-only statistic of bytes read for this AVIOContext.
|
AVIOContext |
bytes_read(long setter) |
long |
bytes_written()
Read-only statistic of bytes written for this AVIOContext.
|
AVIOContext |
bytes_written(long setter) |
BytePointer |
checksum_ptr() |
AVIOContext |
checksum_ptr(BytePointer setter) |
long |
checksum() |
AVIOContext |
checksum(long 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) |
AVIOContext |
getPointer(long i) |
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) |
int |
max_packet_size() |
AVIOContext |
max_packet_size(int 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) |
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) |
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.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) |
long |
written()
Deprecated.
field utilized privately by libavformat. For a public
statistic of how many bytes were written out, see
AVIOContext::bytes_written.
|
AVIOContext |
written(long setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public AVIOContext()
public AVIOContext(long size)
Pointer.position(long)
.public AVIOContext(Pointer p)
Pointer(Pointer)
.public AVIOContext position(long position)
public AVIOContext getPointer(long i)
getPointer
in class Pointer
@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 error()
public AVIOContext error(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 int min_packet_size()
public AVIOContext min_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 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)
public int direct()
public AVIOContext direct(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="int64_t") @Deprecated public long written()
public AVIOContext written(long setter)
@Cast(value="unsigned char*") public BytePointer buf_ptr_max()
public AVIOContext buf_ptr_max(BytePointer setter)
@Cast(value="int64_t") public long bytes_read()
public AVIOContext bytes_read(long setter)
@Cast(value="int64_t") public long bytes_written()
public AVIOContext bytes_written(long setter)
Copyright © 2022. All rights reserved.