@Properties(inherit=avcodec.class) public class AVCodecParserContext extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
AV_PARSER_PTS_NB |
static int |
PARSER_FLAG_COMPLETE_FRAMES |
static int |
PARSER_FLAG_FETCHED_OFFSET
Set if the parser has a valid file offset
|
static int |
PARSER_FLAG_ONCE |
static int |
PARSER_FLAG_USE_CODEC_TS |
Constructor and Description |
---|
AVCodecParserContext()
Default native constructor.
|
AVCodecParserContext(long size)
Native array allocator.
|
AVCodecParserContext(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
coded_height() |
AVCodecParserContext |
coded_height(int setter) |
int |
coded_width()
Dimensions of the coded video.
|
AVCodecParserContext |
coded_width(int setter) |
long |
convergence_duration()
Deprecated.
unused
|
AVCodecParserContext |
convergence_duration(long setter) |
LongPointer |
cur_frame_dts() |
long |
cur_frame_dts(int i) |
AVCodecParserContext |
cur_frame_dts(int i,
long setter) |
LongPointer |
cur_frame_end() |
long |
cur_frame_end(int i) |
AVCodecParserContext |
cur_frame_end(int i,
long setter) |
LongPointer |
cur_frame_offset() |
long |
cur_frame_offset(int i) |
AVCodecParserContext |
cur_frame_offset(int i,
long setter) |
LongPointer |
cur_frame_pos() |
long |
cur_frame_pos(int i)
Position of the packet in file.
|
AVCodecParserContext |
cur_frame_pos(int i,
long setter) |
LongPointer |
cur_frame_pts() |
long |
cur_frame_pts(int i) |
AVCodecParserContext |
cur_frame_pts(int i,
long setter) |
int |
cur_frame_start_index() |
AVCodecParserContext |
cur_frame_start_index(int setter) |
long |
cur_offset() |
AVCodecParserContext |
cur_offset(long setter) |
int |
dts_ref_dts_delta()
Offset of the current timestamp against last timestamp sync point in
units of AVCodecContext.time_base.
|
AVCodecParserContext |
dts_ref_dts_delta(int setter) |
int |
dts_sync_point()
Synchronization point for start of timestamp generation.
|
AVCodecParserContext |
dts_sync_point(int setter) |
long |
dts() |
AVCodecParserContext |
dts(long setter) |
int |
duration()
Duration of the current frame.
|
AVCodecParserContext |
duration(int setter) |
int |
fetch_timestamp() |
AVCodecParserContext |
fetch_timestamp(int setter) |
int |
field_order() |
AVCodecParserContext |
field_order(int setter) |
int |
flags() |
AVCodecParserContext |
flags(int setter) |
int |
format()
The format of the coded data, corresponds to enum AVPixelFormat for video
and for enum AVSampleFormat for audio.
|
AVCodecParserContext |
format(int setter) |
long |
frame_offset() |
AVCodecParserContext |
frame_offset(long setter) |
int |
height() |
AVCodecParserContext |
height(int setter) |
int |
key_frame()
Set by parser to 1 for key frames and 0 for non-key frames.
|
AVCodecParserContext |
key_frame(int setter) |
long |
last_dts() |
AVCodecParserContext |
last_dts(long setter) |
long |
last_pos()
Previous frame byte position.
|
AVCodecParserContext |
last_pos(long setter) |
long |
last_pts() |
AVCodecParserContext |
last_pts(long setter) |
long |
next_frame_offset() |
AVCodecParserContext |
next_frame_offset(long setter) |
long |
offset()
byte offset from starting packet start
|
AVCodecParserContext |
offset(long setter) |
int |
output_picture_number()
Picture number incremented in presentation or output order.
|
AVCodecParserContext |
output_picture_number(int setter) |
AVCodecParser |
parser() |
AVCodecParserContext |
parser(AVCodecParser setter) |
int |
pict_type() |
AVCodecParserContext |
pict_type(int setter) |
int |
picture_structure()
Indicate whether a picture is coded as a frame, top field or bottom field.
|
AVCodecParserContext |
picture_structure(int setter) |
long |
pos()
Byte position of currently parsed frame in stream.
|
AVCodecParserContext |
pos(long setter) |
AVCodecParserContext |
position(long position) |
Pointer |
priv_data() |
AVCodecParserContext |
priv_data(Pointer setter) |
int |
pts_dts_delta()
Presentation delay of current frame in units of AVCodecContext.time_base.
|
AVCodecParserContext |
pts_dts_delta(int setter) |
long |
pts() |
AVCodecParserContext |
pts(long setter) |
int |
repeat_pict()
This field is used for proper frame duration computation in lavf.
|
AVCodecParserContext |
repeat_pict(int setter) |
int |
width()
Dimensions of the decoded video intended for presentation.
|
AVCodecParserContext |
width(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 static final int AV_PARSER_PTS_NB
public static final int PARSER_FLAG_COMPLETE_FRAMES
public static final int PARSER_FLAG_ONCE
public static final int PARSER_FLAG_FETCHED_OFFSET
public static final int PARSER_FLAG_USE_CODEC_TS
public AVCodecParserContext()
public AVCodecParserContext(long size)
Pointer.position(long)
.public AVCodecParserContext(Pointer p)
Pointer.Pointer(Pointer)
.public AVCodecParserContext position(long position)
public Pointer priv_data()
public AVCodecParserContext priv_data(Pointer setter)
public AVCodecParser parser()
public AVCodecParserContext parser(AVCodecParser setter)
public AVCodecParserContext frame_offset(long setter)
public AVCodecParserContext cur_offset(long setter)
public AVCodecParserContext next_frame_offset(long setter)
public int pict_type()
public AVCodecParserContext pict_type(int setter)
public int repeat_pict()
public AVCodecParserContext repeat_pict(int setter)
public AVCodecParserContext pts(long setter)
public AVCodecParserContext dts(long setter)
public AVCodecParserContext last_pts(long setter)
public AVCodecParserContext last_dts(long setter)
public int fetch_timestamp()
public AVCodecParserContext fetch_timestamp(int setter)
public int cur_frame_start_index()
public AVCodecParserContext cur_frame_start_index(int setter)
public AVCodecParserContext cur_frame_offset(int i, long setter)
@MemberGetter @Cast(value="int64_t*") public LongPointer cur_frame_offset()
public AVCodecParserContext cur_frame_pts(int i, long setter)
@MemberGetter @Cast(value="int64_t*") public LongPointer cur_frame_pts()
public AVCodecParserContext cur_frame_dts(int i, long setter)
@MemberGetter @Cast(value="int64_t*") public LongPointer cur_frame_dts()
public int flags()
public AVCodecParserContext flags(int setter)
public AVCodecParserContext offset(long setter)
public AVCodecParserContext cur_frame_end(int i, long setter)
@MemberGetter @Cast(value="int64_t*") public LongPointer cur_frame_end()
public int key_frame()
public AVCodecParserContext key_frame(int setter)
@Cast(value="int64_t") @Deprecated public long convergence_duration()
public AVCodecParserContext convergence_duration(long setter)
public int dts_sync_point()
public AVCodecParserContext dts_sync_point(int setter)
public int dts_ref_dts_delta()
public AVCodecParserContext dts_ref_dts_delta(int setter)
public int pts_dts_delta()
public AVCodecParserContext pts_dts_delta(int setter)
@Cast(value="int64_t") public long cur_frame_pos(int i)
public AVCodecParserContext cur_frame_pos(int i, long setter)
@MemberGetter @Cast(value="int64_t*") public LongPointer cur_frame_pos()
public AVCodecParserContext pos(long setter)
public AVCodecParserContext last_pos(long setter)
public int duration()
public AVCodecParserContext duration(int setter)
public AVCodecParserContext field_order(int setter)
@Cast(value="AVPictureStructure") public int picture_structure()
public AVCodecParserContext picture_structure(int setter)
public int output_picture_number()
public AVCodecParserContext output_picture_number(int setter)
public int width()
public AVCodecParserContext width(int setter)
public int height()
public AVCodecParserContext height(int setter)
public int coded_width()
public AVCodecParserContext coded_width(int setter)
public int coded_height()
public AVCodecParserContext coded_height(int setter)
public int format()
public AVCodecParserContext format(int setter)
Copyright © 2020. All rights reserved.