aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dct-test.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-03-31 09:32:59 +0000
committerDiego Biurrun <diego@biurrun.de>2009-03-31 09:32:59 +0000
commit504ffed19f990f91237479be93480d9b597561e2 (patch)
tree0112de10541e64bca39496011f62f0284ee87470 /libavcodec/dct-test.c
parentcafe71c62d87955172dd6d8fcb277988f00e92e2 (diff)
downloadffmpeg-504ffed19f990f91237479be93480d9b597561e2.tar.gz
Mark non-exported functions in test and example programs as static.
Originally committed as revision 18259 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dct-test.c')
-rw-r--r--libavcodec/dct-test.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index f3daf17aec..b9c0ff42ec 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -150,7 +150,7 @@ struct algo algos[] = {
uint8_t cropTbl[256 + 2 * MAX_NEG_CROP];
-int64_t gettime(void)
+static int64_t gettime(void)
{
struct timeval tv;
gettimeofday(&tv,NULL);
@@ -175,7 +175,7 @@ static short idct_simple_mmx_perm[64]={
static const uint8_t idct_sse2_row_perm[8] = {0, 4, 1, 5, 2, 6, 3, 7};
-void idct_mmx_init(void)
+static void idct_mmx_init(void)
{
int i;
@@ -198,7 +198,7 @@ static inline void mmx_emms(void)
#endif
}
-void dct_error(const char *name, int is_idct,
+static void dct_error(const char *name, int is_idct,
void (*fdct_func)(DCTELEM *block),
void (*fdct_ref)(DCTELEM *block), int form, int test)
{
@@ -387,7 +387,7 @@ void dct_error(const char *name, int is_idct,
static uint8_t img_dest[64] __attribute__ ((aligned (8)));
static uint8_t img_dest1[64] __attribute__ ((aligned (8)));
-void idct248_ref(uint8_t *dest, int linesize, int16_t *block)
+static void idct248_ref(uint8_t *dest, int linesize, int16_t *block)
{
static int init;
static double c8[8][8];
@@ -467,7 +467,7 @@ void idct248_ref(uint8_t *dest, int linesize, int16_t *block)
}
}
-void idct248_error(const char *name,
+static void idct248_error(const char *name,
void (*idct248_put)(uint8_t *dest, int line_size, int16_t *block))
{
int it, i, it1, ti, ti1, err_max, v;
@@ -545,7 +545,7 @@ void idct248_error(const char *name,
name, (double)it1 * 1000.0 / (double)ti1);
}
-void help(void)
+static void help(void)
{
printf("dct-test [-i] [<test-number>]\n"
"test-number 0 -> test with random matrixes\n"