Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/foundation/
DColorUtils.cpp97 ColorAspects::Primaries primaries, ColorAspects::MatrixCoeffs coeffs) { in wrapColorAspectsIntoColorStandard() argument
99 if (sStandards.map(std::make_pair(primaries, coeffs), &res)) { in wrapColorAspectsIntoColorStandard()
101 } else if (!isValid(primaries) || !isValid(coeffs)) { in wrapColorAspectsIntoColorStandard()
107 if (isDefined(primaries) && isDefined(coeffs)) { in wrapColorAspectsIntoColorStandard()
108 return kColorStandardExtendedStart + primaries + coeffs * numPrimaries; in wrapColorAspectsIntoColorStandard()
110 return kColorStandardVendorStart + primaries + coeffs * 0x100; in wrapColorAspectsIntoColorStandard()
117 ColorAspects::Primaries *primaries, ColorAspects::MatrixCoeffs *coeffs) { in unwrapColorAspectsFromColorStandard() argument
120 *primaries = res.first; in unwrapColorAspectsFromColorStandard()
135 *primaries = (ColorAspects::Primaries)(product % numPrimaries); in unwrapColorAspectsFromColorStandard()
139 *primaries = ColorAspects::PrimariesOther; in unwrapColorAspectsFromColorStandard()
[all …]
/frameworks/av/include/media/stagefright/foundation/
DColorUtils.h114 ColorAspects::Primaries primaries, ColorAspects::MatrixCoeffs coeffs);
125 ColorAspects::Primaries *primaries, ColorAspects::MatrixCoeffs *coeffs);
135 int32_t *primaries, int32_t *transfer, int32_t *coeffs, bool *fullRange);
138 int32_t primaries, int32_t transfer, int32_t coeffs, bool fullRange,
/frameworks/av/media/libstagefright/webm/
DWebmElement.cpp391 int32_t primaries, transfer, coeffs; in VideoTrackEntry() local
394 aspects, &primaries, &transfer, &coeffs, &fullRange); in VideoTrackEntry()
396 colorInfo.push_back(new WebmUnsigned(kMkvPrimaries, primaries)); in VideoTrackEntry()
/frameworks/av/media/libstagefright/matroska/
DMatroskaExtractor.cpp1088 int32_t primaries = 2; // ISO unspecified in getColorInformation() local
1094 if (isValidInt32ColourValue(color->primaries)) { in getColorInformation()
1095 primaries = color->primaries; in getColorInformation()
1113 primaries, transfer, coeffs, fullRange, aspects); in getColorInformation()
/frameworks/av/media/libstagefright/
DUtils.cpp112 int32_t primaries = 0; in convertMetaDataToMessageColorAspects() local
116 meta->findInt32(kKeyColorPrimaries, &primaries); in convertMetaDataToMessageColorAspects()
122 colorAspects.mPrimaries = (ColorAspects::Primaries)primaries; in convertMetaDataToMessageColorAspects()
DMPEG4Writer.cpp2972 int32_t primaries, transfer, coeffs; in writeColrBox() local
2975 aspects, &primaries, &transfer, &coeffs, &fullRange); in writeColrBox()
2978 mOwner->writeInt16(primaries); in writeColrBox()
DMPEG4Extractor.cpp2793 int32_t primaries = U16_AT(&buffer[4]); in parseColorInfo() local
2800 primaries, transfer, coeffs, fullRange, aspects); in parseColorInfo()