#define JVET_Q0417_CONSTRAINT_SPS_VB_PRESENT_FLAG 1 //JVET_Q0417: a constraint on the value of sps_virtual_boundaries_present_flag based on res_change_in_clvs_allowed_flag
#define JVET_Q0504_PLT_NON444 1 // JVET-Q0504: enable palette mode for non 444 color format
#define JVET_Q0504_PLT_NON444 1 // JVET-Q0504: enable palette mode for non 444 color format
#define JVET_Q0089_SLICE_LOSSLESS_CODING_CHROMA_BDPCM 1 // JVET-Q0089: RRC slice-level switch for lossless coding and one SPS flag for luma and chroma BDPCM.
#define JVET_Q0089_SLICE_LOSSLESS_CODING_CHROMA_BDPCM 1 // JVET-Q0089: RRC slice-level switch for lossless coding and one SPS flag for luma and chroma BDPCM.
@@ -1249,7 +1249,9 @@ void DecLib::xActivateParameterSets( const int layerId )
...
@@ -1249,7 +1249,9 @@ void DecLib::xActivateParameterSets( const int layerId )
}
}
CHECK(!sps->getRprEnabledFlag()&&pps->getScalingWindow().getWindowEnabledFlag(),"When ref_pic_resampling_enabled_flag is equal to 0, the value of scaling_window_flag shall be equal to 0.");
CHECK(!sps->getRprEnabledFlag()&&pps->getScalingWindow().getWindowEnabledFlag(),"When ref_pic_resampling_enabled_flag is equal to 0, the value of scaling_window_flag shall be equal to 0.");
#if JVET_Q0417_CONSTRAINT_SPS_VB_PRESENT_FLAG
CHECK(sps->getRprEnabledFlag()&&sps->getLoopFilterAcrossVirtualBoundariesDisabledFlag(),"when the value of res_change_in_clvs_allowed_flag is equal to 1, the value of sps_virtual_boundaries_present_flag shall be equal to 0");
CHECK(sps->getWrapAroundEnabledFlag(),"Wraparound shall be disabled when the value of ( CtbSizeY / MinCbSizeY + 1) is less than or equal to ( pic_width_in_luma_samples / MinCbSizeY - 1 )");
CHECK(sps->getWrapAroundEnabledFlag(),"Wraparound shall be disabled when the value of ( CtbSizeY / MinCbSizeY + 1) is less than or equal to ( pic_width_in_luma_samples / MinCbSizeY - 1 )");