Home
last modified time | relevance | path

Searched refs:numPrimaries (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/media/libstagefright/foundation/
DColorUtils.cpp107 uint32_t numPrimaries = ColorAspects::PrimariesBT2020 + 1; in wrapColorAspectsIntoColorStandard() local
109 return kColorStandardExtendedStart + primaries + coeffs * numPrimaries; in wrapColorAspectsIntoColorStandard()
127 int32_t numPrimaries = ColorAspects::PrimariesBT2020 + 1; in unwrapColorAspectsFromColorStandard() local
131 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()