Commit 13304fa9 authored by Frederic Barbier's avatar Frederic Barbier

Update ALF syntax element with specification

parent 8d8f0316
......@@ -2432,7 +2432,7 @@ bool HLSyntaxReader::xMoreRbspData()
void HLSyntaxReader::alf( AlfSliceParam& alfSliceParam )
{
uint32_t code;
READ_FLAG( code, "alf_slice_enable_flag" );
READ_FLAG( code, "tile_group_alf_enabled_flag" );
alfSliceParam.enabledFlag[COMPONENT_Y] = code ? true : false;
if( !code )
......
......@@ -1743,7 +1743,7 @@ bool HLSWriter::xFindMatchingLTRP(Slice* pcSlice, uint32_t *ltrpsIndex, int ltrp
void HLSWriter::alf( const AlfSliceParam& alfSliceParam )
{
WRITE_FLAG( alfSliceParam.enabledFlag[COMPONENT_Y], "alf_slice_enable_flag" );
WRITE_FLAG( alfSliceParam.enabledFlag[COMPONENT_Y], "tile_group_alf_enabled_flag" );
if( !alfSliceParam.enabledFlag[COMPONENT_Y] )
{
return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment