| @@ -1234,9 +1234,12 @@ static CodingUnit* add_cu(VVCLocalContext *lc, const int x0, const int y0, · 1233 unmodified lines |
| 1234 | | 1234 | |
| 1235 | static void set_cu_tabs(const VVCLocalContext *lc, const CodingUnit *cu) | 1235 | static void set_cu_tabs(const VVCLocalContext *lc, const CodingUnit *cu) |
| 1236 | { | 1236 | { |
| 1237 | const VVCFrameContext *fc = lc->fc; | 1237 | const VVCFrameContext *fc = lc->fc; |
| 1238 | const TransformUnit *tu = cu->tus.head; | 1238 | const PredictionUnit *pu = &cu->pu; |
| | 1239 | const TransformUnit *tu = cu->tus.head; |
| 1239 | | 1240 | |
| | 1241 | set_cb_tab(lc, fc->tab.mmi, pu->mi.motion_model_idc); |
| | 1242 | set_cb_tab(lc, fc->tab.msf, pu->merge_subblock_flag); |
| 1240 | if (cu->tree_type != DUAL_TREE_CHROMA) | 1243 | if (cu->tree_type != DUAL_TREE_CHROMA) |
| 1241 | set_cb_tab(lc, fc->tab.skip, cu->skip_flag); | 1244 | set_cb_tab(lc, fc->tab.skip, cu->skip_flag); |
| 1242 | | 1245 | |
| @@ -1325,7 +1328,6 @@ static void merge_data_subblock(VVCLocalContext *lc) · 82 unmodified lines |
| 1325 | PredictionUnit *pu = &cu->pu; | 1328 | PredictionUnit *pu = &cu->pu; |
| 1326 | int merge_subblock_idx = 0; | 1329 | int merge_subblock_idx = 0; |
| 1327 | | 1330 | |
| 1328 | set_cb_tab(lc, fc->tab.msf, pu->merge_subblock_flag); | | |
| 1329 | if (ph->max_num_subblock_merge_cand > 1) { | 1331 | if (ph->max_num_subblock_merge_cand > 1) { |
| 1330 | merge_subblock_idx = ff_vvc_merge_subblock_idx(lc, ph->max_num_subblock_merge_cand); | 1332 | merge_subblock_idx = ff_vvc_merge_subblock_idx(lc, ph->max_num_subblock_merge_cand); |
| 1331 | } | 1333 | } |