]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dct-test.c
aacenc_tns: simplify encoding function
[ffmpeg] / libavcodec / dct-test.c
index 56e1a629a79897c0b5306e98b42014f60feea26f..e5ef837880d7cfacb02284936366bfbafd805f08 100644 (file)
@@ -82,6 +82,8 @@ static const struct algo idct_tab[] = {
     { "REF-DBL",     ff_ref_idct,          FF_IDCT_PERM_NONE },
     { "INT",         ff_j_rev_dct,         FF_IDCT_PERM_LIBMPEG2 },
     { "SIMPLE-C",    ff_simple_idct_8,     FF_IDCT_PERM_NONE },
+    { "SIMPLE-C10",  ff_simple_idct_10,    FF_IDCT_PERM_NONE },
+    { "SIMPLE-C12",  ff_simple_idct_12,    FF_IDCT_PERM_NONE, 0, 1 },
     { "PR-C",        ff_prores_idct_wrap,  FF_IDCT_PERM_NONE, 0, 1 },
 #if CONFIG_FAANIDCT
     { "FAANI",       ff_faanidct,          FF_IDCT_PERM_NONE },
@@ -245,8 +247,10 @@ static int dct_error(const struct algo *dct, int test, int is_idct, int speed, c
            omse, ome, (double) sysErrMax / NB_ITS,
            maxout, blockSumErrMax);
 
-    if (spec_err && !dct->nonspec)
+    if (spec_err && !dct->nonspec) {
+        printf("Failed!\n");
         return 1;
+    }
 
     if (!speed)
         return 0;