Mercurial > libavcodec.hg
comparison mpegvideo.h @ 1687:cdc3d4106fb6 libavcodec
cleanup
author | michael |
---|---|
date | Sat, 13 Dec 2003 20:41:33 +0000 |
parents | 19e781619e3f |
children | 1a2db2073848 |
comparison
equal
deleted
inserted
replaced
1686:68abbec33289 | 1687:cdc3d4106fb6 |
---|---|
234 /* the following parameters must be initialized before encoding */ | 234 /* the following parameters must be initialized before encoding */ |
235 int width, height;///< picture size. must be a multiple of 16 | 235 int width, height;///< picture size. must be a multiple of 16 |
236 int gop_size; | 236 int gop_size; |
237 int intra_only; ///< if true, only intra pictures are generated | 237 int intra_only; ///< if true, only intra pictures are generated |
238 int bit_rate; ///< wanted bit rate | 238 int bit_rate; ///< wanted bit rate |
239 int bit_rate_tolerance; ///< amount of +- bits (>0) | |
240 enum OutputFormat out_format; ///< output format | 239 enum OutputFormat out_format; ///< output format |
241 int h263_pred; ///< use mpeg4/h263 ac/dc predictions | 240 int h263_pred; ///< use mpeg4/h263 ac/dc predictions |
242 | 241 |
243 /* the following codec id fields are deprecated in favor of codec_id */ | 242 /* the following codec id fields are deprecated in favor of codec_id */ |
244 int h263_plus; ///< h263 plus headers | 243 int h263_plus; ///< h263 plus headers |
245 int h263_msmpeg4; ///< generate MSMPEG4 compatible stream (deprecated, use msmpeg4_version instead) | 244 int h263_msmpeg4; ///< generate MSMPEG4 compatible stream (deprecated, use msmpeg4_version instead) |
246 int h263_intel; ///< use I263 intel h263 header | |
247 int h263_flv; ///< use flv h263 header | 245 int h263_flv; ///< use flv h263 header |
248 | 246 |
249 int codec_id; /* see CODEC_ID_xxx */ | 247 int codec_id; /* see CODEC_ID_xxx */ |
250 int fixed_qscale; ///< fixed qscale if non zero | 248 int fixed_qscale; ///< fixed qscale if non zero |
251 float qcompress; ///< amount of qscale change between easy & hard scenes (0.0-1.0) | |
252 float qblur; ///< amount of qscale smoothing over time (0.0-1.0) | |
253 int max_qdiff; ///< max qscale difference between frames | |
254 int encoding; ///< true if we are encoding (vs decoding) | 249 int encoding; ///< true if we are encoding (vs decoding) |
255 int flags; ///< AVCodecContext.flags (HQ, MV4, ...) | 250 int flags; ///< AVCodecContext.flags (HQ, MV4, ...) |
256 int max_b_frames; ///< max number of b-frames for encoding | 251 int max_b_frames; ///< max number of b-frames for encoding |
257 int b_frame_strategy; | |
258 int luma_elim_threshold; | 252 int luma_elim_threshold; |
259 int chroma_elim_threshold; | 253 int chroma_elim_threshold; |
260 int strict_std_compliance; ///< strictly follow the std (MPEG4, ...) | 254 int strict_std_compliance; ///< strictly follow the std (MPEG4, ...) |
261 int workaround_bugs; ///< workaround bugs in encoders which cannot be detected automatically | 255 int workaround_bugs; ///< workaround bugs in encoders which cannot be detected automatically |
262 /* the following fields are managed internally by the encoder */ | 256 /* the following fields are managed internally by the encoder */ |