From 910247f1720c6aae422723c05dac6d0b19f20bec Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Thu, 2 Jul 2015 12:14:22 +0100 Subject: lavc: Deprecate avctx.{inter,intra}_quant_bias They are used by dnxhd and mpegvideo_enc exclusively, move them to codec private options instead. Signed-off-by: Vittorio Giovara --- libavcodec/avcodec.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'libavcodec/avcodec.h') diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 7191e8b538..08f50a1f0c 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1563,20 +1563,18 @@ typedef struct AVCodecContext { */ int me_range; +#if FF_API_QUANT_BIAS /** - * intra quantizer bias - * - encoding: Set by user. - * - decoding: unused + * @deprecated use encoder private option instead */ - int intra_quant_bias; + attribute_deprecated int intra_quant_bias; #define FF_DEFAULT_QUANT_BIAS 999999 /** - * inter quantizer bias - * - encoding: Set by user. - * - decoding: unused + * @deprecated use encoder private option instead */ - int inter_quant_bias; + attribute_deprecated int inter_quant_bias; +#endif /** * slice flags -- cgit v1.2.1