mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 02:24:07 +00:00
Fix VVC split flag condition for hor and ver splits at the edges
- Split flag is no longer implicit when the block can be split with the BT after QT in horizontal or vertical way
This commit is contained in:
parent
42741a2c40
commit
37caa451c6
|
@ -1005,7 +1005,7 @@ void kvz_encode_coding_tree(encoder_state_t * const state,
|
|||
// When not in MAX_DEPTH, insert split flag and split the blocks if needed
|
||||
if (depth != MAX_DEPTH) {
|
||||
// Implisit split flag when on border
|
||||
if (!border) {
|
||||
if (!border || (depth >= 1 && (border_x != border_y)) ) {
|
||||
// Get left and top block split_flags and if they are present and true, increase model number
|
||||
if (left_cu && GET_SPLITDATA(left_cu, depth) == 1) {
|
||||
split_model++;
|
||||
|
|
Loading…
Reference in a new issue