comparison avcodec.h @ 336:c56b45669214 libavcodec

export delay info fixed low_delay & vo_type on mpeg4 header writer & parser
author michaelni
date Mon, 22 Apr 2002 19:04:28 +0000
parents 5cc47d0ba53e
children bf26081c373c
comparison
equal deleted inserted replaced
335:e7e9d9901523 336:c56b45669214
3 3
4 #include "common.h" 4 #include "common.h"
5 5
6 #define LIBAVCODEC_VERSION_INT 0x000406 6 #define LIBAVCODEC_VERSION_INT 0x000406
7 #define LIBAVCODEC_VERSION "0.4.6" 7 #define LIBAVCODEC_VERSION "0.4.6"
8 #define LIBAVCODEC_BUILD 4601 8 #define LIBAVCODEC_BUILD 4602
9 #define LIBAVCODEC_BUILD_STR "4601" 9 #define LIBAVCODEC_BUILD_STR "4602"
10 10
11 enum CodecID { 11 enum CodecID {
12 CODEC_ID_NONE, 12 CODEC_ID_NONE,
13 CODEC_ID_MPEG1VIDEO, 13 CODEC_ID_MPEG1VIDEO,
14 CODEC_ID_H263, 14 CODEC_ID_H263,
138 /* the following data should not be initialized */ 138 /* the following data should not be initialized */
139 int frame_size; /* in samples, initialized when calling 'init' */ 139 int frame_size; /* in samples, initialized when calling 'init' */
140 int frame_number; /* audio or video frame number */ 140 int frame_number; /* audio or video frame number */
141 int key_frame; /* true if the previous compressed frame was 141 int key_frame; /* true if the previous compressed frame was
142 a key frame (intra, or seekable) */ 142 a key frame (intra, or seekable) */
143 int delay; /* number of frames the decoded output will be delayed relative to the encoded input */
144
145 /* encoding parameters */
143 int quality; /* quality of the previous encoded frame 146 int quality; /* quality of the previous encoded frame
144 (between 1 (good) and 31 (bad)) 147 (between 1 (good) and 31 (bad))
145 this is allso used to set the quality in vbr mode 148 this is allso used to set the quality in vbr mode
146 and the per frame quality in CODEC_FLAG_TYPE (second pass mode) */ 149 and the per frame quality in CODEC_FLAG_TYPE (second pass mode) */
147 float qcompress; /* amount of qscale change between easy & hard scenes (0.0-1.0)*/ 150 float qcompress; /* amount of qscale change between easy & hard scenes (0.0-1.0)*/