Mercurial > libavcodec.hg
diff avcodec.h @ 4158:47d1b5261f17 libavcodec
add option to set mpeg1/2 gop timecode start, and drop frame flag timecode flag
author | bcoudurier |
---|---|
date | Tue, 07 Nov 2006 13:45:08 +0000 |
parents | 74c8b204ab1c |
children | 1e8621844040 |
line wrap: on
line diff
--- a/avcodec.h Tue Nov 07 12:45:29 2006 +0000 +++ b/avcodec.h Tue Nov 07 13:45:08 2006 +0000 @@ -370,6 +370,7 @@ #define CODEC_FLAG2_BRDO 0x00000400 ///< b-frame rate-distortion optimization #define CODEC_FLAG2_INTRA_VLC 0x00000800 ///< use MPEG-2 intra VLC table #define CODEC_FLAG2_MEMC_ONLY 0x00001000 ///< only do ME/MC (I frames -> ref, P frame -> ME+MC) +#define CODEC_FLAG2_DROP_FRAME_TIMECODE 0x00002000 ///< timecode is in drop frame format /* Unsupported options : * Syntax Arithmetic coding (SAC) @@ -2057,6 +2058,13 @@ * - decoding: unused. */ int max_partition_order; + + /** + * GOP timecode frame start number, in non drop frame format + * - encoding: set by user. + * - decoding: unused. + */ + int64_t timecode_frame_start; } AVCodecContext; /**