Home
last modified time | relevance | path

Searched refs:RGB (Results 1 – 25 of 485) sorted by relevance

12345678910>>...20

/external/libkmsxx/kms++util/src/
Dtestpat.cpp16 static RGB get_test_pattern_pixel(IFramebuffer& fb, unsigned x, unsigned y) in get_test_pattern_pixel()
30 return RGB(255, 255, 255); in get_test_pattern_pixel()
33 return RGB(255, 255, 255); in get_test_pattern_pixel()
36 return RGB(255, 255, 255); in get_test_pattern_pixel()
39 return RGB(255, 255, 255); in get_test_pattern_pixel()
42 return RGB(0, 0, 255); in get_test_pattern_pixel()
45 return RGB(0, 0, 255); in get_test_pattern_pixel()
48 return RGB(255, 0, 0); in get_test_pattern_pixel()
51 return RGB(255, 0, 0); in get_test_pattern_pixel()
56 return RGB(255, 255, 255); in get_test_pattern_pixel()
[all …]
Dcolor.cpp5 RGB::RGB() in RGB() function in kms::RGB
11 RGB::RGB(uint8_t r, uint8_t g, uint8_t b) in RGB() function in kms::RGB
12 :RGB(255, r, g, b) in RGB()
16 RGB::RGB(uint8_t a, uint8_t r, uint8_t g, uint8_t b) in RGB() function in kms::RGB
24 RGB::RGB(uint32_t argb) in RGB() function in kms::RGB
32 uint32_t RGB::rgb888() const in rgb888()
37 uint32_t RGB::bgr888() const in bgr888()
42 uint32_t RGB::argb8888() const in argb8888()
47 uint32_t RGB::abgr8888() const in abgr8888()
52 uint16_t RGB::rgb565() const in rgb565()
[all …]
Dcolorbar.cpp8 static const RGB colors32[] = {
9 RGB(255, 255, 255),
10 RGB(255, 0, 0),
11 RGB(255, 255, 255),
12 RGB(0, 255, 0),
13 RGB(255, 255, 255),
14 RGB(0, 0, 255),
15 RGB(255, 255, 255),
16 RGB(200, 200, 200),
17 RGB(255, 255, 255),
[all …]
Ddrawing.cpp9 void draw_rgb_pixel(IFramebuffer& buf, unsigned x, unsigned y, RGB color) in draw_rgb_pixel()
155 void draw_rect(IFramebuffer &fb, uint32_t x, uint32_t y, uint32_t w, uint32_t h, RGB color) in draw_rect()
211 static void draw_char(IFramebuffer& buf, uint32_t xpos, uint32_t ypos, char c, RGB color) in draw_char()
229 draw_rgb_pixel(buf, xpos + x, ypos + y, b ? color : RGB()); in draw_char()
244 b0 ? yuvcolor : YUV(RGB()), b1 ? yuvcolor : YUV(RGB())); in draw_char()
259 b00 ? yuvcolor : YUV(RGB()), b10 ? yuvcolor : YUV(RGB()), in draw_char()
260 b01 ? yuvcolor : YUV(RGB()), b11 ? yuvcolor : YUV(RGB())); in draw_char()
269 void draw_text(IFramebuffer& buf, uint32_t x, uint32_t y, const string& str, RGB color) in draw_text()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_program_pair.c53 if (rgb && pair->RGB.Src[RC_PAIR_PRESUB_SRC].Used in rc_pair_alloc_source()
54 && index != pair->RGB.Src[RC_PAIR_PRESUB_SRC].Index) { in rc_pair_alloc_source()
67 if (pair->RGB.Src[i].Used) { in rc_pair_alloc_source()
68 if (pair->RGB.Src[i].File != file || in rc_pair_alloc_source()
69 pair->RGB.Src[i].Index != index) { in rc_pair_alloc_source()
102 pair->RGB.Src[candidate].Used = 1; in rc_pair_alloc_source()
103 pair->RGB.Src[candidate].File = file; in rc_pair_alloc_source()
104 pair->RGB.Src[candidate].Index = index; in rc_pair_alloc_source()
110 pair->RGB.Src[i].Used = 1; in rc_pair_alloc_source()
158 pair->RGB.Src[RC_PAIR_PRESUB_SRC].Index); in pair_foreach_source_callback()
[all …]
Dradeon_program_print.c345 unsigned spaces = update_branch_depth(inst->RGB.Opcode != RC_OPCODE_NOP ? in rc_print_pair_instruction()
346 inst->RGB.Opcode : inst->Alpha.Opcode, branch_depth); in rc_print_pair_instruction()
352 if (inst->RGB.Src[src].Used) { in rc_print_pair_instruction()
356 rc_print_register(f, inst->RGB.Src[src].File, inst->RGB.Src[src].Index, 0); in rc_print_pair_instruction()
367 if(inst->RGB.Src[RC_PAIR_PRESUB_SRC].Used) { in rc_print_pair_instruction()
370 inst->RGB.Src[RC_PAIR_PRESUB_SRC].Index)); in rc_print_pair_instruction()
382 if (inst->RGB.Opcode != RC_OPCODE_NOP) { in rc_print_pair_instruction()
383 const struct rc_opcode_info * opcode = rc_get_opcode_info(inst->RGB.Opcode); in rc_print_pair_instruction()
388 fprintf(f, " %s%s", opcode->Name, inst->RGB.Saturate ? "_SAT" : ""); in rc_print_pair_instruction()
389 if (inst->RGB.WriteMask) in rc_print_pair_instruction()
[all …]
Dradeon_pair_schedule.c257 else if (sinst->Instruction->U.P.RGB.Opcode == RC_OPCODE_NOP) in instruction_ready()
306 if (!sinst->Instruction->U.P.RGB.OutputWriteMask && in score_no_output()
310 RGB.OutputWriteMask in score_no_output()
341 sinst->Score += sinst->Instruction->U.P.RGB.Src[src_idx].Used + in calc_score_r300()
517 dst_sub = &dst_full->RGB; in merge_presub_sources()
529 info = rc_get_opcode_info(dst_full->RGB.Opcode); in merge_presub_sources()
577 if (!(rc_source_type_swz(dst_full->RGB.Arg[arg].Swizzle) in merge_presub_sources()
582 if (dst_full->RGB.Arg[arg].Source == srcp_src) in merge_presub_sources()
583 dst_full->RGB.Arg[arg].Source = free_source; in merge_presub_sources()
587 else if(dst_full->RGB.Arg[arg].Source == free_source in merge_presub_sources()
[all …]
Dr300_fragprog_emit.c164 code->alu.inst[ip].rgb_inst = translate_rgb_opcode(c, inst->RGB.Opcode); in emit_alu()
169 unsigned int src = use_source(code, inst->RGB.Src[j]); in emit_alu()
171 if (inst->RGB.Src[j].Index >= R300_PFS_NUM_TEMP_REGS) in emit_alu()
183 arg = r300FPTranslateRGBSwizzle(inst->RGB.Arg[j].Source, inst->RGB.Arg[j].Swizzle); in emit_alu()
184 arg |= inst->RGB.Arg[j].Abs << 6; in emit_alu()
185 arg |= inst->RGB.Arg[j].Negate << 5; in emit_alu()
195 if (inst->RGB.Src[RC_PAIR_PRESUB_SRC].Used) { in emit_alu()
196 switch(inst->RGB.Src[RC_PAIR_PRESUB_SRC].Index) { in emit_alu()
241 if (inst->RGB.Saturate) in emit_alu()
246 if (inst->RGB.WriteMask) { in emit_alu()
[all …]
Dradeon_pair_translate.c163 pair->RGB.Opcode = RC_OPCODE_REPL_ALPHA; in set_pair_instruction()
165 pair->RGB.Opcode = inst->Opcode; in set_pair_instruction()
167 pair->RGB.Saturate = 1; in set_pair_instruction()
196 pair->RGB.Src[i].File = in set_pair_instruction()
198 pair->RGB.Src[i].Index = in set_pair_instruction()
200 pair->RGB.Src[i].Used = 1; in set_pair_instruction()
241 pair->RGB.Arg[i].Source = source; in set_pair_instruction()
242 pair->RGB.Arg[i].Swizzle = in set_pair_instruction()
244 pair->RGB.Arg[i].Abs = inst->SrcReg[i].Abs; in set_pair_instruction()
245 …pair->RGB.Arg[i].Negate = !!(srcmask & inst->SrcReg[i].Negate & (RC_MASK_X | RC_MASK_Y | RC_MASK_Z… in set_pair_instruction()
[all …]
Dr500_fragprog_emit.c161 unsigned int t = inst->RGB.Arg[arg].Source; in translate_arg_rgb()
163 t |= inst->RGB.Arg[arg].Negate << 11; in translate_arg_rgb()
164 t |= inst->RGB.Arg[arg].Abs << 12; in translate_arg_rgb()
167 t |= fix_hw_swizzle(GET_SWZ(inst->RGB.Arg[arg].Swizzle, comp)) << (3*comp + 2); in translate_arg_rgb()
248 if (inst->RGB.Opcode == RC_OPCODE_DDX || inst->Alpha.Opcode == RC_OPCODE_DDX || in emit_paired()
249 inst->RGB.Opcode == RC_OPCODE_DDY || inst->Alpha.Opcode == RC_OPCODE_DDY) { in emit_paired()
255 code->inst[ip].inst5 = translate_rgb_op(c, inst->RGB.Opcode); in emit_paired()
258 if (inst->RGB.OutputWriteMask || inst->Alpha.OutputWriteMask || inst->Alpha.DepthWriteMask) { in emit_paired()
269 code->inst[ip].inst0 |= (inst->RGB.WriteMask << 11); in emit_paired()
271 code->inst[ip].inst0 |= (inst->RGB.OutputWriteMask << 15) | (inst->Alpha.OutputWriteMask << 18); in emit_paired()
[all …]
Dradeon_dataflow.c76 inst->RGB.Src[src].Index); in pair_get_src_refmasks()
112 GET_SWZ(inst->RGB.Arg[arg].Swizzle, chan); in reads_pair()
116 inst->RGB.Arg[arg].Source); in reads_pair()
123 if (inst->RGB.Src[src].Used && (refmasks[src] & RC_MASK_XYZ)) in reads_pair()
124 cb(userdata, fullinst, inst->RGB.Src[src].File, inst->RGB.Src[src].Index, in reads_pair()
157 U.P.RGB.Src[RC_PAIR_PRESUB_SRC].Index; in pair_sub_for_all_args()
158 src_array = fullinst->U.P.RGB.Src; in pair_sub_for_all_args()
230 pair_sub_for_all_args(inst, &inst->U.P.RGB, cb, userdata); in rc_pair_for_all_reads_arg()
272 if (inst->RGB.WriteMask) in writes_pair()
273 cb(userdata, fullinst, RC_FILE_TEMPORARY, inst->RGB.DestIndex, inst->RGB.WriteMask); in writes_pair()
[all …]
Dradeon_pair_dead_sources.c54 inst->U.P.RGB.Src[sub->Arg[i].Source].Used = 1; in mark_used()
79 inst->U.P.RGB.Src[i].Used = 0; in rc_pair_remove_dead_sources()
82 mark_used(inst, &inst->U.P.RGB); in rc_pair_remove_dead_sources()
85 mark_used_presub(&inst->U.P.RGB); in rc_pair_remove_dead_sources()
/external/giflib/
Dquantize.c28 GifByteType RGB[3]; member
82 ColorArrayEntries[i].RGB[0] = i >> (2 * BITS_PER_PRIM_COLOR); in GifQuantizeBuffer()
83 ColorArrayEntries[i].RGB[1] = (i >> BITS_PER_PRIM_COLOR) & in GifQuantizeBuffer()
85 ColorArrayEntries[i].RGB[2] = i & MAX_PRIM_COLOR; in GifQuantizeBuffer()
147 Red += QuantizedColor->RGB[0]; in GifQuantizeBuffer()
148 Green += QuantizedColor->RGB[1]; in GifQuantizeBuffer()
149 Blue += QuantizedColor->RGB[2]; in GifQuantizeBuffer()
274 MaxColor = QuantizedColor->RGB[SortRGBAxis]; /* Max. of first half */ in SubdivColorMap()
276 MinColor = QuantizedColor->Pnext->RGB[SortRGBAxis]; /* of second */ in SubdivColorMap()
320 int hash1 = entry1->RGB[SortRGBAxis] * 256 * 256 in SortCmpRtn()
[all …]
/external/ImageMagick/tests/
Dcli-colorspace.tap37 too_dark=`eval ${MAGICK} "$in" -colorspace RGB "$out"`
38 too_light=`eval ${MAGICK} "$in" -set colorspace RGB -colorspace sRGB "$out"`
98 test_color RGB sRGB && echo "ok" || echo "not ok"
101 test_color XYZ RGB sRGB && echo "ok" || echo "not ok"
102 test_color RGB XYZ sRGB && echo "ok" || echo "not ok"
107 test_color RGB LAB sRGB && echo "ok" || echo "not ok"
108 test_color LAB RGB sRGB && echo "ok" || echo "not ok"
/external/libkmsxx/kms++util/inc/kms++util/
Dcolor.h17 struct RGB struct
19 RGB();
20 RGB(uint8_t r, uint8_t g, uint8_t b);
21 RGB(uint8_t a, uint8_t r, uint8_t g, uint8_t b);
22 RGB(uint32_t argb);
42 YUV(const RGB& rgb, YUVType type = YUVType::BT601_Lim); argument
/external/python/cpython3/Doc/library/
Dcolorsys.rst5 :synopsis: Conversion functions between RGB and other color systems.
14 between colors expressed in the RGB (Red Green Blue) color space used in
32 Convert the color from RGB coordinates to YIQ coordinates.
37 Convert the color from YIQ coordinates to RGB coordinates.
42 Convert the color from RGB coordinates to HLS coordinates.
47 Convert the color from HLS coordinates to RGB coordinates.
52 Convert the color from RGB coordinates to HSV coordinates.
57 Convert the color from HSV coordinates to RGB coordinates.
/external/python/cpython2/Doc/library/
Dcolorsys.rst5 :synopsis: Conversion functions between RGB and other color systems.
13 between colors expressed in the RGB (Red Green Blue) color space used in
31 Convert the color from RGB coordinates to YIQ coordinates.
36 Convert the color from YIQ coordinates to RGB coordinates.
41 Convert the color from RGB coordinates to HLS coordinates.
46 Convert the color from HLS coordinates to RGB coordinates.
51 Convert the color from RGB coordinates to HSV coordinates.
56 Convert the color from HSV coordinates to RGB coordinates.
/external/libkmsxx/py/pykms/
Dpykmsutil.cpp13 py::class_<RGB>(m, "RGB") in init_pykmstest()
17 .def_property_readonly("rgb888", &RGB::rgb888) in init_pykmstest()
18 .def_property_readonly("argb8888", &RGB::argb8888) in init_pykmstest()
19 .def_property_readonly("abgr8888", &RGB::abgr8888) in init_pykmstest()
20 .def_property_readonly("rgb565", &RGB::rgb565) in init_pykmstest()
57 m.def("draw_rect", [](Framebuffer& fb, uint32_t x, uint32_t y, uint32_t w, uint32_t h, RGB color) { in init_pykmstest()
60 m.def("draw_text", [](Framebuffer& fb, uint32_t x, uint32_t y, const string& str, RGB color) { in init_pykmstest()
D__init__.py10 red = RGB(255, 0, 0)
11 green = RGB(0, 255, 0)
12 blue = RGB(0, 0, 255)
13 yellow = RGB(255, 255, 0)
14 purple = RGB(255, 0, 255)
15 white = RGB(255, 255, 255)
16 cyan = RGB(0, 255, 255)
/external/webp/src/dsp/
Dyuv_neon.c52 const uint8x8x3_t RGB = vld3_u8(rgb); in ConvertRGB24ToY_NEON() local
53 const uint8x8_t Y = ConvertRGBToY_NEON(RGB.val[0], RGB.val[1], RGB.val[2]); in ConvertRGB24ToY_NEON()
76 const uint8x8x4_t RGB = vld4_u8((const uint8_t*)&argb[i]); in ConvertARGBToY_NEON() local
77 const uint8x8_t Y = ConvertRGBToY_NEON(RGB.val[2], RGB.val[1], RGB.val[0]); in ConvertARGBToY_NEON()
121 const uint16x8x4_t RGB = vld4q_u16((const uint16_t*)rgb); in ConvertRGBA32ToUV_NEON() local
123 CONVERT_RGB_TO_UV(RGB.val[0], RGB.val[1], RGB.val[2], 2, U, V); in ConvertRGBA32ToUV_NEON()
138 const uint8x16x4_t RGB = vld4q_u8((const uint8_t*)&argb[i]); in ConvertARGBToUV_NEON() local
139 const uint16x8_t R = vpaddlq_u8(RGB.val[2]); // pair-wise adds in ConvertARGBToUV_NEON()
140 const uint16x8_t G = vpaddlq_u8(RGB.val[1]); in ConvertARGBToUV_NEON()
141 const uint16x8_t B = vpaddlq_u8(RGB.val[0]); in ConvertARGBToUV_NEON()
/external/deqp/framework/opengl/
DgluTextureUtil.cpp78 case TextureFormat::RGB: format = isInt ? GL_RGB_INTEGER : GL_RGB; break; in getTransferFormat()
152 case FMT_CASE(RGB, UNORM_SHORT_565): return GL_RGB565; in getInternalFormat()
172 case FMT_CASE(RGB, UNORM_INT8): return GL_RGB8; in getInternalFormat()
173 case FMT_CASE(RGB, UNSIGNED_INT_11F_11F_10F_REV): return GL_R11F_G11F_B10F; in getInternalFormat()
174 case FMT_CASE(RGB, FLOAT): return GL_RGB32F; in getInternalFormat()
175 case FMT_CASE(RGB, SIGNED_INT32): return GL_RGB32I; in getInternalFormat()
176 case FMT_CASE(RGB, UNSIGNED_INT32): return GL_RGB32UI; in getInternalFormat()
177 case FMT_CASE(RGB, UNORM_INT16): return GL_RGB16; in getInternalFormat()
178 case FMT_CASE(RGB, SNORM_INT16): return GL_RGB16_SNORM; in getInternalFormat()
179 case FMT_CASE(RGB, HALF_FLOAT): return GL_RGB16F; in getInternalFormat()
[all …]
/external/pdfium/third_party/lcms/src/
Dcmscam02.c36 cmsFloat64Number RGB[3]; member
105 clr.RGB[0] = (clr.XYZ[0] * 0.7328) + (clr.XYZ[1] * 0.4296) + (clr.XYZ[2] * -0.1624); in XYZtoCAT02()
106 clr.RGB[1] = (clr.XYZ[0] * -0.7036) + (clr.XYZ[1] * 1.6975) + (clr.XYZ[2] * 0.0061); in XYZtoCAT02()
107 clr.RGB[2] = (clr.XYZ[0] * 0.0030) + (clr.XYZ[1] * 0.0136) + (clr.XYZ[2] * 0.9834); in XYZtoCAT02()
119 (pMod->D / pMod -> adoptedWhite.RGB[i])) + in ChromaticAdaptation()
120 (1.0 - pMod->D)) * clr.RGB[i]; in ChromaticAdaptation()
341 clr.RGB[i] = clr.RGBc[i] / in InverseChromaticAdaptation()
342 ((pMod->adoptedWhite.XYZ[1] * pMod->D / pMod->adoptedWhite.RGB[i]) + 1.0 - pMod->D); in InverseChromaticAdaptation()
351 clr.XYZ[0] = (clr.RGB[0] * 1.096124) + (clr.RGB[1] * -0.278869) + (clr.RGB[2] * 0.182745); in CAT02toXYZ()
352 clr.XYZ[1] = (clr.RGB[0] * 0.454369) + (clr.RGB[1] * 0.473533) + (clr.RGB[2] * 0.072098); in CAT02toXYZ()
[all …]
/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.opaque-type-bug.frag.out8 0:6 'RGB' ( out 3-component vector of float)
11 0:7 'RGB' ( out 3-component vector of float)
39 0:6 'RGB' ( out 3-component vector of float)
42 0:7 'RGB' ( out 3-component vector of float)
73 Name 12 "RGB"
98 12(RGB): 9(ptr) FunctionParameter
100 Store 12(RGB) 18
/external/clang/test/CodeGenCXX/
Dmangle-ms.cpp204 typedef double RGB[3]; typedef
205 RGB color1;
207 extern const RGB color2 = {};
209 extern RGB const color3[5] = {};
211 extern RGB const ((color4)[5]) = {};
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_HSVToRGB.pbtxt12 `images` converted to RGB.
15 summary: "Convert one or more images from HSV to RGB."
17 Outputs a tensor of the same shape as the `images` tensor, containing the RGB

12345678910>>...20