Browse Source

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

tags/n2.4
Diego Biurrun 11 years ago
parent
commit
d8520d3ee0
2 changed files with 3 additions and 3 deletions
  1. +0
    -3
      libavcodec/mpegvideo.h
  2. +3
    -0
      libavcodec/mpegvideo_enc.c

+ 0
- 3
libavcodec/mpegvideo.h 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



+ 3
- 0
libavcodec/mpegvideo_enc.c 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);


Loading…
Cancel
Save