Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/
DColorSpace.java2279 @NonNull @Size(min = 6, max = 9) float[] primaries, in Rgb()
2285 this(name, primaries, whitePoint, oetf, eotf, min, max, MIN_ID); in Rgb()
2349 @NonNull @Size(min = 6, max = 9) float[] primaries, in Rgb()
2352 this(name, primaries, whitePoint, function, MIN_ID); in Rgb()
2391 @NonNull @Size(min = 6, max = 9) float[] primaries, in Rgb()
2395 this(name, primaries, whitePoint, in Rgb()
2471 @NonNull @Size(min = 6, max = 9) float[] primaries, in Rgb()
2474 this(name, primaries, whitePoint, gamma, 0.0f, 1.0f, MIN_ID); in Rgb()
2516 @NonNull @Size(min = 6, max = 9) float[] primaries, in Rgb()
2522 this(name, primaries, whitePoint, in Rgb()
[all …]
/frameworks/native/libs/ui/
DColorSpace.cpp150 const std::array<float2, 3>& primaries, in ColorSpace() argument
156 , mRGBtoXYZ(computeXYZMatrix(primaries, whitePoint)) in ColorSpace()
161 , mPrimaries(primaries) in ColorSpace()
167 const std::array<float2, 3>& primaries, in ColorSpace() argument
172 , mRGBtoXYZ(computeXYZMatrix(primaries, whitePoint)) in ColorSpace()
178 , mPrimaries(primaries) in ColorSpace()
184 const std::array<float2, 3>& primaries, in ColorSpace() argument
189 , mRGBtoXYZ(computeXYZMatrix(primaries, whitePoint)) in ColorSpace()
195 , mPrimaries(primaries)
200 const std::array<float2, 3>& primaries, const float2& whitePoint) { in computeXYZMatrix() argument
[all …]
/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/media/libstagefright/include/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/native/include/ui/
DColorSpace.h107 const std::array<float2, 3>& primaries,
125 const std::array<float2, 3>& primaries,
141 const std::array<float2, 3>& primaries,
258 const std::array<float2, 3>& primaries, const float2& whitePoint);
/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.cpp1109 int32_t primaries = 2; // ISO unspecified in getColorInformation() local
1115 if (isValidInt32ColourValue(color->primaries)) { in getColorInformation()
1116 primaries = color->primaries; in getColorInformation()
1134 primaries, transfer, coeffs, fullRange, aspects); in getColorInformation()
/frameworks/av/media/libstagefright/codecs/avcdec/
DSoftAVCDec.cpp361 int32_t primaries = s_ctl_get_vui_params_op.u1_colour_primaries; in getVUIParams() local
368 primaries, transfer, coeffs, fullRange, colorAspects); in getVUIParams()
/frameworks/av/media/libstagefright/codecs/hevcdec/
DSoftHEVC.cpp201 int32_t primaries = s_ctl_get_vui_params_op.u1_colour_primaries; in getVUIParams() local
208 primaries, transfer, coeffs, fullRange, colorAspects); in getVUIParams()
/frameworks/av/media/libstagefright/codecs/mpeg2dec/
DSoftMPEG2.cpp488 int32_t primaries = s_ctl_get_seq_info_op.u1_colour_primaries; in getSeqInfo() local
495 primaries, transfer, coeffs, fullRange, colorAspects); in getSeqInfo()
/frameworks/av/media/libstagefright/
DUtils.cpp113 int32_t primaries = 0; in convertMetaDataToMessageColorAspects() local
117 meta->findInt32(kKeyColorPrimaries, &primaries); in convertMetaDataToMessageColorAspects()
123 colorAspects.mPrimaries = (ColorAspects::Primaries)primaries; in convertMetaDataToMessageColorAspects()
DMPEG4Writer.cpp3313 int32_t primaries, transfer, coeffs; in writeColrBox() local
3316 aspects, &primaries, &transfer, &coeffs, &fullRange); in writeColrBox()
3319 mOwner->writeInt16(primaries); in writeColrBox()
DMPEG4Extractor.cpp3051 int32_t primaries = U16_AT(&buffer[4]); in parseColorInfo() local
3058 primaries, transfer, coeffs, fullRange, aspects); in parseColorInfo()
/frameworks/av/include/media/omx/1.0/
DConversion.h494 (static_cast<uint32_t>(t.primaries) << 16) | in toCompactColorAspects()
/frameworks/av/media/libstagefright/omx/1.0/
DConversion.h487 (static_cast<uint32_t>(t.primaries) << 16) | in toCompactColorAspects()