Commit c9849d1b authored by Frederic Barbier's avatar Frederic Barbier

Align syntax trace to specification

parent 804eb9a8
......@@ -1767,12 +1767,12 @@ void HLSyntaxReader::parseSliceHeader (Slice* pcSlice, ParameterSetManager *para
parsePredWeightTable(pcSlice, sps);
pcSlice->initWpScaling(sps);
}
READ_FLAG( uiCode, "dep_quant_enable_flag" );
READ_FLAG( uiCode, "dep_quant_enabled_flag" );
pcSlice->setDepQuantEnabledFlag( uiCode != 0 );
#if HEVC_USE_SIGN_HIDING
if( !pcSlice->getDepQuantEnabledFlag() )
{
READ_FLAG( uiCode, "sign_data_hiding_enable_flag" );
READ_FLAG( uiCode, "sign_data_hiding_enabled_flag" );
pcSlice->setSignDataHidingEnabledFlag( uiCode != 0 );
}
#endif
......
......@@ -1289,11 +1289,11 @@ void HLSWriter::codeSliceHeader ( Slice* pcSlice )
{
xCodePredWeightTable( pcSlice );
}
WRITE_FLAG( pcSlice->getDepQuantEnabledFlag() ? 1 : 0, "dep_quant_enable_flag" );
WRITE_FLAG( pcSlice->getDepQuantEnabledFlag() ? 1 : 0, "dep_quant_enabled_flag" );
#if HEVC_USE_SIGN_HIDING
if( !pcSlice->getDepQuantEnabledFlag() )
{
WRITE_FLAG( pcSlice->getSignDataHidingEnabledFlag() ? 1 : 0, "sign_data_hiding_enable_flag" );
WRITE_FLAG( pcSlice->getSignDataHidingEnabledFlag() ? 1 : 0, "sign_data_hiding_enabled_flag" );
}
else
{
......
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