avcodec/internal: Move FF_DEFAULT_QUANT_BIAS to mpegvideoenc.h

Only used there.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2022-03-17 12:23:13 +01:00
parent 86c909558c
commit fa989df1c6
2 changed files with 2 additions and 3 deletions

View File

@ -35,8 +35,6 @@
#include "bsf.h"
#include "config.h"
#define FF_DEFAULT_QUANT_BIAS 999999
#define FF_QSCALE_TYPE_MPEG1 0
#define FF_QSCALE_TYPE_MPEG2 1
#define FF_QSCALE_TYPE_H264 2

View File

@ -29,7 +29,6 @@
#define AVCODEC_MPEGVIDEOENC_H
#include "libavutil/opt.h"
#include "internal.h"
#include "mpegvideo.h"
#define UNI_AC_ENC_INDEX(run,level) ((run)*128 + (level))
@ -42,6 +41,8 @@
#define FF_MPV_FLAG_NAQ 0x0010
#define FF_MPV_FLAG_MV0 0x0020
#define FF_DEFAULT_QUANT_BIAS 999999
#define FF_MPV_OPT_CMP_FUNC \
{ "sad", "Sum of absolute differences, fast", 0, AV_OPT_TYPE_CONST, {.i64 = FF_CMP_SAD }, INT_MIN, INT_MAX, FF_MPV_OPT_FLAGS, "cmp_func" }, \
{ "sse", "Sum of squared errors", 0, AV_OPT_TYPE_CONST, {.i64 = FF_CMP_SSE }, INT_MIN, INT_MAX, FF_MPV_OPT_FLAGS, "cmp_func" }, \