HomeSort by relevance Sort by last modified time
    Searched refs:RGB (Results 1 - 25 of 203) sorted by null

1 2 3 4 5 6 7 8 9

  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SwtDrawingStyle.java 22 import org.eclipse.swt.graphics.RGB;
37 SELECTION(new RGB(0x00, 0x99, 0xFF), 192, new RGB(0x00, 0x99, 0xFF), 192, 1, SWT.LINE_SOLID),
42 GUIDELINE(new RGB(0x00, 0xAA, 0x00), 192, SWT.LINE_SOLID),
47 GUIDELINE_SHADOW(new RGB(0x00, 0xAA, 0x00), 192, SWT.LINE_SOLID),
52 GUIDELINE_DASHED(new RGB(0x00, 0xAA, 0x00), 192, SWT.LINE_CUSTOM),
57 DISTANCE(new RGB(0xFF, 0x00, 0x00), 192 - 32, SWT.LINE_SOLID),
62 GRID(new RGB(0xAA, 0xAA, 0xAA), 128, SWT.LINE_SOLID),
67 HOVER(null, 0, new RGB(0xFF, 0xFF, 0xFF), 40, 1, SWT.LINE_DOT),
72 HOVER_SELECTION(null, 0, new RGB(0xFF, 0xFF, 0xFF), 10, 1, SWT.LINE_DOT)
    [all...]
PreviewIconFactory.java 52 import org.eclipse.swt.graphics.RGB;
78 private RGB mBackground;
79 private RGB mForeground;
216 Pair<RGB, RGB> themeColors = getColorsFromTheme();
217 RGB bg = themeColors.getFirst();
218 RGB fg = themeColors.getSecond();
288 Pair<RGB, RGB> themeColors = getColorsFromTheme();
289 RGB bg = themeColors.getFirst()
448 int rgb = image.getRGB(image.getWidth() \/ 2, image.getHeight() \/ 2); local
624 int rgb = ImageUtils.getColor(colorString.trim()); local
629 int rgb = ImageUtils.getColor(colorString.trim()); local
    [all...]
  /external/pdfium/core/fxcrt/css/
