comparison avcodec.h @ 1389:da0b3a50d209 libavcodec

rate distortion mb decision support fix decoding of old %16!=0 divx fix assertion failure in motion_est.c
author michaelni
date Tue, 29 Jul 2003 02:09:12 +0000
parents a16990d50fce
children f662e9c86cf2
comparison
equal deleted inserted replaced
1388:b5c65adac96a 1389:da0b3a50d209
13 13
14 #include "common.h" 14 #include "common.h"
15 15
16 #define LIBAVCODEC_VERSION_INT 0x000406 16 #define LIBAVCODEC_VERSION_INT 0x000406
17 #define LIBAVCODEC_VERSION "0.4.6" 17 #define LIBAVCODEC_VERSION "0.4.6"
18 #define LIBAVCODEC_BUILD 4672 18 #define LIBAVCODEC_BUILD 4673
19 #define LIBAVCODEC_BUILD_STR "4672" 19 #define LIBAVCODEC_BUILD_STR "4673"
20 20
21 #define LIBAVCODEC_IDENT "FFmpeg" LIBAVCODEC_VERSION "b" LIBAVCODEC_BUILD_STR 21 #define LIBAVCODEC_IDENT "FFmpeg" LIBAVCODEC_VERSION "b" LIBAVCODEC_BUILD_STR
22 22
23 enum CodecID { 23 enum CodecID {
24 CODEC_ID_NONE, 24 CODEC_ID_NONE,
167 /* encoding support 167 /* encoding support
168 these flags can be passed in AVCodecContext.flags before initing 168 these flags can be passed in AVCodecContext.flags before initing
169 Note: note not everything is supported yet 169 Note: note not everything is supported yet
170 */ 170 */
171 171
172 #define CODEC_FLAG_HQ 0x0001 ///< brute force MB-type decission mode (slow)
173 #define CODEC_FLAG_QSCALE 0x0002 ///< use fixed qscale 172 #define CODEC_FLAG_QSCALE 0x0002 ///< use fixed qscale
174 #define CODEC_FLAG_4MV 0x0004 ///< 4 MV per MB allowed 173 #define CODEC_FLAG_4MV 0x0004 ///< 4 MV per MB allowed
175 #define CODEC_FLAG_QPEL 0x0010 ///< use qpel MC 174 #define CODEC_FLAG_QPEL 0x0010 ///< use qpel MC
176 #define CODEC_FLAG_GMC 0x0020 ///< use GMC 175 #define CODEC_FLAG_GMC 0x0020 ///< use GMC
177 #define CODEC_FLAG_PART 0x0080 ///< use data partitioning 176 #define CODEC_FLAG_PART 0x0080 ///< use data partitioning
1171 * XVideo Motion Acceleration 1170 * XVideo Motion Acceleration
1172 * - encoding: forbidden 1171 * - encoding: forbidden
1173 * - decoding: set by decoder 1172 * - decoding: set by decoder
1174 */ 1173 */
1175 int xvmc_acceleration; 1174 int xvmc_acceleration;
1176 1175
1176 /**
1177 * macroblock decision mode
1178 * - encoding: set by user.
1179 * - decoding: unused
1180 */
1181 int mb_decision;
1182 #define FF_MB_DECISION_SIMPLE 0 ///< uses mb_cmp
1183 #define FF_MB_DECISION_BITS 1 ///< chooses the one which needs the fewest bits
1184 #define FF_MB_DECISION_RD 2 ///< rate distoration
1185
1177 } AVCodecContext; 1186 } AVCodecContext;
1178 1187
1179 1188
1180 /** 1189 /**
1181 * AVOption. 1190 * AVOption.