mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-28 03:34:06 +00:00
[LMCS] set ph_lmcs_enabled_flag according to the sliceReshaperEnableFlag
This commit is contained in:
parent
4ea9bee0b6
commit
1bbe1204e4
|
@ -1116,9 +1116,9 @@ static void kvz_encoder_state_write_bitstream_picture_header(
|
|||
}
|
||||
if (encoder->cfg.lmcs_enable)
|
||||
{
|
||||
WRITE_U(stream, 1, 1, "ph_lmcs_enabled_flag");
|
||||
|
||||
//if (picHeader->getLmcsEnabledFlag())
|
||||
WRITE_U(stream, state->tile->frame->lmcs_aps->m_sliceReshapeInfo.sliceReshaperEnableFlag, 1, "ph_lmcs_enabled_flag");
|
||||
|
||||
if (state->tile->frame->lmcs_aps->m_sliceReshapeInfo.sliceReshaperEnableFlag)
|
||||
{
|
||||
WRITE_U(stream, 0, 2, "ph_lmcs_aps_id");
|
||||
|
||||
|
|
Loading…
Reference in a new issue