@Properties(inherit=avcodec.class) public class AVPacket extends Pointer
av_packet_ref
,
av_packet_unref
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
AVPacket()
Default native constructor.
|
AVPacket(long size)
Native array allocator.
|
AVPacket(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
AVBufferRef |
buf()
A reference to the reference-counted buffer where the packet data is
stored.
|
AVPacket |
buf(AVBufferRef setter) |
long |
convergence_duration()
Deprecated.
Same as the duration field, but as int64_t. This was required
for Matroska subtitles, whose duration values could overflow when the
duration field was still an int.
|
AVPacket |
convergence_duration(long setter) |
BytePointer |
data() |
AVPacket |
data(BytePointer setter) |
long |
dts()
Decompression timestamp in AVStream->time_base units; the time at which
the packet is decompressed.
|
AVPacket |
dts(long setter) |
long |
duration()
Duration of this packet in AVStream->time_base units, 0 if unknown.
|
AVPacket |
duration(long setter) |
int |
flags()
A combination of AV_PKT_FLAG values
|
AVPacket |
flags(int setter) |
long |
pos()
byte position in stream, -1 if unknown
|
AVPacket |
pos(long setter) |
AVPacket |
position(long position) |
long |
pts()
Presentation timestamp in AVStream->time_base units; the time at which
the decompressed packet will be presented to the user.
|
AVPacket |
pts(long setter) |
int |
side_data_elems() |
AVPacket |
side_data_elems(int setter) |
AVPacketSideData |
side_data()
Additional packet data that can be provided by the container.
|
AVPacket |
side_data(AVPacketSideData setter) |
int |
size() |
AVPacket |
size(int setter) |
int |
stream_index() |
AVPacket |
stream_index(int 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 AVPacket()
public AVPacket(long size)
Pointer.position(long)
.public AVPacket(Pointer p)
Pointer.Pointer(Pointer)
.public AVBufferRef buf()
public AVPacket buf(AVBufferRef setter)
@Cast(value="int64_t") public long pts()
public AVPacket pts(long setter)
@Cast(value="int64_t") public long dts()
public AVPacket dts(long setter)
@Cast(value="uint8_t*") public BytePointer data()
public AVPacket data(BytePointer setter)
public int size()
public AVPacket size(int setter)
public int stream_index()
public AVPacket stream_index(int setter)
public int flags()
public AVPacket flags(int setter)
public AVPacketSideData side_data()
public AVPacket side_data(AVPacketSideData setter)
public int side_data_elems()
public AVPacket side_data_elems(int setter)
@Cast(value="int64_t") public long duration()
public AVPacket duration(long setter)
public AVPacket pos(long setter)
@Cast(value="int64_t") @Deprecated public long convergence_duration()
public AVPacket convergence_duration(long setter)
Copyright © 2020. All rights reserved.