Home
last modified time | relevance | path

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

123

/third_party/skia/gm/
Dreadpixels.cpp75 static sk_sp<SkColorSpace> make_parametric_transfer_fn(const SkColorSpacePrimaries& primaries) { in make_parametric_transfer_fn() argument
77 SkAssertResult(primaries.toXYZD50(&toXYZD50)); in make_parametric_transfer_fn()
84 SkColorSpacePrimaries primaries; in make_wide_gamut() local
85 primaries.fRX = 0.7347f; in make_wide_gamut()
86 primaries.fRY = 0.2653f; in make_wide_gamut()
87 primaries.fGX = 0.1596f; in make_wide_gamut()
88 primaries.fGY = 0.8404f; in make_wide_gamut()
89 primaries.fBX = 0.0366f; in make_wide_gamut()
90 primaries.fBY = 0.0001f; in make_wide_gamut()
91 primaries.fWX = 0.34567f; in make_wide_gamut()
[all …]
/third_party/skia/experimental/ffmpeg/
DSkVideoDecoder.cpp96 sk_sp<SkColorSpace> make_colorspace(AVColorPrimaries primaries, in make_colorspace() argument
98 if (primaries == AVCOL_PRI_BT709 && transfer == AVCOL_TRC_BT709) { in make_colorspace()
103 if ((unsigned)primaries < (unsigned)AVCOL_PRI_NB) { in make_colorspace()
104 p = &gPrimaries[primaries]; in make_colorspace()
190 void SkVideoDecoder::ConvertedColorSpace::update(AVColorPrimaries primaries, in update() argument
192 if (fPrimaries != primaries || fTransfer != transfer) { in update()
193 fPrimaries = primaries; in update()
195 fCS = make_colorspace(primaries, transfer); in update()
/third_party/ffmpeg/libavcodec/
Dlibjxlenc.c199 jxl_color->primaries = JXL_PRIMARIES_SRGB; in libjxl_populate_primaries()
203 jxl_color->primaries = JXL_PRIMARIES_2100; in libjxl_populate_primaries()
207 jxl_color->primaries = JXL_PRIMARIES_P3; in libjxl_populate_primaries()
211 jxl_color->primaries = JXL_PRIMARIES_P3; in libjxl_populate_primaries()
216 jxl_color->primaries = JXL_PRIMARIES_SRGB; in libjxl_populate_primaries()
225 jxl_color->primaries = JXL_PRIMARIES_CUSTOM; in libjxl_populate_primaries()
Dvideotoolboxenc.c942 CFStringRef *primaries) in get_cv_color_primaries() argument
947 *primaries = NULL; in get_cv_color_primaries()
951 *primaries = kCVImageBufferColorPrimaries_EBU_3213; in get_cv_color_primaries()
955 *primaries = kCVImageBufferColorPrimaries_SMPTE_C; in get_cv_color_primaries()
959 *primaries = kCVImageBufferColorPrimaries_ITU_R_709_2; in get_cv_color_primaries()
963 *primaries = compat_keys.kCVImageBufferColorPrimaries_ITU_R_2020; in get_cv_color_primaries()
968 *primaries = NULL; in get_cv_color_primaries()
/third_party/skia/third_party/externals/icu/source/i18n/
Dcollationfastlatin.cpp28 uint16_t *primaries, int32_t capacity) { in getOptions() argument
97 primaries[c] = (uint16_t)p; in getOptions()
101 for(UChar32 c = 0x30; c <= 0x39; ++c) { primaries[c] = 0; } in getOptions()
109 CollationFastLatin::compareUTF16(const uint16_t *table, const uint16_t *primaries, int32_t options, in compareUTF16() argument
139 leftPair = primaries[c]; in compareUTF16()
170 rightPair = primaries[c]; in compareUTF16()
448 CollationFastLatin::compareUTF8(const uint16_t *table, const uint16_t *primaries, int32_t options, in compareUTF8() argument
479 leftPair = primaries[c]; in compareUTF8()
489 leftPair = primaries[c]; in compareUTF8()
516 rightPair = primaries[c]; in compareUTF8()
[all …]
Dcollationfastlatin.h211 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,
/third_party/node/deps/icu-small/source/i18n/
Dcollationfastlatin.cpp28 uint16_t *primaries, int32_t capacity) { in getOptions() argument
97 primaries[c] = (uint16_t)p; in getOptions()
101 for(UChar32 c = 0x30; c <= 0x39; ++c) { primaries[c] = 0; } in getOptions()
109 CollationFastLatin::compareUTF16(const uint16_t *table, const uint16_t *primaries, int32_t options, in compareUTF16() argument
139 leftPair = primaries[c]; in compareUTF16()
170 rightPair = primaries[c]; in compareUTF16()
448 CollationFastLatin::compareUTF8(const uint16_t *table, const uint16_t *primaries, int32_t options, in compareUTF8() argument
479 leftPair = primaries[c]; in compareUTF8()
489 leftPair = primaries[c]; in compareUTF8()
516 rightPair = primaries[c]; in compareUTF8()
[all …]
Dcollationfastlatin.h211 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,
/third_party/icu/icu4c/source/i18n/
Dcollationfastlatin.cpp28 uint16_t *primaries, int32_t capacity) { in getOptions() argument
97 primaries[c] = (uint16_t)p; in getOptions()
101 for(UChar32 c = 0x30; c <= 0x39; ++c) { primaries[c] = 0; } in getOptions()
109 CollationFastLatin::compareUTF16(const uint16_t *table, const uint16_t *primaries, int32_t options, in compareUTF16() argument
139 leftPair = primaries[c]; in compareUTF16()
170 rightPair = primaries[c]; in compareUTF16()
448 CollationFastLatin::compareUTF8(const uint16_t *table, const uint16_t *primaries, int32_t options, in compareUTF8() argument
479 leftPair = primaries[c]; in compareUTF8()
489 leftPair = primaries[c]; in compareUTF8()
516 rightPair = primaries[c]; in compareUTF8()
[all …]
Dcollationfastlatin.h211 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,
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationFastLatin.java203 char[] primaries) { in getOptions() argument
207 if(primaries.length != LATIN_LIMIT) { in getOptions()
275 primaries[c] = (char)p; in getOptions()
279 for(int c = 0x30; c <= 0x39; ++c) { primaries[c] = 0; } in getOptions()
286 public static int compareUTF16(char[] table, char[] primaries, int options, in compareUTF16() argument
312 leftPair = primaries[c]; in compareUTF16()
348 rightPair = primaries[c]; in compareUTF16()
DCollationBuilder.java1130 CollationWeights primaries = new CollationWeights();
1273 primaries.initForPrimary(isCompressible);
1274 if(!primaries.allocWeights(p, pLimit, pCount)) {
1280 p = primaries.nextWeight();
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
DCollationFastLatin.java207 char[] primaries) { in getOptions() argument
211 if(primaries.length != LATIN_LIMIT) { in getOptions()
279 primaries[c] = (char)p; in getOptions()
283 for(int c = 0x30; c <= 0x39; ++c) { primaries[c] = 0; } in getOptions()
290 public static int compareUTF16(char[] table, char[] primaries, int options, in compareUTF16() argument
316 leftPair = primaries[c]; in compareUTF16()
352 rightPair = primaries[c]; in compareUTF16()
DCollationBuilder.java1134 CollationWeights primaries = new CollationWeights();
1277 primaries.initForPrimary(isCompressible);
1278 if(!primaries.allocWeights(p, pLimit, pCount)) {
1284 p = primaries.nextWeight();
/third_party/ffmpeg/libavformat/
Djpegxl_probe.c340 uint32_t primaries = jxl_enum(gb); in ff_jpegxl_verify_codestream_header() local
341 if (primaries > 63) in ff_jpegxl_verify_codestream_header()
343 if (primaries == FF_JPEGXL_PR_CUSTOM) { in ff_jpegxl_verify_codestream_header()
/third_party/ffmpeg/libavfilter/
Dvf_tonemap_opencl.c56 enum AVColorPrimaries primaries, primaries_in, primaries_out; member
371 if (ctx->primaries != -1) in tonemap_opencl_filter_frame()
372 output->color_primaries = ctx->primaries; in tonemap_opencl_filter_frame()
502 …{ "primaries", "set color primaries", OFFSET(primaries), AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MAX…
503 …{ "p", "set color primaries", OFFSET(primaries), AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MAX…
Dvf_zscale.c95 int primaries; member
561 int colorspace, int primaries, int transfer, int range, int location) in format_init() argument
571 … format->color_primaries = primaries == -1 ? convert_primaries(frame->color_primaries) : primaries; in format_init()
689 if (s->primaries != -1) in update_output_color_information()
836 s->primaries, s->trc, s->range, s->chromal); in filter_frame()
1002 …{ "primaries", "set color primaries", OFFSET(primaries), AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MAX…
1003 …{ "p", "set color primaries", OFFSET(primaries), AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MAX…
/third_party/skia/third_party/externals/egl-registry/extensions/EXT/
DEGL_EXT_gl_colorspace_scrgb.txt50 It has the same white point and color primaries as sRGB, and thus is
95 scRGB is defined to use the same primaries and white-point as sRGB.
DEGL_EXT_gl_colorspace_scrgb_linear.txt50 It has the same white point and color primaries as sRGB, and thus is
86 primaries and white-point as sRGB. See IEC 61966-2-2:2003 for details.
/third_party/EGL/extensions/EXT/
DEGL_EXT_gl_colorspace_scrgb.txt50 It has the same white point and color primaries as sRGB, and thus is
95 scRGB is defined to use the same primaries and white-point as sRGB.
DEGL_EXT_gl_colorspace_scrgb_linear.txt50 It has the same white point and color primaries as sRGB, and thus is
86 primaries and white-point as sRGB. See IEC 61966-2-2:2003 for details.
/third_party/ffmpeg/libavutil/
Dpixdesc.h230 const char *av_color_primaries_name(enum AVColorPrimaries primaries);
/third_party/skia/tests/
DColorSpaceTest.cpp206 static inline void check_primaries(skiatest::Reporter* r, const SkColorSpacePrimaries& primaries, in check_primaries() argument
209 bool result = primaries.toXYZD50(&toXYZ); in check_primaries()
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/
DVK_EXT_hdr_metadata.adoc21 The metadata includes the color primaries, white point, and luminance range
DVK_EXT_hdr_metadata.txt21 The metadata includes the color primaries, white point, and luminance range

123