Commit f7b276c2 authored by James Zern's avatar James Zern Committed by Gerrit Code Review
Browse files

Merge "Bug fix: fadst4() in vp9/encoder/vp9_dct.c"

parents f407b304 24afb5d0
...@@ -246,14 +246,13 @@ static void fadst4(const tran_low_t *input, tran_low_t *output) { ...@@ -246,14 +246,13 @@ static void fadst4(const tran_low_t *input, tran_low_t *output) {
return; return;
} }
// 32-bit result is enough for the following multiplications. s0 = sinpi_1_9 * x0;
s0 = sinpi_1_9 * input[0]; s1 = sinpi_4_9 * x0;
s1 = sinpi_4_9 * input[0]; s2 = sinpi_2_9 * x1;
s2 = sinpi_2_9 * input[1]; s3 = sinpi_1_9 * x1;
s3 = sinpi_1_9 * input[1]; s4 = sinpi_3_9 * x2;
s4 = sinpi_3_9 * input[2]; s5 = sinpi_4_9 * x3;
s5 = sinpi_4_9 * input[3]; s6 = sinpi_2_9 * x3;
s6 = sinpi_2_9 * input[3];
s7 = x0 + x1 - x3; s7 = x0 + x1 - x3;
x0 = s0 + s2 + s5; x0 = s0 + s2 + s5;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment