Home
last modified time | relevance | path

Searched refs:mastering_metadata (Results 1 – 25 of 30) sorted by relevance

12

/external/libwebm/webm_parser/tests/
Dmastering_metadata_parser_test.cc29 const MasteringMetadata mastering_metadata = parser_.value(); in TEST_F() local
31 EXPECT_FALSE(mastering_metadata.primary_r_chromaticity_x.is_present()); in TEST_F()
32 EXPECT_EQ(0, mastering_metadata.primary_r_chromaticity_x.value()); in TEST_F()
34 EXPECT_FALSE(mastering_metadata.primary_r_chromaticity_y.is_present()); in TEST_F()
35 EXPECT_EQ(0, mastering_metadata.primary_r_chromaticity_y.value()); in TEST_F()
37 EXPECT_FALSE(mastering_metadata.primary_g_chromaticity_x.is_present()); in TEST_F()
38 EXPECT_EQ(0, mastering_metadata.primary_g_chromaticity_x.value()); in TEST_F()
40 EXPECT_FALSE(mastering_metadata.primary_g_chromaticity_y.is_present()); in TEST_F()
41 EXPECT_EQ(0, mastering_metadata.primary_g_chromaticity_y.value()); in TEST_F()
43 EXPECT_FALSE(mastering_metadata.primary_b_chromaticity_x.is_present()); in TEST_F()
[all …]
Dcolour_parser_test.cc75 EXPECT_FALSE(colour.mastering_metadata.is_present()); in TEST_F()
76 EXPECT_EQ(MasteringMetadata{}, colour.mastering_metadata.value()); in TEST_F()
169 EXPECT_TRUE(colour.mastering_metadata.is_present()); in TEST_F()
170 EXPECT_EQ(MasteringMetadata{}, colour.mastering_metadata.value()); in TEST_F()
279 MasteringMetadata mastering_metadata{}; in TEST_F() local
280 mastering_metadata.primary_r_chromaticity_x.Set(1.0, true); in TEST_F()
281 EXPECT_TRUE(colour.mastering_metadata.is_present()); in TEST_F()
282 EXPECT_EQ(mastering_metadata, colour.mastering_metadata.value()); in TEST_F()
/external/webrtc/common_video/test/
Dutilities.cc19 hdr_metadata.mastering_metadata.luminance_max = 2000.0; in CreateTestHdrMetadata()
20 hdr_metadata.mastering_metadata.luminance_min = 2.0001; in CreateTestHdrMetadata()
21 hdr_metadata.mastering_metadata.primary_r.x = 0.3003; in CreateTestHdrMetadata()
22 hdr_metadata.mastering_metadata.primary_r.y = 0.4004; in CreateTestHdrMetadata()
23 hdr_metadata.mastering_metadata.primary_g.x = 0.3201; in CreateTestHdrMetadata()
24 hdr_metadata.mastering_metadata.primary_g.y = 0.4604; in CreateTestHdrMetadata()
25 hdr_metadata.mastering_metadata.primary_b.x = 0.3409; in CreateTestHdrMetadata()
26 hdr_metadata.mastering_metadata.primary_b.y = 0.4907; in CreateTestHdrMetadata()
27 hdr_metadata.mastering_metadata.white_point.x = 0.4103; in CreateTestHdrMetadata()
28 hdr_metadata.mastering_metadata.white_point.y = 0.4806; in CreateTestHdrMetadata()
/external/webrtc/api/video/
Dhdr_metadata.h84 (mastering_metadata == rhs.mastering_metadata));
91 mastering_metadata.Validate(); in Validate()
94 HdrMasteringMetadata mastering_metadata; member
/external/webrtc/modules/rtp_rtcp/source/
Drtp_header_extensions.cc652 &hdr_metadata->mastering_metadata.luminance_max, in ParseHdrMetadata()
655 &hdr_metadata->mastering_metadata.luminance_min, in ParseHdrMetadata()
658 &hdr_metadata->mastering_metadata.primary_r); in ParseHdrMetadata()
660 &hdr_metadata->mastering_metadata.primary_g); in ParseHdrMetadata()
662 &hdr_metadata->mastering_metadata.primary_b); in ParseHdrMetadata()
664 &hdr_metadata->mastering_metadata.white_point); in ParseHdrMetadata()
700 hdr_metadata.mastering_metadata.luminance_max, in WriteHdrMetadata()
703 hdr_metadata.mastering_metadata.luminance_min, in WriteHdrMetadata()
706 hdr_metadata.mastering_metadata.primary_r); in WriteHdrMetadata()
708 hdr_metadata.mastering_metadata.primary_g); in WriteHdrMetadata()
[all …]
/external/webrtc/docs/native-code/rtp-hdrext/color-space/
DREADME.md39 | luminance_min | mastering_metadata.|
41 |primary_r.x and .y | mastering_metadata.|
43 |primary_g.x and .y | mastering_metadata.|
45 |primary_b.x and .y | mastering_metadata.|
/external/libwebm/webm_parser/demo/
Ddemo.cc730 PrintMasterElement("MasteringMetadata", colour.mastering_metadata); in PrintMasterElement()
733 void PrintMasterElement(const MasteringMetadata& mastering_metadata) { in PrintMasterElement() argument
735 mastering_metadata.primary_r_chromaticity_x); in PrintMasterElement()
737 mastering_metadata.primary_r_chromaticity_y); in PrintMasterElement()
739 mastering_metadata.primary_g_chromaticity_x); in PrintMasterElement()
741 mastering_metadata.primary_g_chromaticity_y); in PrintMasterElement()
743 mastering_metadata.primary_b_chromaticity_x); in PrintMasterElement()
745 mastering_metadata.primary_b_chromaticity_y); in PrintMasterElement()
747 mastering_metadata.white_point_chromaticity_x); in PrintMasterElement()
749 mastering_metadata.white_point_chromaticity_y); in PrintMasterElement()
[all …]
/external/libvpx/libvpx/third_party/libwebm/common/
Dhdr_util.cc111 if (parser_colour.mastering_metadata) { in CopyColour()
113 if (!CopyMasteringMetadata(*parser_colour.mastering_metadata, &muxer_mm)) in CopyColour()
/external/libwebm/common/
Dhdr_util.cc111 if (parser_colour.mastering_metadata) { in CopyColour()
113 if (!CopyMasteringMetadata(*parser_colour.mastering_metadata, &muxer_mm)) in CopyColour()
/external/libaom/libaom/third_party/libwebm/common/
Dhdr_util.cc111 if (parser_colour.mastering_metadata) { in CopyColour()
113 if (!CopyMasteringMetadata(*parser_colour.mastering_metadata, &muxer_mm)) in CopyColour()
/external/libvpx/libwebm/mkvparser/
Dmkvparser.h421 MasteringMetadata** mastering_metadata);
450 mastering_metadata(NULL) {} in Colour()
452 delete mastering_metadata; in ~Colour() local
453 mastering_metadata = NULL; in ~Colour()
473 MasteringMetadata* mastering_metadata; member
/external/libaom/libaom/third_party/libwebm/mkvparser/
Dmkvparser.h421 MasteringMetadata** mastering_metadata);
450 mastering_metadata(NULL) {} in Colour()
452 delete mastering_metadata; in ~Colour() local
453 mastering_metadata = NULL; in ~Colour()
473 MasteringMetadata* mastering_metadata; member
/external/libwebm/mkvparser/
Dmkvparser.h421 MasteringMetadata** mastering_metadata);
450 mastering_metadata(NULL) {} in Colour()
452 delete mastering_metadata; in ~Colour() local
453 mastering_metadata = NULL; in ~Colour()
473 MasteringMetadata* mastering_metadata; member
/external/libvpx/libvpx/third_party/libwebm/mkvparser/
Dmkvparser.h421 MasteringMetadata** mastering_metadata);
450 mastering_metadata(NULL) {} in Colour()
452 delete mastering_metadata; in ~Colour() local
453 mastering_metadata = NULL; in ~Colour()
473 MasteringMetadata* mastering_metadata; member
/external/libwebm/webm_parser/src/
Dcolour_parser.h50 &Colour::mastering_metadata)) {} in ColourParser()
/external/libwebm/webm_parser/include/webm/
Ddom_types.h876 Element<MasteringMetadata> mastering_metadata; member
893 mastering_metadata == other.mastering_metadata;
/external/libwebm/
Dmkvparser_sample.cc273 if (colour->mastering_metadata) { in main()
275 colour->mastering_metadata; in main()
/external/libaom/libaom/third_party/libwebm/mkvmuxer/
Dmkvmuxer.cc1242 bool Colour::SetMasteringMetadata(const MasteringMetadata& mastering_metadata) { in SetMasteringMetadata() argument
1247 mm_ptr->set_luminance_max(mastering_metadata.luminance_max()); in SetMasteringMetadata()
1248 mm_ptr->set_luminance_min(mastering_metadata.luminance_min()); in SetMasteringMetadata()
1250 if (!mm_ptr->SetChromaticity(mastering_metadata.r(), mastering_metadata.g(), in SetMasteringMetadata()
1251 mastering_metadata.b(), in SetMasteringMetadata()
1252 mastering_metadata.white_point())) { in SetMasteringMetadata()
1576 if (colour.mastering_metadata()) { in SetColour()
1577 if (!colour_ptr->SetMasteringMetadata(*colour.mastering_metadata())) in SetColour()
Dmkvmuxer.h529 bool SetMasteringMetadata(const MasteringMetadata& mastering_metadata);
531 const MasteringMetadata* mastering_metadata() const { in mastering_metadata() function
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/
Dmkvmuxer.cc1242 bool Colour::SetMasteringMetadata(const MasteringMetadata& mastering_metadata) { in SetMasteringMetadata() argument
1247 mm_ptr->set_luminance_max(mastering_metadata.luminance_max()); in SetMasteringMetadata()
1248 mm_ptr->set_luminance_min(mastering_metadata.luminance_min()); in SetMasteringMetadata()
1250 if (!mm_ptr->SetChromaticity(mastering_metadata.r(), mastering_metadata.g(), in SetMasteringMetadata()
1251 mastering_metadata.b(), in SetMasteringMetadata()
1252 mastering_metadata.white_point())) { in SetMasteringMetadata()
1576 if (colour.mastering_metadata()) { in SetColour()
1577 if (!colour_ptr->SetMasteringMetadata(*colour.mastering_metadata())) in SetColour()
Dmkvmuxer.h529 bool SetMasteringMetadata(const MasteringMetadata& mastering_metadata);
531 const MasteringMetadata* mastering_metadata() const { in mastering_metadata() function
/external/libwebm/mkvmuxer/
Dmkvmuxer.cc1242 bool Colour::SetMasteringMetadata(const MasteringMetadata& mastering_metadata) { in SetMasteringMetadata() argument
1247 mm_ptr->set_luminance_max(mastering_metadata.luminance_max()); in SetMasteringMetadata()
1248 mm_ptr->set_luminance_min(mastering_metadata.luminance_min()); in SetMasteringMetadata()
1250 if (!mm_ptr->SetChromaticity(mastering_metadata.r(), mastering_metadata.g(), in SetMasteringMetadata()
1251 mastering_metadata.b(), in SetMasteringMetadata()
1252 mastering_metadata.white_point())) { in SetMasteringMetadata()
1576 if (colour.mastering_metadata()) { in SetColour()
1577 if (!colour_ptr->SetMasteringMetadata(*colour.mastering_metadata())) in SetColour()
Dmkvmuxer.h529 bool SetMasteringMetadata(const MasteringMetadata& mastering_metadata);
531 const MasteringMetadata* mastering_metadata() const { in mastering_metadata() function
/external/libwebm/testing/
Dmkvparser_tests.cc633 video_track->GetColour()->mastering_metadata; in TEST_F()
Dmkvmuxer_tests.cc861 parser_colour->mastering_metadata; in TEST_F()

12