Commit 0d4e82aa authored by Ronald S. Bultje's avatar Ronald S. Bultje
Browse files

Fix use of wrong context in i8x8 coefficient cost calculation.

Change-Id: Ica58d0c7d8addb5ddd5d6e1fdea8f0f96e110862
parent 91dc8ce7
......@@ -1584,8 +1584,8 @@ static int64_t rd_pick_intra8x8block(VP8_COMP *cpi, MACROBLOCK *x, int ib,
ta0 = *(a + vp8_block2above[ib]);
ta1 = *(a + vp8_block2above[ib + 1]);
tl0 = *(l + vp8_block2above[ib]);
tl1 = *(l + vp8_block2above[ib + 4]);
tl0 = *(l + vp8_block2left[ib]);
tl1 = *(l + vp8_block2left[ib + 4]);
rate_t = cost_coeffs(x, xd->block + ib, PLANE_TYPE_Y_WITH_DC,
&ta0, &tl0, TX_4X4);
rate_t += cost_coeffs(x, xd->block + ib + 1, PLANE_TYPE_Y_WITH_DC,
......
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