comparison mpegvideo.h @ 71:79be2c581c01 libavcodec

changed opendivx to mpeg4
author glantau
date Wed, 15 Aug 2001 13:12:23 +0000
parents 5aa6292a1660
children 82e579c37bc3
comparison
equal deleted inserted replaced
70:c7767df463f4 71:79be2c581c01
29 }; 29 };
30 30
31 #define MPEG_BUF_SIZE (16 * 1024) 31 #define MPEG_BUF_SIZE (16 * 1024)
32 32
33 typedef struct MpegEncContext { 33 typedef struct MpegEncContext {
34 struct AVCodecContext *avctx;
34 /* the following parameters must be initialized before encoding */ 35 /* the following parameters must be initialized before encoding */
35 int width, height; /* picture size. must be a multiple of 16 */ 36 int width, height; /* picture size. must be a multiple of 16 */
36 int gop_size; 37 int gop_size;
37 int frame_rate; /* number of frames per second */ 38 int frame_rate; /* number of frames per second */
38 int intra_only; /* if true, only intra pictures are generated */ 39 int intra_only; /* if true, only intra pictures are generated */
39 int bit_rate; /* wanted bit rate */ 40 int bit_rate; /* wanted bit rate */
40 enum OutputFormat out_format; /* output format */ 41 enum OutputFormat out_format; /* output format */
41 int h263_plus; /* h263 plus headers */ 42 int h263_plus; /* h263 plus headers */
42 int h263_rv10; /* use RV10 variation for H263 */ 43 int h263_rv10; /* use RV10 variation for H263 */
43 int h263_pred; /* use OpenDIVX (aka mpeg4) ac/dc predictions */ 44 int h263_pred; /* use mpeg4/h263 ac/dc predictions */
44 int h263_msmpeg4; /* generate MSMPEG4 compatible stream */ 45 int h263_msmpeg4; /* generate MSMPEG4 compatible stream */
45 int h263_intel; /* use I263 intel h263 header */ 46 int h263_intel; /* use I263 intel h263 header */
46 int fixed_qscale; /* fixed qscale if non zero */ 47 int fixed_qscale; /* fixed qscale if non zero */
47 int encoding; /* true if we are encoding (vs decoding) */ 48 int encoding; /* true if we are encoding (vs decoding) */
48 /* the following fields are managed internally by the encoder */ 49 /* the following fields are managed internally by the encoder */