Make denoise_dct_c and dct_quantize_trellis_c static.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 1d4da6a460)
oldabi
Diego Elio Pettenò 14 years ago committed by Michael Niedermayer
parent 291f326a2e
commit 295edc7794
  1. 2
      libavcodec/mpegvideo_common.h
  2. 2
      libavcodec/mpegvideo_enc.c

@ -40,8 +40,6 @@
#include <limits.h>
int dct_quantize_c(MpegEncContext *s, DCTELEM *block, int n, int qscale, int *overflow);
int dct_quantize_trellis_c(MpegEncContext *s, DCTELEM *block, int n, int qscale, int *overflow);
void denoise_dct_c(MpegEncContext *s, DCTELEM *block);
/**
* allocates a Picture

@ -48,6 +48,8 @@
static int encode_picture(MpegEncContext *s, int picture_number);
static int dct_quantize_refine(MpegEncContext *s, DCTELEM *block, int16_t *weight, DCTELEM *orig, int n, int qscale);
static int sse_mb(MpegEncContext *s);
static void denoise_dct_c(MpegEncContext *s, DCTELEM *block);
static int dct_quantize_trellis_c(MpegEncContext *s, DCTELEM *block, int n, int qscale, int *overflow);
/* enable all paranoid tests for rounding, overflows, etc... */
//#define PARANOID

Loading…
Cancel
Save