|
|
|
@ -1313,6 +1313,15 @@ typedef struct AVFrame { |
|
|
|
|
* - decoding: Read by user. |
|
|
|
|
*/ |
|
|
|
|
int64_t pkt_duration; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* metadata. |
|
|
|
|
* Code outside libavcodec should access this field using: |
|
|
|
|
* av_frame_get_metadata(frame) |
|
|
|
|
* - encoding: Set by user. |
|
|
|
|
* - decoding: Set by libavcodec. |
|
|
|
|
*/ |
|
|
|
|
AVDictionary *metadata; |
|
|
|
|
} AVFrame; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -1325,11 +1334,13 @@ int64_t av_frame_get_pkt_duration (const AVFrame *frame); |
|
|
|
|
int64_t av_frame_get_pkt_pos (const AVFrame *frame); |
|
|
|
|
int64_t av_frame_get_channel_layout (const AVFrame *frame); |
|
|
|
|
int av_frame_get_sample_rate (const AVFrame *frame); |
|
|
|
|
AVDictionary *av_frame_get_metadata (const AVFrame *frame); |
|
|
|
|
void av_frame_set_best_effort_timestamp(AVFrame *frame, int64_t val); |
|
|
|
|
void av_frame_set_pkt_duration (AVFrame *frame, int64_t val); |
|
|
|
|
void av_frame_set_pkt_pos (AVFrame *frame, int64_t val); |
|
|
|
|
void av_frame_set_channel_layout (AVFrame *frame, int64_t val); |
|
|
|
|
void av_frame_set_sample_rate (AVFrame *frame, int val); |
|
|
|
|
void av_frame_set_metadata (AVFrame *frame, AVDictionary *val); |
|
|
|
|
|
|
|
|
|
struct AVCodecInternal; |
|
|
|
|
|
|
|
|
|