mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-29 22:40:23 +00:00
mpegvideo: Move QMAT_SHIFT* defines to the only place they are used
This commit is contained in:
parent
4fbb62a21b
commit
d8520d3ee0
@ -60,9 +60,6 @@ enum OutputFormat {
|
|||||||
FMT_MJPEG,
|
FMT_MJPEG,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define QMAT_SHIFT_MMX 16
|
|
||||||
#define QMAT_SHIFT 22
|
|
||||||
|
|
||||||
#define MAX_FCODE 7
|
#define MAX_FCODE 7
|
||||||
#define MAX_MV 2048
|
#define MAX_MV 2048
|
||||||
|
|
||||||
|
@ -60,6 +60,9 @@
|
|||||||
|
|
||||||
#define QUANT_BIAS_SHIFT 8
|
#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 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 dct_quantize_refine(MpegEncContext *s, int16_t *block, int16_t *weight, int16_t *orig, int n, int qscale);
|
||||||
static int sse_mb(MpegEncContext *s);
|
static int sse_mb(MpegEncContext *s);
|
||||||
|
Loading…
Reference in New Issue
Block a user