Home
last modified time | relevance | path

Searched refs:kRGB (Results 1 – 22 of 22) sorted by relevance

/external/pdfium/core/fxge/
Dcfx_color.cpp15 static_assert(CFX_Color::kGray < CFX_Color::kRGB,
17 static_assert(CFX_Color::kRGB < CFX_Color::kCMYK,
42 return CFX_Color(CFX_Color::kRGB); in ConvertGRAY2RGB()
43 return CFX_Color(CFX_Color::kRGB, dGray, dGray, dGray); in ConvertGRAY2RGB()
54 return CFX_Color(CFX_Color::kRGB); in ConvertCMYK2RGB()
55 return CFX_Color(CFX_Color::kRGB, 1.0f - std::min(1.0f, dC + dK), in ConvertCMYK2RGB()
84 case CFX_Color::kRGB: in ConvertColorType()
92 case CFX_Color::kRGB: in ConvertColorType()
107 case CFX_Color::kRGB: in ConvertColorType()
128 case CFX_Color::kRGB: { in ToFXColor()
[all …]
Dcfx_color.h14 enum Type { kTransparent = 0, kGray, kRGB, kCMYK }; enumerator
31 : nColorType(CFX_Color::kRGB), in CFX_Color()
/external/skia/modules/skottie/src/effects/
DInvertEffect.cpp44 enum class CS { kRGB, kHSL, kYIQ }; in onSync() enumerator
75 case kR_Channel: return { {-1, 1, 1, 1}, { 1,0,0,0}, CS::kRGB }; // r' = 1 - r in onSync()
76 case kG_Channel: return { { 1,-1, 1, 1}, { 0,1,0,0}, CS::kRGB }; // g' = 1 - g in onSync()
77 case kB_Channel: return { { 1, 1,-1, 1}, { 0,0,1,0}, CS::kRGB }; // b' = 1 - b in onSync()
78 case kA_Channel: return { { 1, 1, 1,-1}, { 0,0,0,1}, CS::kRGB }; // a' = 1 - a in onSync()
79 case kRGB_Channel: return { {-1,-1,-1, 1}, { 1,1,1,0}, CS::kRGB }; in onSync()
91 default: return { { 1, 1, 1, 1}, { 0,0,0,0}, CS::kRGB }; in onSync()
/external/pdfium/core/fpdfdoc/
Dcpdf_color_utils.cpp22 rt = CFX_Color(CFX_Color::kRGB, array.GetNumberAt(0), in CFXColorFromArray()
42 if (*color_type == CFX_Color::kRGB) in CFXColorFromString()
43 return CFX_Color(CFX_Color::kRGB, values[0], values[1], values[2]); in CFXColorFromString()
Dcpvt_generateap.cpp182 case CFX_Color::kRGB: in GenerateColorAP()
398 << GenerateColorAP(CFX_Color(CFX_Color::kRGB, 0, 0, 0), in GetPopupContentsString()
428 sAppStream << GenerateColorAP(CFX_Color(CFX_Color::kRGB, 1, 1, 0), in GenerateTextSymbolAP()
430 sAppStream << GenerateColorAP(CFX_Color(CFX_Color::kRGB, 0, 0, 0), in GenerateTextSymbolAP()
547 CFX_Color(CFX_Color::kRGB, 0, 0, 0), PaintOperation::STROKE); in GenerateCircleAP()
615 CFX_Color(CFX_Color::kRGB, 1, 1, 0), PaintOperation::FILL); in GenerateHighlightAP()
657 CFX_Color(CFX_Color::kRGB, 0, 0, 0), PaintOperation::STROKE); in GenerateInkAP()
722 CFX_Color(CFX_Color::kRGB, 0, 0, 0), PaintOperation::STROKE); in GenerateUnderlineAP()
751 sAppStream << GenerateColorAP(CFX_Color(CFX_Color::kRGB, 1, 1, 0), in GeneratePopupAP()
753 sAppStream << GenerateColorAP(CFX_Color(CFX_Color::kRGB, 0, 0, 0), in GeneratePopupAP()
[all …]
Dcpdf_defaultappearance.cpp87 return {CFX_Color::kRGB}; in GetColor()
111 if (*type == CFX_Color::kRGB) { in GetColor()
Dcpdf_apsettings.cpp48 iColorType = CFX_Color::kRGB; in GetColor()
96 iColorType = CFX_Color::kRGB; in GetOriginalColor()
/external/tflite-support/tensorflow_lite_support/cc/task/vision/utils/
Dframe_buffer_common_utils.cc71 case FrameBuffer::Format::kRGB: in AreBufferFormatsCompatible()
73 buffer2.format() == FrameBuffer::Format::kRGB); in AreBufferFormatsCompatible()
102 case FrameBuffer::Format::kRGB: in GetFrameBufferByteSize()
117 case FrameBuffer::Format::kRGB: in GetPixelStrides()
187 case FrameBuffer::Format::kRGB: in ValidateBufferFormat()
215 case FrameBuffer::Format::kRGB: in ValidateResizeBufferInputs()
224 output_buffer.format() == FrameBuffer::Format::kRGB); in ValidateResizeBufferInputs()
304 case FrameBuffer::Format::kRGB: in ValidateConvertFormats()
345 FrameBuffer::Format::kRGB, orientation, timestamp); in CreateFromRgbRawBuffer()
415 case FrameBuffer::Format::kRGB: in CreateFromRawBuffer()
Dlibyuv_frame_buffer_utils.cc50 case FrameBuffer::Format::kRGB: { in ConvertFromNv12()
137 case FrameBuffer::Format::kRGB: { in ConvertFromNv21()
227 case FrameBuffer::Format::kRGB: { in ConvertFromYv()
397 if (buffer.format() != FrameBuffer::Format::kRGB) { in ConvertRgbToArgb()
434 if (output_buffer->format() != FrameBuffer::Format::kRGB) { in ConvertArgbToRgb()
646 case FrameBuffer::Format::kRGB: { in ConvertFromRgba()
1323 case FrameBuffer::Format::kRGB: in CropResize()
1349 case FrameBuffer::Format::kRGB: in Crop()
1375 case FrameBuffer::Format::kRGB: in Resize()
1409 case FrameBuffer::Format::kRGB: in Rotate()
[all …]
Dframe_buffer_utils.cc335 case FrameBuffer::Format::kRGB: in GetPlanes()
/external/pdfium/fxjs/
Dcjs_color.cpp66 case CFX_Color::kRGB: in ConvertPWLColorToArray()
116 return CFX_Color(CFX_Color::kRGB, d1, d2, d3); in ConvertArrayToPWLColor()
134 m_crRed(CFX_Color::kRGB, 1, 0, 0), in CJS_Color()
135 m_crGreen(CFX_Color::kRGB, 0, 1, 0), in CJS_Color()
136 m_crBlue(CFX_Color::kRGB, 0, 0, 1), in CJS_Color()
286 nColorType = CFX_Color::kRGB; in convert()
Dcjs_field.cpp1307 } else if (iColorType == CFX_Color::kRGB) { in get_fill_color()
1309 CFX_Color(CFX_Color::kRGB, pFormControl->GetOriginalBackgroundColor(0), in get_fill_color()
1840 } else if (iColorType == CFX_Color::kRGB) { in get_stroke_color()
1841 color = CFX_Color(CFX_Color::kRGB, pFormControl->GetOriginalBorderColor(0), in get_stroke_color()
1951 crRet = CFX_Color(CFX_Color::kRGB, r / 255.0f, g / 255.0f, b / 255.0f); in get_text_color()
/external/tflite-support/tensorflow_lite_support/cc/task/vision/core/
Dbase_vision_task_api.h154 GetBufferByteSize(to_buffer_dimension, FrameBuffer::Format::kRGB); in Preprocess()
163 {preprocessed_plane}, to_buffer_dimension, FrameBuffer::Format::kRGB, in Preprocess()
256 frame_buffer.format() != FrameBuffer::Format::kRGB || in IsImagePreprocessingNeeded()
Dframe_buffer.h78 enum class Format { kRGBA, kRGB, kNV12, kNV21, kYV12, kYV21, kGRAY }; enumerator
/external/angle/src/libANGLE/
DGLES1Shaders.inc211 #define kRGB 0x1907
939 case kRGB:
958 case kRGB:
969 case kRGB:
995 case kRGB:
1017 case kRGB:
/external/webrtc/api/video/
Dcolor_space.h80 kRGB = 0, enumerator
Dcolor_space.cc156 MatrixID::kRGB, MatrixID::kBT709, MatrixID::kUnspecified, in set_matrix_from_uint8()
/external/webrtc/modules/video_coding/codecs/h264/
Dh264_color_space.cc123 matrix = ColorSpace::MatrixID::kRGB; in ExtractH264ColorSpace()
/external/deqp-deps/amber/src/
Dcommand.h405 kRGB = 0, enumerator
412 ColorFormat color_format_ = ColorFormat::kRGB;
/external/pdfium/fpdfsdk/pwl/
Dcpwl_combo_box.cpp307 bcp.sBackgroundColor = CFX_Color(CFX_Color::kRGB, 220.0f / 255.0f, in CreateButton()
/external/pdfium/fpdfsdk/
Dcpdfsdk_appstream.cpp111 case CFX_Color::kRGB: in GetColorAppStream()
1054 sAppStream << GetColorAppStream(CFX_Color(CFX_Color::kRGB, 220.0f / 255.0f, in GetDropButtonAppStream()
1697 sList << GetColorAppStream(CFX_Color(CFX_Color::kRGB, 0, 51.0f / 255.0f, in SetAsListBox()
Dfpdf_annot.cpp609 case CFX_Color::kRGB: in FPDFAnnot_GetColor()