#include <avcodec.h>
См. определение в файле avcodec.h строка 5108
◆ priv_data
void* AVCodecParserContext::priv_data |
◆ parser
◆ frame_offset
int64_t AVCodecParserContext::frame_offset |
◆ cur_offset
int64_t AVCodecParserContext::cur_offset |
◆ next_frame_offset
int64_t AVCodecParserContext::next_frame_offset |
◆ pict_type
int AVCodecParserContext::pict_type |
◆ repeat_pict
int AVCodecParserContext::repeat_pict |
This field is used for proper frame duration computation in lavf. It signals, how much longer the frame duration of the current frame is compared to normal frame duration.
frame_duration = (1 + repeat_pict) * time_base
It is used by codecs like H.264 to display telecined material.
См. определение в файле avcodec.h строка 5126
◆ pts
◆ dts
◆ last_pts
int64_t AVCodecParserContext::last_pts |
◆ last_dts
int64_t AVCodecParserContext::last_dts |
◆ fetch_timestamp
int AVCodecParserContext::fetch_timestamp |
◆ cur_frame_start_index
int AVCodecParserContext::cur_frame_start_index |
◆ cur_frame_offset
int64_t AVCodecParserContext::cur_frame_offset[AV_PARSER_PTS_NB] |
◆ cur_frame_pts
int64_t AVCodecParserContext::cur_frame_pts[AV_PARSER_PTS_NB] |
◆ cur_frame_dts
int64_t AVCodecParserContext::cur_frame_dts[AV_PARSER_PTS_NB] |
◆ flags
int AVCodecParserContext::flags |
◆ offset
int64_t AVCodecParserContext::offset |
byte offset from starting packet start
См. определение в файле avcodec.h строка 5148
◆ cur_frame_end
int64_t AVCodecParserContext::cur_frame_end[AV_PARSER_PTS_NB] |
◆ key_frame
int AVCodecParserContext::key_frame |
Set by parser to 1 for key frames and 0 for non-key frames. It is initialized to -1, so if the parser doesn't set this flag, old-style fallback using AV_PICTURE_TYPE_I picture type as key frames will be used.
См. определение в файле avcodec.h строка 5157
◆ convergence_duration
attribute_deprecated int64_t AVCodecParserContext::convergence_duration |
◆ dts_sync_point
int AVCodecParserContext::dts_sync_point |
Synchronization point for start of timestamp generation.
Set to >0 for sync point, 0 for no sync point and <0 for undefined (default).
For example, this corresponds to presence of H.264 buffering period SEI message.
См. определение в файле avcodec.h строка 5177
◆ dts_ref_dts_delta
int AVCodecParserContext::dts_ref_dts_delta |
Offset of the current timestamp against last timestamp sync point in units of AVCodecContext.time_base.
Set to INT_MIN when dts_sync_point unused. Otherwise, it must contain a valid timestamp offset.
Note that the timestamp of sync point has usually a nonzero dts_ref_dts_delta, which refers to the previous sync point. Offset of the next frame after timestamp sync point will be usually 1.
For example, this corresponds to H.264 cpb_removal_delay.
См. определение в файле avcodec.h строка 5192
◆ pts_dts_delta
int AVCodecParserContext::pts_dts_delta |
Presentation delay of current frame in units of AVCodecContext.time_base.
Set to INT_MIN when dts_sync_point unused. Otherwise, it must contain valid non-negative timestamp delta (presentation time of a frame must not lie in the past).
This delay represents the difference between decoding and presentation time of the frame.
For example, this corresponds to H.264 dpb_output_delay.
См. определение в файле avcodec.h строка 5206
◆ cur_frame_pos
int64_t AVCodecParserContext::cur_frame_pos[AV_PARSER_PTS_NB] |
Position of the packet in file.
Analogous to cur_frame_pts/dts
См. определение в файле avcodec.h строка 5213
◆ pos
Byte position of currently parsed frame in stream.
См. определение в файле avcodec.h строка 5218
◆ last_pos
int64_t AVCodecParserContext::last_pos |
Previous frame byte position.
См. определение в файле avcodec.h строка 5223
◆ duration
int AVCodecParserContext::duration |
◆ field_order
◆ picture_structure
Indicate whether a picture is coded as a frame, top field or bottom field.
For example, H.264 field_pic_flag equal to 0 corresponds to AV_PICTURE_STRUCTURE_FRAME. An H.264 picture with field_pic_flag equal to 1 and bottom_field_flag equal to 0 corresponds to AV_PICTURE_STRUCTURE_TOP_FIELD.
См. определение в файле avcodec.h строка 5242
◆ output_picture_number
int AVCodecParserContext::output_picture_number |
Picture number incremented in presentation or output order. This field may be reinitialized at the first picture of a new sequence.
For example, this corresponds to H.264 PicOrderCnt.
См. определение в файле avcodec.h строка 5250
◆ width
int AVCodecParserContext::width |
Dimensions of the decoded video intended for presentation.
См. определение в файле avcodec.h строка 5255
◆ height
int AVCodecParserContext::height |
◆ coded_width
int AVCodecParserContext::coded_width |
Dimensions of the coded video.
См. определение в файле avcodec.h строка 5261
◆ coded_height
int AVCodecParserContext::coded_height |
◆ format
int AVCodecParserContext::format |
The format of the coded data, corresponds to enum AVPixelFormat for video and for enum AVSampleFormat for audio.
Note that a decoder can have considerable freedom in how exactly it decodes the data, so the format reported here might be different from the one returned by a decoder.
См. определение в файле avcodec.h строка 5272
Объявления и описания членов структуры находятся в файле:
- C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavcodec/avcodec.h