mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
[mtt] correct indexing for chroma tree
This commit is contained in:
parent
d3f42949a7
commit
1373a7ac1d
|
@ -1806,7 +1806,10 @@ static double search_cu(
|
|||
// If there is no separate chroma the block will always have chroma, otherwise it is the last block of the split that has the chroma
|
||||
|
||||
if (split_type == QT_SPLIT && completely_inside) {
|
||||
const cu_info_t * const t = LCU_GET_CU_AT_PX(&split_lcu[0], new_cu_loc[split].local_x, new_cu_loc[split].local_y);
|
||||
const cu_info_t * const t = LCU_GET_CU_AT_PX(
|
||||
&split_lcu[0],
|
||||
new_cu_loc[split].local_x >> (tree_type == UVG_CHROMA_T),
|
||||
new_cu_loc[split].local_y >> (tree_type == UVG_CHROMA_T));
|
||||
stop_to_qt |= GET_SPLITDATA(t, depth + 1) == QT_SPLIT;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue