comparison mpegvideo.c @ 1264:2fa34e615c76 libavcodec

cleanup
author michaelni
date Wed, 14 May 2003 23:08:01 +0000
parents fc2a7eefa9cc
children a979fab41ed8
comparison
equal deleted inserted replaced
1263:9fce515e9894 1264:2fa34e615c76
4103 } 4103 }
4104 } 4104 }
4105 } 4105 }
4106 4106
4107 4107
4108 char ff_get_pict_type_char(int pict_type){
4109 switch(pict_type){
4110 case I_TYPE: return 'I';
4111 case P_TYPE: return 'P';
4112 case B_TYPE: return 'B';
4113 case S_TYPE: return 'S';
4114 case SI_TYPE:return 'i';
4115 case SP_TYPE:return 'p';
4116 default: return '?';
4117 }
4118 }
4119
4120 static const AVOption mpeg4_options[] = 4108 static const AVOption mpeg4_options[] =
4121 { 4109 {
4122 AVOPTION_CODEC_INT("bitrate", "desired video bitrate", bit_rate, 4, 240000000, 800000), 4110 AVOPTION_CODEC_INT("bitrate", "desired video bitrate", bit_rate, 4, 240000000, 800000),
4123 AVOPTION_CODEC_FLAG("vhq", "very high quality", flags, CODEC_FLAG_HQ, 0), 4111 AVOPTION_CODEC_FLAG("vhq", "very high quality", flags, CODEC_FLAG_HQ, 0),
4124 AVOPTION_CODEC_INT("ratetol", "number of bits the bitstream is allowed to diverge from the reference" 4112 AVOPTION_CODEC_INT("ratetol", "number of bits the bitstream is allowed to diverge from the reference"