/frameworks/base/graphics/java/android/graphics/ |
D | ColorSpace.java | 2279 @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/ |
D | ColorSpace.cpp | 150 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/ |
D | ColorUtils.cpp | 97 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/ |
D | ColorUtils.h | 114 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/ |
D | ColorSpace.h | 107 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/ |
D | WebmElement.cpp | 391 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/ |
D | MatroskaExtractor.cpp | 1109 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/ |
D | SoftAVCDec.cpp | 361 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/ |
D | SoftHEVC.cpp | 201 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/ |
D | SoftMPEG2.cpp | 488 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/ |
D | Utils.cpp | 113 int32_t primaries = 0; in convertMetaDataToMessageColorAspects() local 117 meta->findInt32(kKeyColorPrimaries, &primaries); in convertMetaDataToMessageColorAspects() 123 colorAspects.mPrimaries = (ColorAspects::Primaries)primaries; in convertMetaDataToMessageColorAspects()
|
D | MPEG4Writer.cpp | 3313 int32_t primaries, transfer, coeffs; in writeColrBox() local 3316 aspects, &primaries, &transfer, &coeffs, &fullRange); in writeColrBox() 3319 mOwner->writeInt16(primaries); in writeColrBox()
|
D | MPEG4Extractor.cpp | 3051 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/ |
D | Conversion.h | 494 (static_cast<uint32_t>(t.primaries) << 16) | in toCompactColorAspects()
|
/frameworks/av/media/libstagefright/omx/1.0/ |
D | Conversion.h | 487 (static_cast<uint32_t>(t.primaries) << 16) | in toCompactColorAspects()
|