cfx_csscolorvalue.cpp 10 : CFX_CSSValue(CFX_CSSPrimitiveType::RGB), value_(value) {}
cfx_cssvaluelistparser.cpp 34 *eType = CFX_CSSPrimitiveType::RGB;
48 if (FXSYS_wcsnicmp(L"rgb", m_pCur, 3) == 0) {
51 *eType = CFX_CSSPrimitiveType::RGB;
  /external/ImageMagick/tests/
cli-colorspace.tap 37 too_dark=`eval ${MAGICK} "$in" -colorspace RGB "$out"`
38 too_light=`eval ${MAGICK} "$in" -set colorspace RGB -colorspace sRGB "$out"`
43 printf "$format2" "Too Dark Color" "$too_dark" "sRGB(rose)->RGB result"
44 printf "$format2" "Too Light Color" "$too_light" "RGB(rose)->sRGB result"
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/mesa3d/src/gallium/drivers/r300/compiler/
radeon_program_pair.c 39 unsigned int rgb, unsigned int alpha,
48 if ((!rgb && !alpha) || file == RC_FILE_NONE)
53 if (rgb && pair->RGB.Src[RC_PAIR_PRESUB_SRC].Used
54 && index != pair->RGB.Src[RC_PAIR_PRESUB_SRC].Index) {
66 if (rgb) {
67 if (pair->RGB.Src[i].Used) {
68 if (pair->RGB.Src[i].File != file ||
69 pair->RGB.Src[i].Index != index) {
94 } else if (candidate < 0 || (rgb && rgb_used > 2
    [all...]
radeon_pair_dead_sources.c 54 inst->U.P.RGB.Src[sub->Arg[i].Source].Used = 1;
79 inst->U.P.RGB.Src[i].Used = 0;
82 mark_used(inst, &inst->U.P.RGB);
85 mark_used_presub(&inst->U.P.RGB);
radeon_pair_translate.c 132 static void src_uses(struct rc_src_register src, unsigned int * rgb,
139 *rgb = 1;
163 pair->RGB.Opcode = RC_OPCODE_REPL_ALPHA;
165 pair->RGB.Opcode = inst->Opcode;
167 pair->RGB.Saturate = 1;
182 * pair->{RGB,ALPHA}.Src[RC_PAIR_PRESUB_SRC] */
192 unsigned int rgb = 0; local
194 src_uses(inst->SrcReg[j], &rgb, &alpha);
195 if(rgb) {
196 pair->RGB.Src[i].File
    [all...]
radeon_program_print.c 345 unsigned spaces = update_branch_depth(inst->RGB.Opcode != RC_OPCODE_NOP ?
346 inst->RGB.Opcode : inst->Alpha.Opcode, branch_depth);
352 if (inst->RGB.Src[src].Used) {
356 rc_print_register(f, inst->RGB.Src[src].File, inst->RGB.Src[src].Index, 0);
367 if(inst->RGB.Src[RC_PAIR_PRESUB_SRC].Used) {
370 inst->RGB.Src[RC_PAIR_PRESUB_SRC].Index));
382 if (inst->RGB.Opcode != RC_OPCODE_NOP) {
383 const struct rc_opcode_info * opcode = rc_get_opcode_info(inst->RGB.Opcode);
388 fprintf(f, " %s%s", opcode->Name, inst->RGB.Saturate ? "_SAT" : "")
    [all...]
radeon_pair_schedule.c 67 /** If the scheduler has paired an RGB and an Alpha instruction together,
257 else if (sinst->Instruction->U.P.RGB.Opcode == RC_OPCODE_NOP)
306 if (!sinst->Instruction->U.P.RGB.OutputWriteMask &&
310 RGB.OutputWriteMask
341 sinst->Score += sinst->Instruction->U.P.RGB.Src[src_idx].Used +
497 * dst_full is an rgb instruction, meaning that it has a vector instruction(rgb)
517 dst_sub = &dst_full->RGB;
529 info = rc_get_opcode_info(dst_full->RGB.Opcode);
575 /*If this arg does not read from an rgb source
    [all...]
r300_fragprog_emit.c 164 code->alu.inst[ip].rgb_inst = translate_rgb_opcode(c, inst->RGB.Opcode);
168 /* Set the RGB address */
169 unsigned int src = use_source(code, inst->RGB.Src[j]);
171 if (inst->RGB.Src[j].Index >= R300_PFS_NUM_TEMP_REGS)
183 arg = r300FPTranslateRGBSwizzle(inst->RGB.Arg[j].Source, inst->RGB.Arg[j].Swizzle);
184 arg |= inst->RGB.Arg[j].Abs << 6;
185 arg |= inst->RGB.Arg[j].Negate << 5;
195 if (inst->RGB.Src[RC_PAIR_PRESUB_SRC].Used) {
196 switch(inst->RGB.Src[RC_PAIR_PRESUB_SRC].Index)
    [all...]
radeon_dataflow.c 76 inst->RGB.Src[src].Index);
112 GET_SWZ(inst->RGB.Arg[arg].Swizzle, chan);
116 inst->RGB.Arg[arg].Source);
123 if (inst->RGB.Src[src].Used && (refmasks[src] & RC_MASK_XYZ))
124 cb(userdata, fullinst, inst->RGB.Src[src].File, inst->RGB.Src[src].Index,
157 U.P.RGB.Src[RC_PAIR_PRESUB_SRC].Index;
158 src_array = fullinst->U.P.RGB.Src;
216 * This function calls the callback function (cb) for each arg of the RGB and
230 pair_sub_for_all_args(inst, &inst->U.P.RGB, cb, userdata)
    [all...]
r500_fragprog_emit.c 161 unsigned int t = inst->RGB.Arg[arg].Source;
163 t |= inst->RGB.Arg[arg].Negate << 11;
164 t |= inst->RGB.Arg[arg].Abs << 12;
167 t |= fix_hw_swizzle(GET_SWZ(inst->RGB.Arg[arg].Swizzle, comp)) << (3*comp + 2);
248 if (inst->RGB.Opcode == RC_OPCODE_DDX || inst->Alpha.Opcode == RC_OPCODE_DDX ||
249 inst->RGB.Opcode == RC_OPCODE_DDY || inst->Alpha.Opcode == RC_OPCODE_DDY) {
255 code->inst[ip].inst5 = translate_rgb_op(c, inst->RGB.Opcode);
258 if (inst->RGB.OutputWriteMask || inst->Alpha.OutputWriteMask || inst->Alpha.DepthWriteMask) {
269 code->inst[ip].inst0 |= (inst->RGB.WriteMask << 11);
271 code->inst[ip].inst0 |= (inst->RGB.OutputWriteMask << 15) | (inst->Alpha.OutputWriteMask << 18)
    [all...]
  /frameworks/native/cmds/surfacereplayer/replayer/
Color.h 28 struct RGB {
29 RGB(uint8_t rIn, uint8_t gIn, uint8_t bIn) : r(rIn), g(gIn), b(bIn) {}
44 RGB getRGB() const;
63 inline RGB HSV::getRGB() const {
121 return RGB(round(r * 255), round(g * 255), round(b * 255));
  /external/giflib/
quantize.c 28 GifByteType RGB[3];
48 2D array for each of the RGB colors with size Width by Height. There is no
82 ColorArrayEntries[i].RGB[0] = i >> (2 * BITS_PER_PRIM_COLOR);
83 ColorArrayEntries[i].RGB[1] = (i >> BITS_PER_PRIM_COLOR) &
85 ColorArrayEntries[i].RGB[2] = i & MAX_PRIM_COLOR;
147 Red += QuantizedColor->RGB[0];
148 Green += QuantizedColor->RGB[1];
149 Blue += QuantizedColor->RGB[2];
191 Routine to subdivide the RGB space recursively using median cut in each
245 * referring to identical RGB tuples. Older versions of this
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SwtUtilsTest.java 25 import org.eclipse.swt.graphics.RGB;
43 // prevent the alpha from being pre-multiplied into the RGB when drawing the image.
53 // Convert the RGB image, effectively discarding the alpha channel entirely.
71 RGB expected = inPalette.getRGB( inImage.getRGB( x, y));
72 RGB actual = outPalette.getRGB(outData.getPixel(x, y));
125 RGB expected = inPalette.getRGB( inImage.getRGB( x, y));
126 RGB actual = outPalette.getRGB(outData.getPixel(x, y));
155 RGB expected = inPalette.getRGB( inImage.getRGB( x, y));
156 RGB actual = outPalette.getRGB(outData.getPixel(x, y));
192 RGB expected = inPalette.getRGB( inImage.getRGB( x, y))
    [all...]
  /external/webp/src/dsp/
yuv_neon.c 10 // YUV->RGB conversion functions
49 static void ConvertRGB24ToY_NEON(const uint8_t* rgb, uint8_t* y, int width) {
51 for (i = 0; i + 8 <= width; i += 8, rgb += 3 * 8) {
52 const uint8x8x3_t RGB = vld3_u8(rgb);
53 const uint8x8_t Y = ConvertRGBToY_NEON(RGB.val[0], RGB.val[1], RGB.val[2]);
56 for (; i < width; ++i, rgb += 3) { // left-over
57 y[i] = VP8RGBToY(rgb[0], rgb[1], rgb[2], YUV_HALF)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/
CreateAssetSetWizardState.java 28 import org.eclipse.swt.graphics.RGB;
94 public RGB background = new RGB(0xff, 0x00, 0x00);
97 public RGB foreground = new RGB(0x00, 0x00, 0x00);
  /external/python/cpython2/Lib/plat-irix5/
CL_old.py 29 RGB = 0
56 if f in (RGB, YUV):
74 if f == RGB:
75 return 'RGB'
  /external/deqp/framework/opengl/
gluTextureUtil.cpp 78 case TextureFormat::RGB: format = isInt ? GL_RGB_INTEGER : GL_RGB; break;
152 case FMT_CASE(RGB, UNORM_SHORT_565): return GL_RGB565;
172 case FMT_CASE(RGB, UNORM_INT8): return GL_RGB8;
173 case FMT_CASE(RGB, UNSIGNED_INT_11F_11F_10F_REV): return GL_R11F_G11F_B10F;
174 case FMT_CASE(RGB, FLOAT): return GL_RGB32F;
175 case FMT_CASE(RGB, SIGNED_INT32): return GL_RGB32I;
176 case FMT_CASE(RGB, UNSIGNED_INT32): return GL_RGB32UI;
177 case FMT_CASE(RGB, UNORM_INT16): return GL_RGB16;
178 case FMT_CASE(RGB, SNORM_INT16): return GL_RGB16_SNORM;
179 case FMT_CASE(RGB, HALF_FLOAT): return GL_RGB16F
    [all...]
  /external/pdfium/third_party/lcms/src/
cmscam02.c 36 cmsFloat64Number RGB[3];
105 clr.RGB[0] = (clr.XYZ[0] * 0.7328) + (clr.XYZ[1] * 0.4296) + (clr.XYZ[2] * -0.1624);
106 clr.RGB[1] = (clr.XYZ[0] * -0.7036) + (clr.XYZ[1] * 1.6975) + (clr.XYZ[2] * 0.0061);
107 clr.RGB[2] = (clr.XYZ[0] * 0.0030) + (clr.XYZ[1] * 0.0136) + (clr.XYZ[2] * 0.9834);
119 (pMod->D / pMod -> adoptedWhite.RGB[i])) +
120 (1.0 - pMod->D)) * clr.RGB[i];
341 clr.RGB[i] = clr.RGBc[i] /
342 ((pMod->adoptedWhite.XYZ[1] * pMod->D / pMod->adoptedWhite.RGB[i]) + 1.0 - pMod->D);
351 clr.XYZ[0] = (clr.RGB[0] * 1.096124) + (clr.RGB[1] * -0.278869) + (clr.RGB[2] * 0.182745)
    [all...]
  /external/mesa3d/docs/specs/
MESA_pixmap_colormap.spec 32 Since Mesa allows RGB rendering into drawables with PseudoColor,
63 The Mesa implementation of GLX allows RGB rendering into X windows and
65 to compute pixel values from RGB values Mesa requires a colormap.
  /external/deqp/external/vulkancts/framework/vulkan/
vkImageUtil.cpp     [all...]
  /external/clang/test/CodeGenCXX/
mangle-ms.cpp 204 typedef double RGB[3];
205 RGB color1;
207 extern const RGB color2 = {};
209 extern RGB const color3[5] = {};
211 extern RGB const ((color4)[5]) = {};
  /external/mesa3d/docs/specs/OLD/
MESA_packed_depth_stencil.spec 91 RGB Color R, G, B components
112 UNSIGNED_BYTE_3_3_2 ubyte 3 RGB
113 UNSIGNED_BYTE_2_3_3_REV ubyte 3 RGB
114 UNSIGNED_SHORT_5_6_5 ushort 3 RGB
115 UNSIGNED_SHORT_5_6_5_REV ushort 3 RGB
177 RGB red green blue
189 BLUE, ALPHA, RGB, RGBA, ABGR_EXT, LUMINANCE, or LUMINANCE_ALPHA, and
193 read "If <format> is one of RED, GREEN, BLUE, ALPHA, RGB, RGBA,

Completed in 1432 milliseconds

1 2 3 4 5 6 7 8 9