diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-12-26 03:35:54 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-12-26 04:10:47 +0100 |
commit | 484e59a0a0329c4005ddacd05051925345f4362f (patch) | |
tree | e5521f4eb5095df300545bb30694d1e3427115c9 /libavcodec/avcodec.h | |
parent | c48f67f06ec3b887626b5938987d2a46bd52cf77 (diff) | |
parent | 80dc7c0160fb27e46fc0caae8af10b3d63730c7c (diff) | |
download | ffmpeg-484e59a0a0329c4005ddacd05051925345f4362f.tar.gz |
Merge remote-tracking branch 'qatar/master'
* qatar/master:
avs: call release_buffer() at the end.
Add minor bumps and APIchanges entries for lavc/lavfi changes.
mpegvideo.c: K&R formatting and cosmetics.
avconv: avoid memcpy in vsrc_buffer when possible.
avconv: implement get_buffer()/release_buffer().
lavfi: add a new function av_buffersrc_buffer().
lavfi: add avfilter_copy_frame_props()
lavc: add format field to AVFrame
lavc: add width and height fields to AVFrame
lavc: add a sample_aspect_ratio field to AVFrame
doxy: add website-alike style to the html output
FAQ: add an entry for common error when using -profile
Conflicts:
avconv.c
cmdutils.c
doc/APIchanges
libavcodec/avcodec.h
libavcodec/mpegvideo.c
libavcodec/utils.c
libavcodec/version.h
libavfilter/Makefile
libavfilter/avfilter.c
libavfilter/avfilter.h
libavfilter/src_movie.c
libavfilter/vsrc_buffer.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 38 |
1 files changed, 16 insertions, 22 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index e476538ecb..690ea385ee 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1285,51 +1285,45 @@ typedef struct AVFrame { uint8_t **extended_data; /** - * frame timestamp estimated using various heuristics, in stream time base - * Code outside libavcodec should access this field using: - * av_opt_ptr(avcodec_get_frame_class(), frame, "best_effort_timestamp"); + * sample aspect ratio for the video frame, 0/1 if unknown\unspecified * - encoding: unused - * - decoding: set by libavcodec, read by user. + * - decoding: Read by user. */ - int64_t best_effort_timestamp; + AVRational sample_aspect_ratio; /** - * reordered pos from the last AVPacket that has been input into the decoder - * Code outside libavcodec should access this field using: - * av_opt_ptr(avcodec_get_frame_class(), frame, "pkt_pos"); + * width and height of the video frame * - encoding: unused * - decoding: Read by user. */ - int64_t pkt_pos; + int width, height; /** - * reordered sample aspect ratio for the video frame, 0/1 if unknown\unspecified - * Code outside libavcodec should access this field using: - * av_opt_ptr(avcodec_get_frame_class(), frame, "sample_aspect_ratio"); + * format of the frame, -1 if unknown or unset + * Values correspond to enum PixelFormat for video frames, + * enum AVSampleFormat for audio) * - encoding: unused * - decoding: Read by user. */ - AVRational sample_aspect_ratio; + int format; /** - * width and height of the video frame + * frame timestamp estimated using various heuristics, in stream time base * Code outside libavcodec should access this field using: - * av_opt_ptr(avcodec_get_frame_class(), frame, "width"); + * av_opt_ptr(avcodec_get_frame_class(), frame, "best_effort_timestamp"); * - encoding: unused - * - decoding: Read by user. + * - decoding: set by libavcodec, read by user. */ - int width, height; + int64_t best_effort_timestamp; /** - * format of the frame, -1 if unknown or unset - * It should be cast to the corresponding enum (enum PixelFormat - * for video, enum AVSampleFormat for audio) + * reordered pos from the last AVPacket that has been input into the decoder * Code outside libavcodec should access this field using: - * av_opt_ptr(avcodec_get_frame_class(), frame, "format"); + * av_opt_ptr(avcodec_get_frame_class(), frame, "pkt_pos"); * - encoding: unused * - decoding: Read by user. */ - int format; + int64_t pkt_pos; } AVFrame; |