mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +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,
|
||||
};
|
||||
|
||||
#define QMAT_SHIFT_MMX 16
|
||||
#define QMAT_SHIFT 22
|
||||
|
||||
#define MAX_FCODE 7
|
||||
#define MAX_MV 2048
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user