CHECK(sps->getSubPicInfoPresentFlag()&&picHeader->getVirtualBoundariesPresentFlag(),"When the subpicture info is present, the signalling of the virtual boundary position, if present, shall be in SPS");
CHECK(pcSlice->getPictureHeaderInSliceHeader()&&pps->getWpInfoInPhFlag()==1,"When sh_picture_header_in_slice_header_flag is equal to 1, wp_info_in_ph_flag shall be equal to 0");
CHECK(pcSlice->getPictureHeaderInSliceHeader()&&pps->getQpDeltaInfoInPhFlag()==1,"When sh_picture_header_in_slice_header_flag is equal to 1, qp_delta_info_in_ph_flag shall be equal to 0");
CHECK(pcSlice->getPictureHeaderInSliceHeader()&&sps->getSubPicInfoPresentFlag()==1,"When sps_subpic_info_present_flag is equal to 1, the value of sh_picture_header_in_slice_header_flag shall be equal to 0");
"when sps_subpic_info_present_flag is equal to 1 and sps_virtual_boundaries_enabled_flag is equal to 1, sps_virtual_boundaries_present_flag shall be equal 1");