Searched defs:rgb (Results 26 - 50 of 75) sorted by relevance

123

/external/deqp/modules/gles31/functional/
H A Des31fTextureFilteringTests.cpp250 const deUint32 rgb = step * (levelNdx + layerFaceNdx*numLevels); local
251 const deUint32 colorA = 0xff000000 | rgb;
252 const deUint32 colorB = 0xff000000 | ~rgb;
H A Des31fDrawBuffersIndexedTests.cpp120 : rgb (rgb_)
125 BlendEq rgb; member in struct:deqp::gles31::Functional::__anon3566::SeparateBlendEq
144 : rgb (rgb_)
149 BlendFunc rgb; member in struct:deqp::gles31::Functional::__anon3566::SeparateBlendFunc
205 gl.blendEquationSeparate(blendEq.get<SeparateBlendEq>().rgb, blendEq.get<SeparateBlendEq>().alpha);
217 gl.blendFuncSeparate(blendFunc.get<SeparateBlendFunc>().rgb.src, blendFunc.get<SeparateBlendFunc>().rgb.dst, blendFunc.get<SeparateBlendFunc>().alpha.src, blendFunc.get<SeparateBlendFunc>().alpha.dst);
249 gl.blendEquationSeparatei(index, blendEq.get<SeparateBlendEq>().rgb, blendEq.get<SeparateBlendEq>().alpha);
261 gl.blendFuncSeparatei(index, blendFunc.get<SeparateBlendFunc>().rgb.src, blendFunc.get<SeparateBlendFunc>().rgb
1234 const BlendEq rgb = getRandomBlendEq(rng); local
1247 const BlendFunc rgb = getRandomBlendFunc(rng); local
[all...]
/external/libdrm/tests/modetest/
H A Dbuffers.c97 const struct rgb_info rgb; member in struct:format_info
102 .rgb = { { (rl), (ro) }, { (bl), (bo) }, { (gl), (go) }, { (al), (ao) } }
198 #define MAKE_RGBA(rgb, r, g, b, a) \
199 ((((r) >> (8 - (rgb)->red.length)) << (rgb)->red.offset) | \
200 (((g) >> (8 - (rgb)->green.length)) << (rgb)->green.offset) | \
201 (((b) >> (8 - (rgb)->blue.length)) << (rgb)->blue.offset) | \
202 (((a) >> (8 - (rgb)
413 fill_smpte_rgb16(const struct rgb_info *rgb, unsigned char *mem, unsigned int width, unsigned int height, unsigned int stride) argument
474 fill_smpte_rgb24(const struct rgb_info *rgb, void *mem, unsigned int width, unsigned int height, unsigned int stride) argument
537 fill_smpte_rgb32(const struct rgb_info *rgb, unsigned char *mem, unsigned int width, unsigned int height, unsigned int stride) argument
814 const struct rgb_info *rgb = &info->rgb; local
840 const struct rgb_info *rgb = &info->rgb; local
862 const struct rgb_info *rgb = &info->rgb; local
[all...]
/external/mesa3d/src/gallium/state_trackers/xa/
H A Dxa_tgsi.c324 struct ureg_dst y, u, v, rgb; local
333 rgb = ureg_DECL_temporary(ureg);
351 ureg_MOV(ureg, rgb, matrow3);
352 ureg_MAD(ureg, rgb,
353 ureg_scalar(ureg_src(y), TGSI_SWIZZLE_X), matrow0, ureg_src(rgb));
354 ureg_MAD(ureg, rgb,
355 ureg_scalar(ureg_src(u), TGSI_SWIZZLE_X), matrow1, ureg_src(rgb));
356 ureg_MAD(ureg, rgb,
357 ureg_scalar(ureg_src(v), TGSI_SWIZZLE_X), matrow2, ureg_src(rgb));
359 ureg_MOV(ureg, out, ureg_src(rgb));
[all...]
/external/mesa3d/src/gallium/state_trackers/xorg/
H A Dxorg_exa_tgsi.c328 struct ureg_dst y, u, v, rgb; local
338 rgb = ureg_DECL_temporary(ureg);
363 ureg_MUL(ureg, rgb,
366 ureg_MAD(ureg, rgb,
369 ureg_src(rgb));
370 ureg_MAD(ureg, rgb,
373 ureg_src(rgb));
375 /* rgb.a = 1; */
376 ureg_MOV(ureg, ureg_writemask(rgb, TGSI_WRITEMASK_W),
379 ureg_MOV(ureg, out, ureg_src(rgb));
[all...]
/external/opencv/otherlibs/highgui/
H A Dutils.cpp83 void icvCvt_BGR2Gray_8u_C3C1R( const uchar* rgb, int rgb_step, argument
91 for( i = 0; i < size.width; i++, rgb += 3 )
93 int t = descale( rgb[swap_rb]*cB + rgb[1]*cG + rgb[swap_rb^2]*cR, SCALE );
97 rgb += rgb_step - size.width*3;
102 void icvCvt_BGR2Gray_16u_C3C1R( const ushort* rgb, int rgb_step, argument
110 for( i = 0; i < size.width; i++, rgb += 3 )
112 int t = descale( rgb[swap_rb]*cB + rgb[
194 icvCvt_BGR2RGB_8u_C3R( const uchar* bgr, int bgr_step, uchar* rgb, int rgb_step, CvSize size ) argument
211 icvCvt_BGR2RGB_16u_C3R( const ushort* bgr, int bgr_step, ushort* rgb, int rgb_step, CvSize size ) argument
[all...]
/external/pdfium/samples/
H A Dimage_diff_png.cc60 unsigned char* rgb, bool* is_opaque) {
63 unsigned char* pixel_out = &rgb[x * 3];
121 void ConvertRGBtoRGBA(const unsigned char* rgb, int pixel_width, argument
124 const unsigned char* pixel_in = &rgb[x * 3];
133 void ConvertRGBtoBGRA(const unsigned char* rgb, int pixel_width, argument
136 const unsigned char* pixel_in = &rgb[x * 3];
386 unsigned char* rgb, bool* is_opaque) {
389 unsigned char* pixel_out = &rgb[x * 3];
59 ConvertRGBAtoRGB(const unsigned char* rgba, int pixel_width, unsigned char* rgb, bool* is_opaque) argument
385 ConvertBGRAtoRGB(const unsigned char* bgra, int pixel_width, unsigned char* rgb, bool* is_opaque) argument
/external/skia/src/images/
H A DSkImageDecoder_libwebp.cpp451 static void ARGB_8888_To_RGB(const uint8_t* in, uint8_t* rgb, int width, argument
456 rgb[0] = SkGetPackedR32(c);
457 rgb[1] = SkGetPackedG32(c);
458 rgb[2] = SkGetPackedB32(c);
459 rgb += 3;
463 static void ARGB_8888_To_RGBA(const uint8_t* in, uint8_t* rgb, int width, argument
480 rgb[0] = r;
481 rgb[1] = g;
482 rgb[2] = b;
483 rgb[
488 RGB_565_To_RGB(const uint8_t* in, uint8_t* rgb, int width, const SkPMColor*) argument
500 ARGB_4444_To_RGB(const uint8_t* in, uint8_t* rgb, int width, const SkPMColor*) argument
512 ARGB_4444_To_RGBA(const uint8_t* in, uint8_t* rgb, int width, const SkPMColor*) argument
537 Index8_To_RGB(const uint8_t* in, uint8_t* rgb, int width, const SkPMColor* SK_RESTRICT ctable) argument
627 uint8_t* rgb = new uint8_t[rgbStride * pic.height]; local
[all...]
/external/deqp/framework/referencerenderer/
H A DrrFragmentOperations.cpp511 inline float luminosity (const Vec3& rgb) argument
513 return dot(rgb, Vec3(0.3f, 0.59f, 0.11f));
516 inline float saturation (const Vec3& rgb) argument
518 return maxComp(rgb) - minComp(rgb);
/external/deqp/modules/gles2/accuracy/
H A Des2aTextureMipmapTests.cpp166 deUint32 rgb = (inc << 16) | (dec << 8) | 0xff; local
167 deUint32 color = 0xff000000 | rgb;
465 deUint32 rgb = 0; local
469 case 0: rgb = (inc << 16) | (dec << 8) | 255; break;
470 case 1: rgb = (255 << 16) | (inc << 8) | dec; break;
471 case 2: rgb = (dec << 16) | (255 << 8) | inc; break;
472 case 3: rgb = (dec << 16) | (inc << 8) | 255; break;
473 case 4: rgb = (255 << 16) | (dec << 8) | inc; break;
474 case 5: rgb = (inc << 16) | (255 << 8) | dec; break;
477 deUint32 color = 0xff000000 | rgb;
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fTextureMipmapTests.cpp170 deUint32 rgb = (inc << 16) | (dec << 8) | 0xff; local
171 deUint32 color = 0xff000000 | rgb;
522 deUint32 rgb = 0; local
526 case 0: rgb = (inc << 16) | (dec << 8) | 255; break;
527 case 1: rgb = (255 << 16) | (inc << 8) | dec; break;
528 case 2: rgb = (dec << 16) | (255 << 8) | inc; break;
529 case 3: rgb = (dec << 16) | (inc << 8) | 255; break;
530 case 4: rgb = (255 << 16) | (dec << 8) | inc; break;
531 case 5: rgb = (inc << 16) | (255 << 8) | dec; break;
534 deUint32 color = 0xff000000 | rgb;
[all...]
H A Des2fTextureUnitTests.cpp693 deUint32 rgb = rnd.getUint32() & 0x00ffffff; local
703 deUint32 colorA = alpha0 | rgb;
704 deUint32 colorB = alpha1 | ~rgb;
H A Des2fVertexTextureTests.cpp507 const deUint32 rgb = step*levelNdx; local
508 const deUint32 colorA = 0xff000000 | rgb;
509 const deUint32 colorB = 0xff000000 | ~rgb;
824 const deUint32 rgb = step*levelNdx*face; local
825 const deUint32 colorA = 0xff000000 | rgb;
826 const deUint32 colorB = 0xff000000 | ~rgb;
/external/deqp/modules/gles3/accuracy/
H A Des3aTextureMipmapTests.cpp158 deUint32 rgb = (inc << 16) | (dec << 8) | 0xff; local
159 deUint32 color = 0xff000000 | rgb;
453 deUint32 rgb = 0; local
457 case 0: rgb = (inc << 16) | (dec << 8) | 255; break;
458 case 1: rgb = (255 << 16) | (inc << 8) | dec; break;
459 case 2: rgb = (dec << 16) | (255 << 8) | inc; break;
460 case 3: rgb = (dec << 16) | (inc << 8) | 255; break;
461 case 4: rgb = (255 << 16) | (dec << 8) | inc; break;
462 case 5: rgb = (inc << 16) | (255 << 8) | dec; break;
465 deUint32 color = 0xff000000 | rgb;
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fTextureFilteringTests.cpp193 deUint32 rgb = step*levelNdx; local
194 deUint32 colorA = 0xff000000 | rgb;
195 deUint32 colorB = 0xff000000 | ~rgb;
482 deUint32 rgb = step*levelNdx*face; local
483 deUint32 colorA = 0xff000000 | rgb;
484 deUint32 colorB = 0xff000000 | ~rgb;
780 const deUint32 rgb = step * (levelNdx + layerNdx*numLevels); local
781 const deUint32 colorA = 0xff000000 | rgb;
782 const deUint32 colorB = 0xff000000 | ~rgb;
1024 deUint32 rgb local
[all...]
H A Des3fTextureShadowTests.cpp247 deUint32 rgb = step*levelNdx; local
248 deUint32 colorA = 0xff000000 | rgb;
249 deUint32 colorB = 0xff000000 | ~rgb;
519 deUint32 rgb = step*levelNdx*face; local
520 deUint32 colorA = 0xff000000 | rgb;
521 deUint32 colorB = 0xff000000 | ~rgb;
801 deUint32 rgb = step*levelNdx; local
802 deUint32 colorA = 0xff000000 | rgb;
803 deUint32 colorB = 0xff000000 | ~rgb;
H A Des3fTextureMipmapTests.cpp214 deUint32 rgb = (inc << 16) | (dec << 8) | 0xff; local
215 deUint32 color = 0xff000000 | rgb;
561 deUint32 rgb = 0; local
565 case 0: rgb = (inc << 16) | (dec << 8) | 255; break;
566 case 1: rgb = (255 << 16) | (inc << 8) | dec; break;
567 case 2: rgb = (dec << 16) | (255 << 8) | inc; break;
568 case 3: rgb = (dec << 16) | (inc << 8) | 255; break;
569 case 4: rgb = (255 << 16) | (dec << 8) | inc; break;
570 case 5: rgb = (inc << 16) | (255 << 8) | dec; break;
573 deUint32 color = 0xff000000 | rgb;
1156 deUint32 rgb = (0xff << 16) | (dec << 8) | inc; local
1473 deUint32 rgb = (inc << 16) | (dec << 8) | 0xff; local
1775 deUint32 rgb = 0; local
2096 deUint32 rgb = (inc << 16) | (dec << 8) | 0xff; local
[all...]
H A Des3fTextureUnitTests.cpp887 deUint32 rgb = rnd.getUint32() & 0x00ffffff; local
890 deUint32 colorA = alpha | rgb;
891 deUint32 colorB = alpha | ((~rgb) & 0x00ffffff);
/external/libvncserver/x11vnc/misc/turbovnc/
H A Dtight.c86 CARD32 rgb; member in struct:COLOR_LIST_s
153 static int PaletteInsert(CARD32 rgb, int numPixels, int bpp);
798 palette.entry[i].listNode->rgb;
816 (CARD16)palette.entry[i].listNode->rgb;
1179 #define HASH_FUNC16(rgb) ((int)((((rgb) >> 8) + (rgb)) & 0xFF))
1180 #define HASH_FUNC32(rgb) ((int)((((rgb) >> 16) + ((rgb) >>
[all...]
/external/pcre/dist/
H A Dpcre_dfa_exec.c1429 int lgb, rgb; local
1442 rgb = UCD_GRAPHBREAK(d);
1443 if ((PRIV(ucp_gbtable)[lgb] & (1 << rgb)) == 0) break;
1445 lgb = rgb;
1690 int lgb, rgb; local
1704 rgb = UCD_GRAPHBREAK(d);
1705 if ((PRIV(ucp_gbtable)[lgb] & (1 << rgb)) == 0) break;
1707 lgb = rgb;
1962 int lgb, rgb; local
1975 rgb
2164 int lgb, rgb; local
[all...]
/external/pdfium/core/src/fpdfapi/fpdf_page/
H A Dfpdf_page_graph_state.cpp241 void CPDF_ColorState::SetColor(CPDF_Color& color, FX_DWORD& rgb, CPDF_ColorSpace* pCS, FX_FLOAT* pValue, int nValues) argument
253 rgb = color.GetRGB(R, G, B) ? FXSYS_RGB(R, G, B) : (FX_DWORD) - 1;
/external/skia/src/effects/
H A DSkPerlinNoiseShader.cpp894 fsBuilder->codeAppendf("\n\t\t%s = vec4(%s.rgb * %s.aaa, %s.a);\n",
962 uint32_t rgb = alpha >> 1; local
963 *paintColor = GrColorPackRGBA(rgb, rgb, rgb, alpha);
/external/libpng/contrib/gregbook/
H A Drpng2-win.c197 } rgb[] = { variable in typeref:struct:rgb_color
216 static int num_rgb = sizeof(rgb) / sizeof(struct rgb_color);
863 uch r1_min = rgb[bg[pat].rgb1_min].r;
864 uch g1_min = rgb[bg[pat].rgb1_min].g;
865 uch b1_min = rgb[bg[pat].rgb1_min].b;
866 uch r2_min = rgb[bg[pat].rgb2_min].r;
867 uch g2_min = rgb[bg[pat].rgb2_min].g;
868 uch b2_min = rgb[bg[pat].rgb2_min].b;
869 int r1_diff = rgb[bg[pat].rgb1_max].r - r1_min;
870 int g1_diff = rgb[b
[all...]
H A Drpng2-x.c206 } rgb[] = { variable in typeref:struct:rgb_color
226 static int num_rgb = sizeof(rgb) / sizeof(struct rgb_color);
1090 uch r1_min = rgb[bg[pat].rgb1_min].r;
1091 uch g1_min = rgb[bg[pat].rgb1_min].g;
1092 uch b1_min = rgb[bg[pat].rgb1_min].b;
1093 uch r2_min = rgb[bg[pat].rgb2_min].r;
1094 uch g2_min = rgb[bg[pat].rgb2_min].g;
1095 uch b2_min = rgb[bg[pat].rgb2_min].b;
1096 int r1_diff = rgb[bg[pat].rgb1_max].r - r1_min;
1097 int g1_diff = rgb[b
[all...]
/external/libvncserver/libvncserver/
H A Drfbserver.c3272 uint16_t *rgb; local
3282 rgb = (uint16_t *)(&wbuf[sz_rfbSetColourMapEntriesMsg]);
3294 rgb[i*3] = Swap16IfLE(cm->data.shorts[i*3]);
3295 rgb[i*3+1] = Swap16IfLE(cm->data.shorts[i*3+1]);
3296 rgb[i*3+2] = Swap16IfLE(cm->data.shorts[i*3+2]);
3298 rgb[i*3] = Swap16IfLE((unsigned short)cm->data.bytes[i*3]);
3299 rgb[i*3+1] = Swap16IfLE((unsigned short)cm->data.bytes[i*3+1]);
3300 rgb[i*3+2] = Swap16IfLE((unsigned short)cm->data.bytes[i*3+2]);

Completed in 1659 milliseconds

123