CHECK(sameNalUnitType&&aps->getReshaperAPSInfo()!=existedAPS->getReshaperAPSInfo(),"All APS NAL units with a particular value of nal_unit_type, a particular value of aps_adaptation_parameter_set_id, and a particular value of aps_params_type within a PU shall have the same content");
CHECK(samePU&&sameNalUnitType&&aps->getReshaperAPSInfo()!=existedAPS->getReshaperAPSInfo(),"All APS NAL units with a particular value of nal_unit_type, a particular value of aps_adaptation_parameter_set_id, and a particular value of aps_params_type within a PU shall have the same content");
}
}
elseif(aps->getAPSType()==ALF_APS)
elseif(aps->getAPSType()==ALF_APS)
{
{
CHECK(sameNalUnitType&&aps->getAlfAPSParam()!=existedAPS->getAlfAPSParam(),"All APS NAL units with a particular value of nal_unit_type, a particular value of aps_adaptation_parameter_set_id, and a particular value of aps_params_type within a PU shall have the same content");
CHECK(samePU&&sameNalUnitType&&aps->getAlfAPSParam()!=existedAPS->getAlfAPSParam(),"All APS NAL units with a particular value of nal_unit_type, a particular value of aps_adaptation_parameter_set_id, and a particular value of aps_params_type within a PU shall have the same content");
}
}
elseif(aps->getAPSType()==SCALING_LIST_APS)
elseif(aps->getAPSType()==SCALING_LIST_APS)
{
{
CHECK(sameNalUnitType&&aps->getScalingList()!=existedAPS->getScalingList(),"All APS NAL units with a particular value of nal_unit_type, a particular value of aps_adaptation_parameter_set_id, and a particular value of aps_params_type within a PU shall have the same content");
CHECK(samePU&&sameNalUnitType&&aps->getScalingList()!=existedAPS->getScalingList(),"All APS NAL units with a particular value of nal_unit_type, a particular value of aps_adaptation_parameter_set_id, and a particular value of aps_params_type within a PU shall have the same content");