/external/webrtc/modules/video_coding/codecs/h264/ |
D | h264_color_space.cc | 20 ColorSpace ExtractH264ColorSpace(AVCodecContext* codec) { in ExtractH264ColorSpace() 21 ColorSpace::PrimaryID primaries = ColorSpace::PrimaryID::kUnspecified; in ExtractH264ColorSpace() 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() [all …]
|
/external/webrtc/api/video/ |
D | color_space.cc | 55 ColorSpace::ChromaSiting* chroma_siting) { in SetChromaSitingFromUint8() 56 constexpr ColorSpace::ChromaSiting kChromaSitings[] = { in SetChromaSitingFromUint8() 57 ColorSpace::ChromaSiting::kUnspecified, in SetChromaSitingFromUint8() 58 ColorSpace::ChromaSiting::kCollocated, ColorSpace::ChromaSiting::kHalf}; in SetChromaSitingFromUint8() 66 ColorSpace::ColorSpace() = default; 67 ColorSpace::ColorSpace(const ColorSpace& other) = default; 68 ColorSpace::ColorSpace(ColorSpace&& other) = default; 69 ColorSpace& ColorSpace::operator=(const ColorSpace& other) = default; 71 ColorSpace::ColorSpace(PrimaryID primaries, in ColorSpace() function in webrtc::ColorSpace 75 : ColorSpace(primaries, in ColorSpace() [all …]
|
D | color_space.h | 35 class RTC_EXPORT ColorSpace { 125 ColorSpace(); 126 ColorSpace(const ColorSpace& other); 127 ColorSpace(ColorSpace&& other); 128 ColorSpace& operator=(const ColorSpace& other); 129 ColorSpace(PrimaryID primaries, 133 ColorSpace(PrimaryID primaries, 140 friend bool operator==(const ColorSpace& lhs, const ColorSpace& rhs) { 147 friend bool operator!=(const ColorSpace& lhs, const ColorSpace& rhs) {
|
D | video_frame.h | 95 Builder& set_color_space(const absl::optional<ColorSpace>& color_space); 96 Builder& set_color_space(const ColorSpace* color_space); 108 absl::optional<ColorSpace> color_space_; 184 const absl::optional<ColorSpace>& color_space() const { return color_space_; } in color_space() 185 void set_color_space(const absl::optional<ColorSpace>& color_space) { in set_color_space() 246 const absl::optional<ColorSpace>& color_space, 257 absl::optional<ColorSpace> color_space_;
|
D | encoded_image.h | 110 const webrtc::ColorSpace* ColorSpace() const { in ColorSpace() function 113 void SetColorSpace(const absl::optional<webrtc::ColorSpace>& color_space) { in SetColorSpace() 212 absl::optional<webrtc::ColorSpace> color_space_;
|
/external/webrtc/api/video/test/ |
D | color_space_unittest.cc | 18 TEST(ColorSpace, TestSettingPrimariesFromUint8) { in TEST() argument 19 ColorSpace color_space; in TEST() 21 static_cast<uint8_t>(ColorSpace::PrimaryID::kBT470BG))); in TEST() 22 EXPECT_EQ(ColorSpace::PrimaryID::kBT470BG, color_space.primaries()); in TEST() 28 TEST(ColorSpace, TestSettingTransferFromUint8) { in TEST() argument 29 ColorSpace color_space; in TEST() 31 static_cast<uint8_t>(ColorSpace::TransferID::kBT2020_10))); in TEST() 32 EXPECT_EQ(ColorSpace::TransferID::kBT2020_10, color_space.transfer()); in TEST() 38 TEST(ColorSpace, TestSettingMatrixFromUint8) { in TEST() argument 39 ColorSpace color_space; in TEST() [all …]
|
/external/webrtc/common_video/h264/ |
D | sps_vui_rewriter_unittest.cc | 152 static const webrtc::ColorSpace kColorSpaceH264Default( 153 ColorSpace::PrimaryID::kUnspecified, 154 ColorSpace::TransferID::kUnspecified, 155 ColorSpace::MatrixID::kUnspecified, 156 ColorSpace::RangeID::kLimited); 158 static const webrtc::ColorSpace kColorSpacePrimariesBt709( 159 ColorSpace::PrimaryID::kBT709, 160 ColorSpace::TransferID::kUnspecified, 161 ColorSpace::MatrixID::kUnspecified, 162 ColorSpace::RangeID::kLimited); [all …]
|
D | sps_vui_rewriter.cc | 78 const webrtc::ColorSpace* color_space, 84 bool IsDefaultColorSpace(const ColorSpace& color_space); 86 const ColorSpace& color_space); 90 const ColorSpace* color_space, 129 const webrtc::ColorSpace* color_space, in ParseAndRewriteSps() 204 const webrtc::ColorSpace* color_space, in ParseAndRewriteSps() 218 const webrtc::ColorSpace* color_space, in ParseOutgoingBitstreamAndRewriteSps() 285 const webrtc::ColorSpace* color_space, in CopyAndRewriteVui() 484 bool IsDefaultColorSpace(const ColorSpace& color_space) { in IsDefaultColorSpace() 485 return color_space.range() != ColorSpace::RangeID::kFull && in IsDefaultColorSpace() [all …]
|
D | sps_vui_rewriter.h | 49 const ColorSpace* color_space, 63 const ColorSpace* color_space, 73 const ColorSpace* color_space,
|
/external/webrtc/common_video/test/ |
D | utilities.cc | 34 ColorSpace CreateTestColorSpace(bool with_hdr_metadata) { in CreateTestColorSpace() 36 return ColorSpace( in CreateTestColorSpace() 37 ColorSpace::PrimaryID::kBT709, ColorSpace::TransferID::kGAMMA22, in CreateTestColorSpace() 38 ColorSpace::MatrixID::kSMPTE2085, ColorSpace::RangeID::kFull, in CreateTestColorSpace() 39 ColorSpace::ChromaSiting::kCollocated, in CreateTestColorSpace() 40 ColorSpace::ChromaSiting::kCollocated, in CreateTestColorSpace()
|
/external/pdfium/testing/resources/pixel/ |
D | matte.in | 56 /ColorSpace /DeviceRGB 71 /ColorSpace /DeviceGray 86 /ColorSpace /DeviceRGB 101 /ColorSpace /DeviceGray 115 /ColorSpace /DeviceRGB 130 /ColorSpace /DeviceGray 145 /ColorSpace /DeviceRGB 160 /ColorSpace /DeviceGray
|
D | bug_1314.in | 61 /ColorSpace /DeviceRGB 70 /ColorSpace /DeviceRGB 79 /ColorSpace /DeviceRGB
|
D | bug_71.in | 18 /ColorSpace << 49 /ColorSpace 5 0 R
|
D | bug_1236.in | 40 /ColorSpace /DeviceGray 66 /ColorSpace /DeviceGray
|
/external/webrtc/modules/video_coding/codecs/h264/test/ |
D | h264_impl_unittest.cc | 72 const ColorSpace color_space = *decoded_frame->color_space(); in TEST_F() 73 EXPECT_EQ(ColorSpace::PrimaryID::kUnspecified, color_space.primaries()); in TEST_F() 74 EXPECT_EQ(ColorSpace::TransferID::kUnspecified, color_space.transfer()); in TEST_F() 75 EXPECT_EQ(ColorSpace::MatrixID::kUnspecified, color_space.matrix()); in TEST_F() 76 EXPECT_EQ(ColorSpace::RangeID::kInvalid, color_space.range()); in TEST_F() 77 EXPECT_EQ(ColorSpace::ChromaSiting::kUnspecified, in TEST_F() 79 EXPECT_EQ(ColorSpace::ChromaSiting::kUnspecified, in TEST_F()
|
/external/pdfium/third_party/lcms/src/ |
D | cmsvirt.c | 289 cmsColorSpaceSignature ColorSpace, in cmsCreateLinearizationDeviceLinkTHR() argument 303 cmsSetColorSpace(hICC, ColorSpace); in cmsCreateLinearizationDeviceLinkTHR() 304 cmsSetPCS(hICC, ColorSpace); in cmsCreateLinearizationDeviceLinkTHR() 309 nChannels = cmsChannelsOf(ColorSpace); in cmsCreateLinearizationDeviceLinkTHR() 340 cmsHPROFILE CMSEXPORT cmsCreateLinearizationDeviceLink(cmsColorSpaceSignature ColorSpace, in cmsCreateLinearizationDeviceLink() argument 343 return cmsCreateLinearizationDeviceLinkTHR(NULL, ColorSpace, TransferFunctions); in cmsCreateLinearizationDeviceLink() 394 cmsColorSpaceSignature ColorSpace, in cmsCreateInkLimitingDeviceLinkTHR() argument 402 if (ColorSpace != cmsSigCmykData) { in cmsCreateInkLimitingDeviceLinkTHR() 422 cmsSetColorSpace(hICC, ColorSpace); in cmsCreateInkLimitingDeviceLinkTHR() 423 cmsSetPCS(hICC, ColorSpace); in cmsCreateInkLimitingDeviceLinkTHR() [all …]
|
D | cmsps2.c | 282 cmsColorSpaceSignature ColorSpace; // ColorSpace of profile member 602 if (!_cmsEndPointsBySpace(sc ->ColorSpace, &White, &Black, &nOutputs)) in OutputValueSampler() 669 cmsColorSpaceSignature ColorSpace) in WriteCLUT() argument 684 sc.ColorSpace = ColorSpace; in WriteCLUT() 949 cmsColorSpaceSignature ColorSpace; in WriteInputMatrixShaper() local 953 ColorSpace = cmsGetColorSpace(hProfile); in WriteInputMatrixShaper() 957 if (ColorSpace == cmsSigGrayData) { in WriteInputMatrixShaper() 964 if (ColorSpace == cmsSigRgbData) { in WriteInputMatrixShaper() 1064 cmsColorSpaceSignature ColorSpace = cmsGetPCS(hProfile); in GenerateCSA() local 1066 if (ColorSpace != cmsSigXYZData && in GenerateCSA() [all …]
|
/external/webrtc/modules/video_coding/utility/ |
D | vp9_uncompressed_header_parser.h | 33 enum class ColorSpace : uint8_t { enum 71 ColorSpace color_space = ColorSpace::CS_UNKNOWN;
|
/external/webrtc/modules/video_coding/codecs/vp9/ |
D | vp9_impl.cc | 88 ColorSpace ExtractVP9ColorSpace(vpx_color_space_t space_t, in ExtractVP9ColorSpace() 91 ColorSpace::PrimaryID primaries = ColorSpace::PrimaryID::kUnspecified; in ExtractVP9ColorSpace() 92 ColorSpace::TransferID transfer = ColorSpace::TransferID::kUnspecified; in ExtractVP9ColorSpace() 93 ColorSpace::MatrixID matrix = ColorSpace::MatrixID::kUnspecified; in ExtractVP9ColorSpace() 97 primaries = ColorSpace::PrimaryID::kSMPTE170M; in ExtractVP9ColorSpace() 98 transfer = ColorSpace::TransferID::kSMPTE170M; in ExtractVP9ColorSpace() 99 matrix = ColorSpace::MatrixID::kSMPTE170M; in ExtractVP9ColorSpace() 102 primaries = ColorSpace::PrimaryID::kSMPTE240M; in ExtractVP9ColorSpace() 103 transfer = ColorSpace::TransferID::kSMPTE240M; in ExtractVP9ColorSpace() 104 matrix = ColorSpace::MatrixID::kSMPTE240M; in ExtractVP9ColorSpace() [all …]
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | rtp_header_extensions.h | 221 using value_type = ColorSpace; 229 ColorSpace* color_space); 230 static size_t ValueSize(const ColorSpace& color_space) { in ValueSize() 235 const ColorSpace& color_space); 243 ColorSpace::RangeID range, 244 ColorSpace::ChromaSiting chroma_siting_horizontal, 245 ColorSpace::ChromaSiting chroma_siting_vertical);
|
/external/skia/modules/canvaskit/npm_build/types/ |
D | index.d.ts | 217 MakeWebGLCanvasSurface(canvas: HTMLCanvasElement | string, colorSpace?: ColorSpace, 251 colorSpace: ColorSpace): Surface | null; 447 readonly ColorSpace: ColorSpaceEnumValues; property 1566 colorSpace?: ColorSpace): boolean; 1791 getColorSpace(): ColorSpace; 1867 colorSpace: ColorSpace; 1969 setColor(color: InputColor, colorSpace?: ColorSpace): void; 1981 setColorComponents(r: number, g: number, b: number, a: number, colorSpace?: ColorSpace): void; 1995 setColorInt(color: ColorInt, colorSpace?: ColorSpace): void; 3308 MakeColor(color: InputColor, space: ColorSpace): Shader; [all …]
|
D | canvaskit-wasm-tests.ts | 162 colorSpace: CK.ColorSpace.SRGB, 170 colorSpace: CK.ColorSpace.SRGB, 186 CK.ColorType.Alpha_8, CK.ColorSpace.DISPLAY_P3); 262 colorSpace: CK.ColorSpace.SRGB 279 colorSpace: CK.ColorSpace.SRGB, 287 colorSpace: CK.ColorSpace.SRGB, 397 paint.setColor([0, 0, 1.2, 0.5], CK.ColorSpace.DISPLAY_P3); 399 paint.setColorComponents(0, 0, 1.2, 0.5, CK.ColorSpace.DISPLAY_P3); 402 paint.setColorInt(CK.ColorAsInt(20, 30, 40), CK.ColorSpace.SRGB); 716 CK.ColorSpace.SRGB); [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowColorSpace.java | 4 import android.graphics.ColorSpace; 17 @Implements(value = ColorSpace.Rgb.class, minSdk = O)
|
/external/mesa3d/src/gallium/targets/haiku-softpipe/ |
D | SoftwareRenderer.cpp | 70 fColorSpace = BScreen(view->Window()).ColorSpace(); in SoftwareRenderer() 112 color_space cs = BScreen(GLView()->Window()).ColorSpace(); in LockGL() 216 color_space scs = fBitmap->ColorSpace(); in CopyPixelsOut() 217 color_space dcs = bitmap->ColorSpace(); in CopyPixelsOut() 259 color_space sourceCS = bitmap->ColorSpace(); in CopyPixelsIn() 260 color_space destinationCS = fBitmap->ColorSpace(); in CopyPixelsIn()
|
/external/skia/modules/canvaskit/tests/ |
D | core.spec.js | 143 colorSpace: CanvasKit.ColorSpace.SRGB, 232 'colorSpace': CanvasKit.ColorSpace.SRGB 244 expect(CanvasKit.ColorSpace.Equals(cs, CanvasKit.ColorSpace.SRGB)).toBeTruthy(); 1081 const colorSpace = CanvasKit.ColorSpace.SRGB; 1082 const surface = CanvasKit.MakeCanvasSurface('test', CanvasKit.ColorSpace.SRGB); 1087 expect(CanvasKit.ColorSpace.Equals(info.colorSpace, colorSpace)) 1108 const colorSpace = CanvasKit.ColorSpace.DISPLAY_P3; 1109 const surface = CanvasKit.MakeCanvasSurface('test', CanvasKit.ColorSpace.DISPLAY_P3); 1118 expect(CanvasKit.ColorSpace.Equals(info.colorSpace, colorSpace)) 1131 const colorSpace = CanvasKit.ColorSpace.ADOBE_RGB; [all …]
|