shithub: libvpx

Download patch

ref: f4cae05cd40a1088616010f088c03152c99f0a4f
parent: 0269df41c1916f6c6df2a445d291b4a3c31922f6
author: James Zern <jzern@google.com>
date: Fri Apr 1 08:21:59 EDT 2016

vpx_fdctNxN_1_c: remove unnecessary store

only output[0] needs to be set, the other values will be ignored in this
case.

Change-Id: I8e9692fc0d6d85700ba46f70c2e899a956023910

--- a/vpx_dsp/fwd_txfm.c
+++ b/vpx_dsp/fwd_txfm.c
@@ -85,7 +85,6 @@
       sum += input[r * stride + c];
 
   output[0] = sum << 1;
-  output[1] = 0;
 }
 
 void vpx_fdct8x8_c(const int16_t *input, tran_low_t *final_output, int stride) {
@@ -182,7 +181,6 @@
       sum += input[r * stride + c];
 
   output[0] = sum;
-  output[1] = 0;
 }
 
 void vpx_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride) {
@@ -373,7 +371,6 @@
       sum += input[r * stride + c];
 
   output[0] = sum >> 1;
-  output[1] = 0;
 }
 
 static INLINE tran_high_t dct_32_round(tran_high_t input) {
@@ -777,7 +774,6 @@
       sum += input[r * stride + c];
 
   output[0] = (tran_low_t)(sum >> 3);
-  output[1] = 0;
 }
 
 #if CONFIG_VP9_HIGHBITDEPTH
--