Lines Matching refs:primaries
859 bool C2Mapper::map(C2Color::primaries_t primaries, C2Color::matrix_t matrix, int32_t *standard) { in map() argument
865 if (!sColorPrimariesSf.map(primaries, &sfPrimaries)) { in map()
867 if (primaries < C2Color::PRIMARIES_VENDOR_START || primaries > C2Color::PRIMARIES_OTHER) { in map()
872 sfPrimaries = (ColorAspects::Primaries)primaries; in map()
893 bool C2Mapper::map(int32_t standard, C2Color::primaries_t *primaries, C2Color::matrix_t *matrix) { in map() argument
902 if (!sColorPrimariesSf.map(sfPrimaries, primaries)) { in map()
904 *primaries = (C2Color::primaries_t)sfPrimaries; in map()
905 if (*primaries < C2Color::PRIMARIES_VENDOR_START || *primaries > C2Color::PRIMARIES_OTHER) { in map()
906 *primaries = C2Color::PRIMARIES_OTHER; in map()
987 C2Color::range_t range, C2Color::primaries_t primaries, in map() argument
1010 switch (primaries) { in map()
1042 if (!sColorPrimariesSf.map(primaries, &aspects.mPrimaries)) { in map()