mpegvideo: Move QMAT_SHIFT* defines to the only place they are used

This commit is contained in:
Diego Biurrun 2014-07-23 13:53:54 -07:00
parent 4fbb62a21b
commit d8520d3ee0
2 changed files with 3 additions and 3 deletions

View File

@ -60,9 +60,6 @@ enum OutputFormat {
FMT_MJPEG,
};
#define QMAT_SHIFT_MMX 16
#define QMAT_SHIFT 22
#define MAX_FCODE 7
#define MAX_MV 2048

View File

@ -60,6 +60,9 @@
#define QUANT_BIAS_SHIFT 8
#define QMAT_SHIFT_MMX 16
#define QMAT_SHIFT 22
static int encode_picture(MpegEncContext *s, int picture_number);
static int dct_quantize_refine(MpegEncContext *s, int16_t *block, int16_t *weight, int16_t *orig, int n, int qscale);
static int sse_mb(MpegEncContext *s);