mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-09 14:14:39 +02:00
get rid of CODEC_FLAG_H263P_AIC with next major bump
Originally committed as revision 8167 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
abd6a4fc53
commit
6b936ec662
@ -355,7 +355,9 @@ typedef struct RcOverride{
|
|||||||
#define CODEC_FLAG_GLOBAL_HEADER 0x00400000 ///< place global headers in extradata instead of every keyframe
|
#define CODEC_FLAG_GLOBAL_HEADER 0x00400000 ///< place global headers in extradata instead of every keyframe
|
||||||
#define CODEC_FLAG_BITEXACT 0x00800000 ///< use only bitexact stuff (except (i)dct)
|
#define CODEC_FLAG_BITEXACT 0x00800000 ///< use only bitexact stuff (except (i)dct)
|
||||||
/* Fx : Flag for h263+ extra options */
|
/* Fx : Flag for h263+ extra options */
|
||||||
|
#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
|
||||||
#define CODEC_FLAG_H263P_AIC 0x01000000 ///< H263 Advanced intra coding / MPEG4 AC prediction (remove this)
|
#define CODEC_FLAG_H263P_AIC 0x01000000 ///< H263 Advanced intra coding / MPEG4 AC prediction (remove this)
|
||||||
|
#endif
|
||||||
#define CODEC_FLAG_AC_PRED 0x01000000 ///< H263 Advanced intra coding / MPEG4 AC prediction
|
#define CODEC_FLAG_AC_PRED 0x01000000 ///< H263 Advanced intra coding / MPEG4 AC prediction
|
||||||
#define CODEC_FLAG_H263P_UMV 0x02000000 ///< Unlimited motion vector
|
#define CODEC_FLAG_H263P_UMV 0x02000000 ///< Unlimited motion vector
|
||||||
#define CODEC_FLAG_CBP_RD 0x04000000 ///< use rate distortion optimization for cbp
|
#define CODEC_FLAG_CBP_RD 0x04000000 ///< use rate distortion optimization for cbp
|
||||||
|
@ -1233,7 +1233,7 @@ int MPV_encode_init(AVCodecContext *avctx)
|
|||||||
s->h263_plus = 1;
|
s->h263_plus = 1;
|
||||||
/* Fx */
|
/* Fx */
|
||||||
s->umvplus = (avctx->flags & CODEC_FLAG_H263P_UMV) ? 1:0;
|
s->umvplus = (avctx->flags & CODEC_FLAG_H263P_UMV) ? 1:0;
|
||||||
s->h263_aic= (avctx->flags & CODEC_FLAG_H263P_AIC) ? 1:0;
|
s->h263_aic= (avctx->flags & CODEC_FLAG_AC_PRED) ? 1:0;
|
||||||
s->modified_quant= s->h263_aic;
|
s->modified_quant= s->h263_aic;
|
||||||
s->alt_inter_vlc= (avctx->flags & CODEC_FLAG_H263P_AIV) ? 1:0;
|
s->alt_inter_vlc= (avctx->flags & CODEC_FLAG_H263P_AIV) ? 1:0;
|
||||||
s->obmc= (avctx->flags & CODEC_FLAG_OBMC) ? 1:0;
|
s->obmc= (avctx->flags & CODEC_FLAG_OBMC) ? 1:0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user