Mercurial > libavcodec.hg
comparison dct-test.c @ 6001:f4859c13426b libavcodec
add ff_ prefix to all simple_idct symbols
author | aurel |
---|---|
date | Sat, 08 Dec 2007 21:21:11 +0000 |
parents | e9f8a337c5ce |
children | 7f9e2b5893fc |
comparison
equal
deleted
inserted
replaced
6000:791240825ac4 | 6001:f4859c13426b |
---|---|
89 DCT_ERROR("FAAN", 0, ff_faandct, fdct, FAAN_SCALE), | 89 DCT_ERROR("FAAN", 0, ff_faandct, fdct, FAAN_SCALE), |
90 DCT_ERROR("IJG-AAN-INT", 0, fdct_ifast, fdct, SCALE_PERM), | 90 DCT_ERROR("IJG-AAN-INT", 0, fdct_ifast, fdct, SCALE_PERM), |
91 DCT_ERROR("IJG-LLM-INT", 0, ff_jpeg_fdct_islow, fdct, NO_PERM), | 91 DCT_ERROR("IJG-LLM-INT", 0, ff_jpeg_fdct_islow, fdct, NO_PERM), |
92 DCT_ERROR("REF-DBL", 1, idct, idct, NO_PERM), | 92 DCT_ERROR("REF-DBL", 1, idct, idct, NO_PERM), |
93 DCT_ERROR("INT", 1, j_rev_dct, idct, MMX_PERM), | 93 DCT_ERROR("INT", 1, j_rev_dct, idct, MMX_PERM), |
94 DCT_ERROR("SIMPLE-C", 1, simple_idct, idct, NO_PERM), | 94 DCT_ERROR("SIMPLE-C", 1, ff_simple_idct, idct, NO_PERM), |
95 | 95 |
96 #ifdef HAVE_MMX | 96 #ifdef HAVE_MMX |
97 DCT_ERROR("MMX", 0, ff_fdct_mmx, fdct, NO_PERM), | 97 DCT_ERROR("MMX", 0, ff_fdct_mmx, fdct, NO_PERM), |
98 #ifdef HAVE_MMX2 | 98 #ifdef HAVE_MMX2 |
99 DCT_ERROR("MMX2", 0, ff_fdct_mmx2, fdct, NO_PERM), | 99 DCT_ERROR("MMX2", 0, ff_fdct_mmx2, fdct, NO_PERM), |
557 if(optind <argc) test= atoi(argv[optind]); | 557 if(optind <argc) test= atoi(argv[optind]); |
558 | 558 |
559 printf("ffmpeg DCT/IDCT test\n"); | 559 printf("ffmpeg DCT/IDCT test\n"); |
560 | 560 |
561 if (test_248_dct) { | 561 if (test_248_dct) { |
562 idct248_error("SIMPLE-C", simple_idct248_put); | 562 idct248_error("SIMPLE-C", ff_simple_idct248_put); |
563 } else { | 563 } else { |
564 for (i=0;algos[i].name;i++) | 564 for (i=0;algos[i].name;i++) |
565 if (algos[i].is_idct == test_idct) { | 565 if (algos[i].is_idct == test_idct) { |
566 dct_error (algos[i].name, algos[i].is_idct, algos[i].func, algos[i].ref, algos[i].format, test); | 566 dct_error (algos[i].name, algos[i].is_idct, algos[i].func, algos[i].ref, algos[i].format, test); |
567 } | 567 } |