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:
Marko Viitanen 2018-08-28 16:03:02 +03:00
parent 42741a2c40
commit 37caa451c6

View file

@ -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++;