summaryrefslogtreecommitdiffstats
path: root/third_party/aom/aom_dsp/mips/inv_txfm_dspr2.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/aom/aom_dsp/mips/inv_txfm_dspr2.h')
-rw-r--r--third_party/aom/aom_dsp/mips/inv_txfm_dspr2.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/aom/aom_dsp/mips/inv_txfm_dspr2.h b/third_party/aom/aom_dsp/mips/inv_txfm_dspr2.h
index 8a85e26f3..c69835173 100644
--- a/third_party/aom/aom_dsp/mips/inv_txfm_dspr2.h
+++ b/third_party/aom/aom_dsp/mips/inv_txfm_dspr2.h
@@ -24,10 +24,12 @@ extern "C" {
#endif
#if HAVE_DSPR2
+/* Note: this macro expects a local int32_t named out to exist, and will write
+ * to that variable. */
#define DCT_CONST_ROUND_SHIFT_TWICE_COSPI_16_64(input) \
({ \
\
- int32_t tmp, out; \
+ int32_t tmp; \
int dct_cost_rounding = DCT_CONST_ROUNDING; \
int in = input; \
\