Commit 2b6ab3a2 authored by Diego Biurrun's avatar Diego Biurrun

mpegvideo: Move QUANT_BIAS_SHIFT define to the only place it is used

parent 06a1d132
......@@ -430,7 +430,7 @@ typedef struct MpegEncContext {
uint16_t chroma_intra_matrix[64];
uint16_t inter_matrix[64];
uint16_t chroma_inter_matrix[64];
#define QUANT_BIAS_SHIFT 8
int intra_quant_bias; ///< bias for the quantizer
int inter_quant_bias; ///< bias for the quantizer
int min_qcoeff; ///< minimum encodable coefficient
......
......@@ -58,6 +58,8 @@
#include "bytestream.h"
#include <limits.h>
#define QUANT_BIAS_SHIFT 8
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment