Searched refs:numPrimaries (Results 1 – 1 of 1) sorted by relevance
107 uint32_t numPrimaries = ColorAspects::PrimariesBT2020 + 1; in wrapColorAspectsIntoColorStandard() local109 return kColorStandardExtendedStart + primaries + coeffs * numPrimaries; in wrapColorAspectsIntoColorStandard()127 int32_t numPrimaries = ColorAspects::PrimariesBT2020 + 1; in unwrapColorAspectsFromColorStandard() local131 numPrimaries = ColorAspects::PrimariesOther + 1; // 0x100 in unwrapColorAspectsFromColorStandard()134 if (standard >= start && standard < start + numPrimaries * numCoeffs) { in unwrapColorAspectsFromColorStandard()136 *primaries = (ColorAspects::Primaries)(product % numPrimaries); in unwrapColorAspectsFromColorStandard()137 *coeffs = (ColorAspects::MatrixCoeffs)(product / numPrimaries); in unwrapColorAspectsFromColorStandard()