HomeSort by relevance Sort by last modified time
    Searched refs:primaries (Results 1 - 25 of 65) sorted by null

1 2 3

  /external/skia/gm/
readpixels.cpp 94 static sk_sp<SkColorSpace> make_srgb_transfer_fn(const SkColorSpacePrimaries& primaries) {
96 SkAssertResult(primaries.toXYZD50(&toXYZD50));
102 SkColorSpacePrimaries primaries; local
103 primaries.fRX = 0.7347f;
104 primaries.fRY = 0.2653f;
105 primaries.fGX = 0.1596f;
106 primaries.fGY = 0.8404f;
107 primaries.fBX = 0.0366f;
108 primaries.fBY = 0.0001f;
109 primaries.fWX = 0.34567f
115 SkColorSpacePrimaries primaries; local
    [all...]
  /frameworks/base/graphics/java/android/graphics/
ColorSpace.java 60 * properties of RGB color models: color gamut primaries, transfer functions,
222 * shows the location of the color space's primaries and white point.</p>
    [all...]
  /prebuilts/go/darwin-x86/src/net/
ipsock_test.go 19 primaries addrList
237 primaries, fallbacks := addrs.partition(isIPv4)
238 if !reflect.DeepEqual(primaries, tt.primaries) {
239 t.Errorf("#%v: got %v; want %v", i, primaries, tt.primaries)
244 expectedLen := len(primaries) + len(fallbacks)
259 primaries addrList
270 primaries, fallbacks := addrs.partition(func(a Addr) bool {
274 if !reflect.DeepEqual(primaries, tt.primaries)
    [all...]
ipsock.go 65 // primaries, while addresses with the opposite label are returned
66 // as fallbacks. For non-empty inputs, primaries is guaranteed to be
68 func (addrs addrList) partition(strategy func(Addr) bool) (primaries, fallbacks addrList) {
74 primaries = append(primaries, addr)
dial.go 360 var primaries, fallbacks addrList
362 primaries, fallbacks = addrs.partition(isIPv4)
364 primaries = addrs
369 c, err = dialParallel(ctx, dp, primaries, fallbacks)
371 c, err = dialSerial(ctx, dp, primaries)
389 func dialParallel(ctx context.Context, dp *dialParam, primaries, fallbacks addrList) (Conn, error) {
391 return dialSerial(ctx, dp, primaries)
406 ras := primaries
  /prebuilts/go/linux-x86/src/net/
ipsock_test.go 19 primaries addrList
237 primaries, fallbacks := addrs.partition(isIPv4)
238 if !reflect.DeepEqual(primaries, tt.primaries) {
239 t.Errorf("#%v: got %v; want %v", i, primaries, tt.primaries)
244 expectedLen := len(primaries) + len(fallbacks)
259 primaries addrList
270 primaries, fallbacks := addrs.partition(func(a Addr) bool {
274 if !reflect.DeepEqual(primaries, tt.primaries)
    [all...]
ipsock.go 65 // primaries, while addresses with the opposite label are returned
66 // as fallbacks. For non-empty inputs, primaries is guaranteed to be
68 func (addrs addrList) partition(strategy func(Addr) bool) (primaries, fallbacks addrList) {
74 primaries = append(primaries, addr)
dial.go 360 var primaries, fallbacks addrList
362 primaries, fallbacks = addrs.partition(isIPv4)
364 primaries = addrs
369 c, err = dialParallel(ctx, dp, primaries, fallbacks)
371 c, err = dialSerial(ctx, dp, primaries)
389 func dialParallel(ctx context.Context, dp *dialParam, primaries, fallbacks addrList) (Conn, error) {
391 return dialSerial(ctx, dp, primaries)
406 ras := primaries
  /frameworks/av/media/libstagefright/foundation/
ColorUtils.cpp 46 ALookup<CU::ColorStandard, std::pair<CA::Primaries, CA::MatrixCoeffs>> sStandards {
79 static bool isValid(ColorAspects::Primaries p) {
83 static bool isDefined(ColorAspects::Primaries p) {
97 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
366 ColorAspects::Primaries primaries; local
    [all...]
  /frameworks/native/libs/ui/
ColorSpace.cpp 150 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, const float2& whitePoint)
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
ColorSpaceTest.java 223 float[] primaries = cs.getPrimaries(); local
225 assertNotNull(primaries);
226 assertEquals(6, primaries.length);
228 assertEquals(SRGB_PRIMARIES_xyY[0], primaries[0], 1e-5f);
229 assertEquals(SRGB_PRIMARIES_xyY[1], primaries[1], 1e-5f);
230 assertEquals(SRGB_PRIMARIES_xyY[2], primaries[2], 1e-5f);
231 assertEquals(SRGB_PRIMARIES_xyY[3], primaries[3], 1e-5f);
232 assertEquals(SRGB_PRIMARIES_xyY[4], primaries[4], 1e-5f);
233 assertEquals(SRGB_PRIMARIES_xyY[5], primaries[5], 1e-5f);
270 float[] primaries = cs.getPrimaries() local
361 float[] primaries = cs.getPrimaries(); local
    [all...]
  /frameworks/av/media/libstagefright/include/foundation/
ColorUtils.h 59 but track defined color primaries-matrix coefficient combinations in media.
64 nor using media defined color primaries or matrix coefficients. These may differ per
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/
ColorSpace.h 50 * conversion matrix. The white point and primaries will be
67 * conversion matrix. The white point and primaries will be
83 * conversion matrix. The white point and primaries will be
97 * Creates a named color space with the specified primaries
99 * computed from the primaries and white point.
107 const std::array<float2, 3>& primaries,
115 * Creates a named color space with the specified primaries
117 * computed from the primaries and white point.
125 const std::array<float2, 3>& primaries,
132 * Creates a named color space with the specified primaries
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
wcsplugin.h 50 PrimaryJabColors primaries; member in struct:_GamutBoundaryDescription
  /hardware/qcom/display/msm8998/include/
color_metadata.h 98 typedef struct Primaries {
101 } Primaries;
105 Primaries primaries; member in struct:MasteringDisplay
  /external/icu/icu4c/source/i18n/
collationfastlatin.h 61 // (en_US_POSIX is unusual: It creates about 64 variable + 116 Latin primaries.)
63 // Digits may use long primaries (preserving more short ones)
64 // or short primaries (faster) without changing this data structure.
65 // (If we supported numeric collation, then digits would have to have long primaries
111 * All potentially-variable primaries must be in this range,
120 * Fast handling: At least all letter primaries should be in this range.
211 uint16_t *primaries, int32_t capacity);
213 static int32_t compareUTF16(const uint16_t *table, const uint16_t *primaries, int32_t options,
217 static int32_t compareUTF8(const uint16_t *table, const uint16_t *primaries, int32_t options,
310 * Version 1 stored the lead bytes of the highest root primaries fo
    [all...]
collationfastlatin.cpp 28 uint16_t *primaries, int32_t capacity) {
36 // No mini primaries are variable, set a variableTop just below the
97 primaries[c] = (uint16_t)p;
101 for(UChar32 c = 0x30; c <= 0x39; ++c) { primaries[c] = 0; }
109 CollationFastLatin::compareUTF16(const uint16_t *table, const uint16_t *primaries, int32_t options,
122 // Check for supported characters, fetch mini CEs, and compare primaries.
139 leftPair = primaries[c];
170 rightPair = primaries[c];
448 CollationFastLatin::compareUTF8(const uint16_t *table, const uint16_t *primaries, int32_t options,
458 // Check for supported characters, fetch mini CEs, and compare primaries
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
CollationFastLatin.java 57 // (en_US_POSIX is unusual: It creates about 64 variable + 116 Latin primaries.)
59 // Digits may use long primaries (preserving more short ones)
60 // or short primaries (faster) without changing this data structure.
61 // (If we supported numeric collation, then digits would have to have long primaries
107 * All potentially-variable primaries must be in this range,
116 * Fast handling: At least all letter primaries should be in this range.
207 char[] primaries) {
211 if(primaries.length != LATIN_LIMIT) {
218 // No mini primaries are variable, set a variableTop just below the
279 primaries[c] = (char)p
    [all...]
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
CollationFastLatin.java 53 // (en_US_POSIX is unusual: It creates about 64 variable + 116 Latin primaries.)
55 // Digits may use long primaries (preserving more short ones)
56 // or short primaries (faster) without changing this data structure.
57 // (If we supported numeric collation, then digits would have to have long primaries
103 * All potentially-variable primaries must be in this range,
112 * Fast handling: At least all letter primaries should be in this range.
203 char[] primaries) {
207 if(primaries.length != LATIN_LIMIT) {
214 // No mini primaries are variable, set a variableTop just below the
275 primaries[c] = (char)p
    [all...]
  /external/skia/src/codec/
SkPngCodec.cpp 393 SkColorSpacePrimaries primaries; local
394 primaries.fRX = png_fixed_point_to_float(chrm[2]);
395 primaries.fRY = png_fixed_point_to_float(chrm[3]);
396 primaries.fGX = png_fixed_point_to_float(chrm[4]);
397 primaries.fGY = png_fixed_point_to_float(chrm[5]);
398 primaries.fBX = png_fixed_point_to_float(chrm[6]);
399 primaries.fBY = png_fixed_point_to_float(chrm[7]);
400 primaries.fWX = png_fixed_point_to_float(chrm[0]);
401 primaries.fWY = png_fixed_point_to_float(chrm[1]);
404 if (!primaries.toXYZD50(&toXYZD50))
    [all...]
  /external/libvpx/libvpx/third_party/libwebm/common/
hdr_util.cc 104 if (ColourValuePresent(parser_colour.primaries))
105 muxer_colour->set_primaries(parser_colour.primaries);
  /hardware/interfaces/media/omx/1.0/
types.hal 227 // Color primaries
228 enum Primaries : uint32_t {
274 Primaries primaries;
  /external/skia/src/core/
SkColorSpace.cpp 24 // First, we need to convert xy values (primaries) to XYZ.
25 SkMatrix primaries; local
26 primaries.setAll( fRX, fGX, fBX,
30 if (!primaries.invert(&primariesInv)) {
44 toXYZ.postConcat(primaries);
  /external/skia/tools/flags/
SkCommonFlagsConfig.cpp 329 SkColorSpacePrimaries primaries ={ local
336 primaries.toXYZD50(&narrowGamutRGBMatrix);
  /external/skia/tools/viewer/
Viewer.cpp     [all...]

Completed in 2238 milliseconds

1 2 3