comparison avcodec.h @ 1494:3ee63c12ea30 libavcodec

optionally try to encode each MB with MV=<0,0> and choose the one with better RD
author michaelni
date Thu, 02 Oct 2003 00:24:34 +0000
parents 3518325146fc
children b78a9ba6a568
comparison
equal deleted inserted replaced
1493:ad7e62df9962 1494:3ee63c12ea30
13 13
14 #include "common.h" 14 #include "common.h"
15 15
16 #define FFMPEG_VERSION_INT 0x000408 16 #define FFMPEG_VERSION_INT 0x000408
17 #define FFMPEG_VERSION "0.4.8" 17 #define FFMPEG_VERSION "0.4.8"
18 #define LIBAVCODEC_BUILD 4682 18 #define LIBAVCODEC_BUILD 4683
19 19
20 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT 20 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT
21 #define LIBAVCODEC_VERSION FFMPEG_VERSION 21 #define LIBAVCODEC_VERSION FFMPEG_VERSION
22 22
23 #define AV_STRINGIFY(s) AV_TOSTRING(s) 23 #define AV_STRINGIFY(s) AV_TOSTRING(s)
213 213
214 #define CODEC_FLAG_QSCALE 0x0002 ///< use fixed qscale 214 #define CODEC_FLAG_QSCALE 0x0002 ///< use fixed qscale
215 #define CODEC_FLAG_4MV 0x0004 ///< 4 MV per MB allowed 215 #define CODEC_FLAG_4MV 0x0004 ///< 4 MV per MB allowed
216 #define CODEC_FLAG_QPEL 0x0010 ///< use qpel MC 216 #define CODEC_FLAG_QPEL 0x0010 ///< use qpel MC
217 #define CODEC_FLAG_GMC 0x0020 ///< use GMC 217 #define CODEC_FLAG_GMC 0x0020 ///< use GMC
218 #define CODEC_FLAG_MV0 0x0040 ///< always try a MB with MV=<0,0>
218 #define CODEC_FLAG_PART 0x0080 ///< use data partitioning 219 #define CODEC_FLAG_PART 0x0080 ///< use data partitioning
219 /* parent program gurantees that the input for b-frame containing streams is not written to 220 /* parent program gurantees that the input for b-frame containing streams is not written to
220 for at least s->max_b_frames+1 frames, if this is not set than the input will be copied */ 221 for at least s->max_b_frames+1 frames, if this is not set than the input will be copied */
221 #define CODEC_FLAG_INPUT_PRESERVED 0x0100 222 #define CODEC_FLAG_INPUT_PRESERVED 0x0100
222 #define CODEC_FLAG_PASS1 0x0200 ///< use internal 2pass ratecontrol in first pass mode 223 #define CODEC_FLAG_PASS1 0x0200 ///< use internal 2pass ratecontrol in first pass mode