Searched defs:primaries (Results 1 - 11 of 11) sorted by relevance

/frameworks/native/libs/ui/
H A DColorSpace.cpp150 const std::array<float2, 3>& primaries,
156 , mRGBtoXYZ(computeXYZMatrix(primaries, whitePoint))
161 , mPrimaries(primaries)
167 const std::array<float2, 3>& primaries,
172 , mRGBtoXYZ(computeXYZMatrix(primaries, whitePoint))
178 , mPrimaries(primaries)
184 const std::array<float2, 3>& primaries,
189 , mRGBtoXYZ(computeXYZMatrix(primaries, whitePoint))
195 , mPrimaries(primaries)
200 const std::array<float2, 3>& primaries, cons
199 computeXYZMatrix( const std::array<float2, 3>& primaries, const float2& whitePoint) argument
[all...]
/frameworks/av/media/libstagefright/codecs/avcdec/
H A DSoftAVCDec.cpp361 int32_t primaries = s_ctl_get_vui_params_op.u1_colour_primaries; local
368 primaries, transfer, coeffs, fullRange, colorAspects);
/frameworks/av/media/libstagefright/codecs/hevcdec/
H A DSoftHEVC.cpp201 int32_t primaries = s_ctl_get_vui_params_op.u1_colour_primaries; local
208 primaries, transfer, coeffs, fullRange, colorAspects);
/frameworks/av/media/libstagefright/codecs/mpeg2dec/
H A DSoftMPEG2.cpp488 int32_t primaries = s_ctl_get_seq_info_op.u1_colour_primaries; local
495 primaries, transfer, coeffs, fullRange, colorAspects);
/frameworks/av/media/libstagefright/foundation/
H A DColorUtils.cpp97 ColorAspects::Primaries primaries, ColorAspects::MatrixCoeffs coeffs) {
99 if (sStandards.map(std::make_pair(primaries, coeffs), &res)) {
101 } else if (!isValid(primaries) || !isValid(coeffs)) {
107 if (isDefined(primaries) && isDefined(coeffs)) {
108 return kColorStandardExtendedStart + primaries + coeffs * numPrimaries;
110 return kColorStandardVendorStart + primaries + coeffs * 0x100;
117 ColorAspects::Primaries *primaries, ColorAspects::MatrixCoeffs *coeffs) {
120 *primaries = res.first;
135 *primaries = (ColorAspects::Primaries)(product % numPrimaries);
139 *primaries
96 wrapColorAspectsIntoColorStandard( ColorAspects::Primaries primaries, ColorAspects::MatrixCoeffs coeffs) argument
115 unwrapColorAspectsFromColorStandard( int32_t standard, ColorAspects::Primaries *primaries, ColorAspects::MatrixCoeffs *coeffs) argument
311 convertCodecColorAspectsToIsoAspects( const ColorAspects &aspects, int32_t *primaries, int32_t *transfer, int32_t *coeffs, bool *fullRange) argument
330 convertIsoColorAspectsToCodecAspects( int32_t primaries, int32_t transfer, int32_t coeffs, bool fullRange, ColorAspects &aspects) argument
366 ColorAspects::Primaries primaries; local
[all...]
/frameworks/av/media/libstagefright/webm/
H A DWebmElement.cpp391 int32_t primaries, transfer, coeffs; local
394 aspects, &primaries, &transfer, &coeffs, &fullRange);
396 colorInfo.push_back(new WebmUnsigned(kMkvPrimaries, primaries));
438 // HDRStaticInfo Type1 stores primaries scaled 50000:1
/frameworks/av/media/libstagefright/
H A DUtils.cpp113 int32_t primaries = 0; local
117 meta->findInt32(kKeyColorPrimaries, &primaries);
123 colorAspects.mPrimaries = (ColorAspects::Primaries)primaries;
H A DMPEG4Extractor.cpp3051 int32_t primaries = U16_AT(&buffer[4]); local
3058 primaries, transfer, coeffs, fullRange, aspects);
H A DMPEG4Writer.cpp3313 int32_t primaries, transfer, coeffs; local
3316 aspects, &primaries, &transfer, &coeffs, &fullRange);
3319 mOwner->writeInt16(primaries);
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp1109 int32_t primaries = 2; // ISO unspecified local
1115 if (isValidInt32ColourValue(color->primaries)) {
1116 primaries = color->primaries;
1134 primaries, transfer, coeffs, fullRange, aspects);
1165 // HDRStaticInfo Type1 stores primaries scaled 50000:1
/frameworks/base/graphics/java/android/graphics/
H A DColorSpace.java60 * properties of RGB color models: color gamut primaries, transfer functions,
222 * shows the location of the color space's primaries and white point.</p>
983 * Its primaries are within 1e-3 of the true
984 * {@link Named#SRGB sRGB} primaries.
1288 * @return A {@link ColorSpace} instance with the same name, primaries,
1911 * <li>Three chromaticities of the red, green and blue primaries, which
1925 * <p>In this implementation, the chromaticity of the primaries and the white
1928 * and its luminance, the Y component. Since the primaries and the white
1932 * primaries and white point in the CIE XYZ space. The tristimulus XYZ values
1937 * <figcaption style="text-align: center;">sRGB primaries an
2277 Rgb( @onNull @izemin = 1) String name, @NonNull @Size(min = 6, max = 9) float[] primaries, @NonNull @Size(min = 2, max = 3) float[] whitePoint, @NonNull DoubleUnaryOperator oetf, @NonNull DoubleUnaryOperator eotf, float min, float max) argument
2347 Rgb( @onNull @izemin = 1) String name, @NonNull @Size(min = 6, max = 9) float[] primaries, @NonNull @Size(min = 2, max = 3) float[] whitePoint, @NonNull TransferParameters function) argument
2389 Rgb( @onNull @izemin = 1) String name, @NonNull @Size(min = 6, max = 9) float[] primaries, @NonNull @Size(min = 2, max = 3) float[] whitePoint, @NonNull TransferParameters function, @IntRange(from = MIN_ID, to = MAX_ID) int id) argument
2469 Rgb( @onNull @izemin = 1) String name, @NonNull @Size(min = 6, max = 9) float[] primaries, @NonNull @Size(min = 2, max = 3) float[] whitePoint, double gamma) argument
2514 Rgb( @onNull @izemin = 1) String name, @NonNull @Size(min = 6, max = 9) float[] primaries, @NonNull @Size(min = 2, max = 3) float[] whitePoint, double gamma, float min, float max, @IntRange(from = MIN_ID, to = MAX_ID) int id) argument
2571 Rgb( @onNull @izemin = 1) String name, @NonNull @Size(min = 6, max = 9) float[] primaries, @NonNull @Size(min = 2, max = 3) float[] whitePoint, @NonNull DoubleUnaryOperator oetf, @NonNull DoubleUnaryOperator eotf, float min, float max, @IntRange(from = MIN_ID, to = MAX_ID) int id) argument
2708 getPrimaries(@onNull @izemin = 6) float[] primaries) argument
3077 isSrgb( @onNull @ize6) float[] primaries, @NonNull @Size(2) float[] whitePoint, @NonNull DoubleUnaryOperator OETF, @NonNull DoubleUnaryOperator EOTF, float min, float max, @IntRange(from = MIN_ID, to = MAX_ID) int id) argument
3114 isWideGamut(@onNull @ize6) float[] primaries, float min, float max) argument
3129 area(@onNull @ize6) float[] primaries) argument
3294 xyPrimaries(@onNull @izemin = 6, max = 9) float[] primaries) argument
3355 computeXYZMatrix( @onNull @ize6) float[] primaries, @NonNull @Size(2) float[] whitePoint) argument
4015 drawGamuts( @onNull Canvas canvas, int width, int height, @NonNull Paint paint, @NonNull Path path, @NonNull @Size(6) float[] primaries, @NonNull @Size(2) float[] whitePoint) argument
4064 getPrimaries(@onNull Rgb rgb, @NonNull @Size(6) float[] primaries, boolean asUcs) argument
4092 drawLocus( @onNull Canvas canvas, int width, int height, @NonNull Paint paint, @NonNull Path path, @NonNull @Size(6) float[] primaries) argument
4242 setTransform(@onNull Canvas canvas, int width, int height, @NonNull @Size(6) float[] primaries) argument
[all...]

Completed in 304 milliseconds