Commit 6a9b2400 authored by Jingning Han's avatar Jingning Han

Fill the token cost for 2x2 transform blocks

Refactor the fill_token_cost() function to automatically compute
the token cost arry for all transform block sizes.

Change-Id: I2f44c9c08fb169bc14282ba48bce23577b1ab184
parent 8363063d
......@@ -168,7 +168,7 @@ void av1_fill_token_costs(av1_coeff_cost *c,
av1_coeff_probs_model (*p)[PLANE_TYPES]) {
int i, j, k, l;
TX_SIZE t;
for (t = TX_4X4; t < TX_SIZES; ++t)
for (t = 0; t < TX_SIZES; ++t)
for (i = 0; i < PLANE_TYPES; ++i)
for (j = 0; j < REF_TYPES; ++j)
for (k = 0; k < COEF_BANDS; ++k)
......
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