public static class avcodec.AVPacket extends Pointer
| Modifier and Type | Class and Description |
|---|---|
static class |
avcodec.AVPacket.Destruct_AVPacket |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
AVPacket()
Default native constructor.
|
AVPacket(int size)
Native array allocator.
|
AVPacket(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
avutil.AVBufferRef |
buf()
A reference to the reference-counted buffer where the packet data is
stored.
|
avcodec.AVPacket |
buf(avutil.AVBufferRef buf) |
long |
convergence_duration()
Time difference in AVStream->time_base units from the pts of this
packet to the point at which the output from the decoder has converged
independent from the availability of previous frames.
|
avcodec.AVPacket |
convergence_duration(long convergence_duration) |
BytePointer |
data() |
avcodec.AVPacket |
data(BytePointer data) |
avcodec.AVPacket.Destruct_AVPacket |
destruct() |
avcodec.AVPacket |
destruct(avcodec.AVPacket.Destruct_AVPacket destruct) |
long |
dts()
Decompression timestamp in AVStream->time_base units; the time at which
the packet is decompressed.
|
avcodec.AVPacket |
dts(long dts) |
int |
duration()
Duration of this packet in AVStream->time_base units, 0 if unknown.
|
avcodec.AVPacket |
duration(int duration) |
int |
flags()
A combination of AV_PKT_FLAG values
|
avcodec.AVPacket |
flags(int flags) |
long |
pos()
byte position in stream, -1 if unknown
|
avcodec.AVPacket |
pos(long pos) |
avcodec.AVPacket |
position(int position) |
Pointer |
priv()
Deprecated.
|
avcodec.AVPacket |
priv(Pointer priv) |
long |
pts()
Presentation timestamp in AVStream->time_base units; the time at which
the decompressed packet will be presented to the user.
|
avcodec.AVPacket |
pts(long pts) |
int |
side_data_elems() |
avcodec.AVPacket |
side_data_elems(int side_data_elems) |
avcodec.AVPacketSideData |
side_data()
Additional packet data that can be provided by the container.
|
avcodec.AVPacket |
side_data(avcodec.AVPacketSideData side_data) |
int |
size() |
avcodec.AVPacket |
size(int size) |
int |
stream_index() |
avcodec.AVPacket |
stream_index(int stream_index) |
address, asBuffer, asByteBuffer, capacity, capacity, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, hashCode, isNull, limit, limit, memchr, memcmp, memcpy, memmove, memset, offsetof, position, put, setNull, sizeof, toString, withDeallocator, zeropublic AVPacket()
public AVPacket(int size)
Pointer.position(int).public AVPacket(Pointer p)
Pointer.Pointer(Pointer).public avcodec.AVPacket position(int position)
public avutil.AVBufferRef buf()
public avcodec.AVPacket buf(avutil.AVBufferRef buf)
public long pts()
public avcodec.AVPacket pts(long pts)
public long dts()
public avcodec.AVPacket dts(long dts)
@Cast(value="uint8_t*") public BytePointer data()
public avcodec.AVPacket data(BytePointer data)
public int size()
public avcodec.AVPacket size(int size)
public int stream_index()
public avcodec.AVPacket stream_index(int stream_index)
public int flags()
public avcodec.AVPacket flags(int flags)
public avcodec.AVPacketSideData side_data()
public avcodec.AVPacket side_data(avcodec.AVPacketSideData side_data)
public int side_data_elems()
public avcodec.AVPacket side_data_elems(int side_data_elems)
public int duration()
public avcodec.AVPacket duration(int duration)
public avcodec.AVPacket.Destruct_AVPacket destruct()
public avcodec.AVPacket destruct(avcodec.AVPacket.Destruct_AVPacket destruct)
@Deprecated public Pointer priv()
public avcodec.AVPacket priv(Pointer priv)
public long pos()
public avcodec.AVPacket pos(long pos)
public long convergence_duration()
public avcodec.AVPacket convergence_duration(long convergence_duration)
Copyright © 2015. All Rights Reserved.