]> granicus.if.org Git - libvpx/commitdiff
Remove unnecessary buffer copy in idct4x4.
authorhkuang <hkuang@google.com>
Wed, 17 Jul 2013 21:18:59 +0000 (14:18 -0700)
committerhkuang <hkuang@google.com>
Wed, 17 Jul 2013 21:20:56 +0000 (14:20 -0700)
Change-Id: I386066b9bcfb4bffb582e6827af36ca0181f6a83

vp9/common/vp9_idct.c

index abde63d04822cf8f840894602b504ccf61d50701..3103be214842141225bac894d958494b55ca655d 100644 (file)
@@ -124,9 +124,7 @@ void vp9_short_idct4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride) {
 
   // Rows
   for (i = 0; i < 4; ++i) {
-    for (j = 0; j < 4; ++j)
-      temp_in[j] = input[j];
-    vp9_idct4_1d(temp_in, outptr);
+    vp9_idct4_1d(input, outptr);
     input += 4;
     outptr += 4;
   }