public static class avcodec.AVPacket extends Pointer
av_packet_ref,
av_packet_unrefPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
avcodec.AVPacket()
Default native constructor.
|
avcodec.AVPacket(long size)
Native array allocator.
|
avcodec.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()
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.
|
avcodec.AVPacket |
convergence_duration(long convergence_duration) |
BytePointer |
data() |
avcodec.AVPacket |
data(BytePointer data) |
long |
dts()
Decompression timestamp in AVStream->time_base units; the time at which
the packet is decompressed.
|
avcodec.AVPacket |
dts(long dts) |
long |
duration()
Duration of this packet in AVStream->time_base units, 0 if unknown.
|
avcodec.AVPacket |
duration(long 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(long position) |
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, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, withDeallocator, zeropublic avcodec.AVPacket()
public avcodec.AVPacket(long size)
Pointer.position(long).public avcodec.AVPacket(Pointer p)
Pointer.Pointer(Pointer).public avcodec.AVPacket position(long position)
public avutil.AVBufferRef buf()
public avcodec.AVPacket buf(avutil.AVBufferRef buf)
@Cast(value="int64_t") public long pts()
public avcodec.AVPacket pts(long pts)
@Cast(value="int64_t") 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)
@Cast(value="int64_t") public long duration()
public avcodec.AVPacket duration(long duration)
public avcodec.AVPacket pos(long pos)
@Cast(value="int64_t") @Deprecated public long convergence_duration()
public avcodec.AVPacket convergence_duration(long convergence_duration)
Copyright © 2016. All rights reserved.