]> granicus.if.org Git - libvpx/commitdiff
Remove unused vp9_short_idct10_32x32_add
authorJingning Han <jingning@google.com>
Thu, 1 Aug 2013 19:45:16 +0000 (12:45 -0700)
committerJingning Han <jingning@google.com>
Thu, 1 Aug 2013 19:45:16 +0000 (12:45 -0700)
The inverse 32x32 transform detects all zero entries and skips the
computations accordingly per 8 rows in the first 1-D operation. The
function vp9_short_idct10_32x32_add performs differently and is not
used anywhere, hence removed.

Change-Id: Ic4fad422debbde7b6b6ffed47c69fbd4268a906c

vp9/common/vp9_idct.c
vp9/common/vp9_rtcd_defs.sh

index 38fec3e47c6fb6508eb562f4849272cb7d2cc364..a2245259ea62e51f8083088975eb41755a9c328a 100644 (file)
@@ -1274,29 +1274,3 @@ void vp9_short_idct1_32x32_c(int16_t *input, int16_t *output) {
   out = dct_const_round_shift(out * cospi_16_64);
   output[0] = ROUND_POWER_OF_TWO(out, 6);
 }
-
-void vp9_short_idct10_32x32_add_c(int16_t *input, uint8_t *dest,
-                                  int dest_stride) {
-  int16_t out[32 * 32] = { 0 };
-  int16_t *outptr = out;
-  int i, j;
-  int16_t temp_in[32], temp_out[32];
-
-  // First transform rows. Since all non-zero dct coefficients are in
-  // upper-left 4x4 area, we only need to calculate first 4 rows here.
-  for (i = 0; i < 4; ++i) {
-    idct32_1d(input, outptr);
-    input += 32;
-    outptr += 32;
-  }
-
-  // Columns
-  for (i = 0; i < 32; ++i) {
-    for (j = 0; j < 32; ++j)
-      temp_in[j] = out[j * 32 + i];
-    idct32_1d(temp_in, temp_out);
-    for (j = 0; j < 32; ++j)
-      dest[j * dest_stride + i] = clip_pixel(ROUND_POWER_OF_TWO(temp_out[j], 6)
-                                  + dest[j * dest_stride + i]);
-  }
-}
index f004d1c59f825c28deae320d6377e64c6ab673ab..2a31ad7c26e034fa54573396ef230daa4e9c1fc2 100644 (file)
@@ -321,9 +321,6 @@ specialize vp9_short_idct32x32_add sse2
 prototype void vp9_short_idct1_32x32 "int16_t *input, int16_t *output"
 specialize vp9_short_idct1_32x32
 
-prototype void vp9_short_idct10_32x32_add "int16_t *input, uint8_t *dest, int dest_stride"
-specialize vp9_short_idct10_32x32_add
-
 prototype void vp9_short_iht4x4_add "int16_t *input, uint8_t *dest, int dest_stride, int tx_type"
 specialize vp9_short_iht4x4_add sse2