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 |
|---|
avcodec.AVPacket() |
avcodec.AVPacket(int size) |
avcodec.AVPacket(Pointer p) |
| 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) |
BytePointer |
side_data_data(int i)
Additional packet data that can be provided by the container.
|
avcodec.AVPacket |
side_data_data(int i,
BytePointer side_data_data) |
int |
side_data_elems() |
avcodec.AVPacket |
side_data_elems(int side_data_elems) |
int |
side_data_size(int i) |
avcodec.AVPacket |
side_data_size(int i,
int side_data_size) |
int |
side_data_type(int i) |
avcodec.AVPacket |
side_data_type(int i,
int side_data_type) |
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 avcodec.AVPacket()
public avcodec.AVPacket(int size)
public avcodec.AVPacket(Pointer p)
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)
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 BytePointer side_data_data(int i)
public avcodec.AVPacket side_data_data(int i, BytePointer side_data_data)
public int side_data_size(int i)
public avcodec.AVPacket side_data_size(int i, int side_data_size)
public int side_data_type(int i)
public avcodec.AVPacket side_data_type(int i, int side_data_type)
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 © 2014. All Rights Reserved.