diff --git a/source/App/EncoderApp/EncAppCfg.cpp b/source/App/EncoderApp/EncAppCfg.cpp index f1e9016073791e44316151c6410e87e62110bf6d..012e961f3cde09e7453b05ef78a5d94fb74a3a9a 100644 --- a/source/App/EncoderApp/EncAppCfg.cpp +++ b/source/App/EncoderApp/EncAppCfg.cpp @@ -3490,12 +3490,10 @@ bool EncAppCfg::xCheckParameter() xConfirmPara(m_preferredTransferCharacteristics > 255, "transfer_characteristics_idc should not be greater than 255."); #endif xConfirmPara( unsigned(m_ImvMode) > 1, "ImvMode exceeds range (0 to 1)" ); -#if JVET_Q0444_AMVR_SIGNALLING if (m_AffineAmvr) { xConfirmPara(!m_ImvMode, "AffineAmvr cannot be used when IMV is disabled."); } -#endif xConfirmPara( m_decodeBitstreams[0] == m_bitstreamFileName, "Debug bitstream and the output bitstream cannot be equal.\n" ); xConfirmPara( m_decodeBitstreams[1] == m_bitstreamFileName, "Decode2 bitstream and the output bitstream cannot be equal.\n" ); xConfirmPara(unsigned(m_LMChroma) > 1, "LMMode exceeds range (0 to 1)"); diff --git a/source/Lib/CommonLib/TypeDef.h b/source/Lib/CommonLib/TypeDef.h index 73a7190e4e9af18886ac6dfdecb569c87727022a..bcc9197baeb87057d5a06889cef985969357c168 100644 --- a/source/Lib/CommonLib/TypeDef.h +++ b/source/Lib/CommonLib/TypeDef.h @@ -130,7 +130,6 @@ -#define JVET_Q0444_AMVR_SIGNALLING 1 // JVET-Q0444: Conditional signaling of sps_affine_amvr_enabled_flag based on sps_amvr_enabled_flag #define JVET_Q0147_JCCR_SIGNALLING 1 // JVET-Q0147: Conditional signaling of sps_joint_cbcr_enabled_flag based on ChromaArrayType diff --git a/source/Lib/DecoderLib/VLCReader.cpp b/source/Lib/DecoderLib/VLCReader.cpp index c617951b5151d9ae1282564d263bafd27005db00..f3d1acff44b75e246738cadf86a7fcb0f9e9cd1e 100644 --- a/source/Lib/DecoderLib/VLCReader.cpp +++ b/source/Lib/DecoderLib/VLCReader.cpp @@ -1796,14 +1796,10 @@ void HLSyntaxReader::parseSPS(SPS* pcSPS) CHECK(AFFINE_MRG_MAX_NUM_CANDS < uiCode, "Incorrrect max number of affine merge candidates!"); pcSPS->setMaxNumAffineMergeCand(AFFINE_MRG_MAX_NUM_CANDS - uiCode); READ_FLAG( uiCode, "sps_affine_type_flag" ); pcSPS->setUseAffineType ( uiCode != 0 ); -#if JVET_Q0444_AMVR_SIGNALLING if( pcSPS->getAMVREnabledFlag()) { -#endif READ_FLAG( uiCode, "sps_affine_amvr_enabled_flag" ); pcSPS->setAffineAmvrEnabledFlag ( uiCode != 0 ); -#if JVET_Q0444_AMVR_SIGNALLING } -#endif READ_FLAG( uiCode, "sps_affine_prof_enabled_flag" ); pcSPS->setUsePROF ( uiCode != 0 ); if (pcSPS->getUsePROF()) { diff --git a/source/Lib/EncoderLib/VLCWriter.cpp b/source/Lib/EncoderLib/VLCWriter.cpp index f703aece3d127b0fbcf54ea3208f6d9050416cc1..2624f62255d742e137976b8bfe6ec7fe485bb0ea 100644 --- a/source/Lib/EncoderLib/VLCWriter.cpp +++ b/source/Lib/EncoderLib/VLCWriter.cpp @@ -1135,14 +1135,10 @@ void HLSWriter::codeSPS( const SPS* pcSPS ) { WRITE_UVLC(AFFINE_MRG_MAX_NUM_CANDS - pcSPS->getMaxNumAffineMergeCand(), "five_minus_max_num_subblock_merge_cand"); WRITE_FLAG( pcSPS->getUseAffineType() ? 1 : 0, "sps_affine_type_flag" ); -#if JVET_Q0444_AMVR_SIGNALLING if (pcSPS->getAMVREnabledFlag()) { -#endif WRITE_FLAG( pcSPS->getAffineAmvrEnabledFlag() ? 1 : 0, "sps_affine_amvr_enabled_flag" ); -#if JVET_Q0444_AMVR_SIGNALLING } -#endif WRITE_FLAG( pcSPS->getUsePROF() ? 1 : 0, "sps_affine_prof_enabled_flag" ); if (pcSPS->getUsePROF()) {