Changed tokenize to correct tx_size for 440 input
Change-Id: I41995cfa03038ec45b5f0d6c68195cfa36d58ec8
This commit is contained in:
parent
60b71edf2b
commit
b4d8b235dd
@ -592,14 +592,17 @@ void vp9_tokenize_sb_supertx(VP9_COMP *cpi, TOKENEXTRA **t, int dry_run,
|
||||
for (plane = 0; plane < MAX_MB_PLANE; plane++) {
|
||||
const BLOCK_SIZE plane_size =
|
||||
get_plane_block_size(bsize, &xd->plane[plane]);
|
||||
tokenize_b(plane, 0, plane_size, b_width_log2_lookup[plane_size], &arg);
|
||||
const struct macroblockd_plane* const pd = &xd->plane[plane];
|
||||
const TX_SIZE tx_size = plane ? get_uv_tx_size(mbmi, pd) : mbmi->tx_size;
|
||||
tokenize_b(plane, 0, plane_size, tx_size, &arg);
|
||||
}
|
||||
} else {
|
||||
for (plane = 0; plane < MAX_MB_PLANE; plane++) {
|
||||
const BLOCK_SIZE plane_size =
|
||||
get_plane_block_size(bsize, &xd->plane[plane]);
|
||||
set_entropy_context_b(plane, 0, plane_size,
|
||||
b_width_log2_lookup[plane_size], &arg);
|
||||
const struct macroblockd_plane* const pd = &xd->plane[plane];
|
||||
const TX_SIZE tx_size = plane ? get_uv_tx_size(mbmi, pd) : mbmi->tx_size;
|
||||
set_entropy_context_b(plane, 0, plane_size, tx_size, &arg);
|
||||
}
|
||||
*t = t_backup;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user