Home
last modified time | relevance | path

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

123

/external/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 …]
/external/skqp/gm/
Dreadpixels.cpp64 static sk_sp<SkColorSpace> make_parametric_transfer_fn(const SkColorSpacePrimaries& primaries) { in make_parametric_transfer_fn() argument
66 SkAssertResult(primaries.toXYZD50(&toXYZD50)); in make_parametric_transfer_fn()
73 SkColorSpacePrimaries primaries; in make_wide_gamut() local
74 primaries.fRX = 0.7347f; in make_wide_gamut()
75 primaries.fRY = 0.2653f; in make_wide_gamut()
76 primaries.fGX = 0.1596f; in make_wide_gamut()
77 primaries.fGY = 0.8404f; in make_wide_gamut()
78 primaries.fBX = 0.0366f; in make_wide_gamut()
79 primaries.fBY = 0.0001f; in make_wide_gamut()
80 primaries.fWX = 0.34567f; in make_wide_gamut()
[all …]
/external/webrtc/modules/video_coding/codecs/h264/
Dh264_color_space.cc21 ColorSpace::PrimaryID primaries = ColorSpace::PrimaryID::kUnspecified; in ExtractH264ColorSpace() local
24 primaries = ColorSpace::PrimaryID::kBT709; in ExtractH264ColorSpace()
27 primaries = ColorSpace::PrimaryID::kBT470M; in ExtractH264ColorSpace()
30 primaries = ColorSpace::PrimaryID::kBT470BG; in ExtractH264ColorSpace()
33 primaries = ColorSpace::PrimaryID::kSMPTE170M; in ExtractH264ColorSpace()
36 primaries = ColorSpace::PrimaryID::kSMPTE240M; in ExtractH264ColorSpace()
39 primaries = ColorSpace::PrimaryID::kFILM; in ExtractH264ColorSpace()
42 primaries = ColorSpace::PrimaryID::kBT2020; in ExtractH264ColorSpace()
45 primaries = ColorSpace::PrimaryID::kSMPTEST428; in ExtractH264ColorSpace()
48 primaries = ColorSpace::PrimaryID::kSMPTEST431; in ExtractH264ColorSpace()
[all …]
/external/libwebm/webm_parser/tests/
Dcolour_parser_test.cc66 EXPECT_FALSE(colour.primaries.is_present()); in TEST_F()
67 EXPECT_EQ(Primaries::kUnspecified, colour.primaries.value()); in TEST_F()
160 EXPECT_TRUE(colour.primaries.is_present()); in TEST_F()
161 EXPECT_EQ(Primaries::kUnspecified, colour.primaries.value()); in TEST_F()
270 EXPECT_TRUE(colour.primaries.is_present()); in TEST_F()
271 EXPECT_EQ(Primaries::kBt470Bg, colour.primaries.value()); in TEST_F()
/external/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()
/external/v4l2_codec2/components/
DV4L2DecodeInterface.cpp76 if (def.v.primaries > C2Color::PRIMARIES_OTHER) { in DefaultColorAspectsSetter()
77 def.set().primaries = C2Color::PRIMARIES_OTHER; in DefaultColorAspectsSetter()
95 merged.set().primaries = in MergedColorAspectsSetter()
96 coded.v.primaries == PRIMARIES_UNSPECIFIED ? def.v.primaries : coded.v.primaries; in MergedColorAspectsSetter()
274 C2F(mDefaultColorAspects, primaries) in V4L2DecodeInterface()
293 C2F(mCodedColorAspects, primaries) in V4L2DecodeInterface()
312 C2F(mColorAspects, primaries) in V4L2DecodeInterface()
/external/webrtc/api/video/
Dcolor_space.cc71 ColorSpace::ColorSpace(PrimaryID primaries, in ColorSpace() argument
75 : ColorSpace(primaries, in ColorSpace()
83 ColorSpace::ColorSpace(PrimaryID primaries, in ColorSpace() argument
90 : primaries_(primaries), in ColorSpace()
99 ColorSpace::PrimaryID ColorSpace::primaries() const { in primaries() function in webrtc::ColorSpace
Dcolor_space.h129 ColorSpace(PrimaryID primaries,
133 ColorSpace(PrimaryID primaries,
151 PrimaryID primaries() const;
/external/cldr/tools/java/org/unicode/cldr/posix/
DPOSIX_LCCollate.java188 w.primaries.setBits(needToWrite); in writeList()
236 result.append(w.primaries) in showLine()
275 WeightList primaries = new WeightList(); field in POSIX_LCCollate.Weights
284 primaries.append(p); in Weights()
293 return primaries.equals(that.primaries) in equals()
300 return (primaries.hashCode() * 37 in hashCode()
/external/icu/libicu/cts_headers/
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,
/external/icu/icu4c/source/i18n/
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,
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 …]
/external/icu/android_icu4j/src/main/java/android/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()
/external/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()
/external/webrtc/docs/native-code/rtp-hdrext/color-space/
DREADME.md24 | ID | L = 3 | primaries | transfer | matrix |
35 | ID | length=28 | primaries | transfer |
55 * Color primaries value according to ITU-T H.273 Table 2.
/external/v4l2_codec2/common/include/v4l2_codec2/common/
DNalParser.h22 int32_t primaries; member
/external/libvpx/libvpx/third_party/libwebm/common/
Dhdr_util.cc104 if (ColourValuePresent(parser_colour.primaries)) in CopyColour()
105 muxer_colour->set_primaries(parser_colour.primaries); in CopyColour()
/external/libwebm/common/
Dhdr_util.cc104 if (ColourValuePresent(parser_colour.primaries)) in CopyColour()
105 muxer_colour->set_primaries(parser_colour.primaries); in CopyColour()
/external/libaom/libaom/third_party/libwebm/common/
Dhdr_util.cc104 if (ColourValuePresent(parser_colour.primaries)) in CopyColour()
105 muxer_colour->set_primaries(parser_colour.primaries); in CopyColour()
/external/webrtc/common_video/h264/
Dsps_vui_rewriter.cc486 color_space.primaries() == ColorSpace::PrimaryID::kUnspecified && in IsDefaultColorSpace()
502 destination->WriteUInt8(static_cast<uint8_t>(color_space.primaries()))); in AddVideoSignalTypeInfo()
562 color_space->primaries() != ColorSpace::PrimaryID::kUnspecified || in CopyOrRewriteVideoSignalTypeInfo()
566 static_cast<uint8_t>(color_space->primaries()); in CopyOrRewriteVideoSignalTypeInfo()
/external/libwebm/webm_parser/src/
Dcolour_parser.h46 MakeChild<IntParser<Primaries>>(Id::kPrimaries, &Colour::primaries), in ColourParser()
/external/webrtc/api/video/test/
Dcolor_space_unittest.cc22 EXPECT_EQ(ColorSpace::PrimaryID::kBT470BG, color_space.primaries()); in TEST()
/external/webrtc/modules/video_coding/codecs/h264/test/
Dh264_impl_unittest.cc73 EXPECT_EQ(ColorSpace::PrimaryID::kUnspecified, color_space.primaries()); in TEST_F()
/external/skqp/tools/viewer/
DViewer.cpp1375 static void ImGui_Primaries(SkColorSpacePrimaries* primaries, SkPaint* gamutPaint) { in ImGui_Primaries() argument
1391 ImVec2 r = ImGui_DragPrimary("R", &primaries->fRX, &primaries->fRY, pos, size); in ImGui_Primaries()
1392 ImVec2 g = ImGui_DragPrimary("G", &primaries->fGX, &primaries->fGY, pos, size); in ImGui_Primaries()
1393 ImVec2 b = ImGui_DragPrimary("B", &primaries->fBX, &primaries->fBY, pos, size); in ImGui_Primaries()
1394 ImVec2 w = ImGui_DragPrimary("W", &primaries->fWX, &primaries->fWY, pos, size); in ImGui_Primaries()
/external/libwebm/webm_parser/include/webm/
Ddom_types.h861 Element<Primaries> primaries{Primaries::kUnspecified};
891 primaries == other.primaries && max_cll == other.max_cll &&

123