/external/libpng/ |
H A D | pngrtran.c | 757 int g = (palette[i].green >> (8 - PNG_QUANTIZE_GREEN_BITS)); 953 png_fixed_point red, png_fixed_point green) 996 if (red >= 0 && green >= 0 && red + green <= PNG_FP_1) 1006 green_int = (png_uint_16)(((png_uint_32)green*32768)/100000); 1015 if (red >= 0 && green >= 0) 1043 double green) 1047 png_fixed(png_ptr, green, "rgb to gray green coefficient")); 1162 png_ptr->background.green 952 png_set_rgb_to_gray_fixed(png_structrp png_ptr, int error_action, png_fixed_point red, png_fixed_point green) argument 1042 png_set_rgb_to_gray(png_structrp png_ptr, int error_action, double red, double green) argument 3016 png_byte green = *(sp++); local 3055 png_byte green = *(sp++); local 3087 png_uint_16 red, green, blue, w; local 3138 png_uint_16 red, green, blue, gray16; local 4505 png_byte green = (png_byte)(trans_color->green & 0xff); local [all...] |
H A D | png.h | 596 /* Three color definitions. The order of the red, green, and blue, (and the 603 png_byte green; member in struct:png_color_struct 613 png_uint_16 red; /* for use in red green blue files */ 614 png_uint_16 green; member in struct:png_color_16_struct 624 png_byte red; /* for use in red green blue files */ 625 png_byte green; member in struct:png_color_8_struct 641 png_uint_16 green; member in struct:png_sPLT_entry_struct 1188 /* Use blue, green, red order for pixels. */ 1202 #define PNG_RGB_TO_GRAY_DEFAULT (-1)/*for red/green coefficients*/ 1205 int error_action, double red, double green)) [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_gen_mipmap.c | 431 const int green = (rowAg0 + rowAg1 + rowBg0 + rowBg1) >> 2; local 433 dst[i] = (blue << 11) | (green << 5) | red; 460 const int green = (rowAg0 + rowAg1 + rowBg0 + rowBg1) >> 2; local 463 dst[i] = (alpha << 12) | (blue << 8) | (green << 4) | red; 490 const int green = (rowAg0 + rowAg1 + rowBg0 + rowBg1) >> 2; local 493 dst[i] = (alpha << 15) | (blue << 10) | (green << 5) | red; 516 const int green = (rowAg0 + rowAg1 + rowBg0 + rowBg1) >> 2; local 518 dst[i] = (blue << 5) | (green << 2) | red;
|
/external/pdfium/core/src/fxge/dib/ |
H A D | fx_dib_composite.cpp | 119 int green; member in struct:_RGB 124 return (color.red * 30 + color.green * 59 + color.blue * 11) / 100; 130 if (color.green < n) { 131 n = color.green; 137 if (color.green > x) { 138 x = color.green; 145 color.green = l + ((color.green - l) * l / (l - n)); 150 color.green = l + ((color.green [all...] |
/external/pdfium/samples/fx_lpng/lpng_v163/ |
H A D | fx_pngread.c | 1620 png_uint_32 ip, png_uint_32 red, png_uint_32 green, png_uint_32 blue,
1627 (red != green || green != blue);
1651 green = png_gamma_16bit_correct(green*257, g);
1663 green = PNG_sRGB_FROM_LINEAR(green * 255);
1675 green *= 257;
1687 green = png_sRGB_table[green];
1619 png_create_colormap_entry(png_image_read_control *display, png_uint_32 ip, png_uint_32 red, png_uint_32 green, png_uint_32 blue, png_uint_32 alpha, int encoding) argument [all...] |
H A D | fx_pngrtran.c | 756 int g = (palette[i].green >> (8 - PNG_QUANTIZE_GREEN_BITS));
952 png_fixed_point red, png_fixed_point green)
995 if (red >= 0 && green >= 0 && red + green <= PNG_FP_1)
1005 green_int = (png_uint_16)(((png_uint_32)green*32768)/100000);
1014 if (red >= 0 && green >= 0)
1042 double green)
1046 png_fixed(png_ptr, green, "rgb to gray green coefficient"));
1155 png_ptr->background.green 951 png_set_rgb_to_gray_fixed(png_structrp png_ptr, int error_action, png_fixed_point red, png_fixed_point green) argument 1041 png_set_rgb_to_gray(png_structrp png_ptr, int error_action, double red, double green) argument 3302 png_byte green = *(sp++); local 3341 png_byte green = *(sp++); local 3373 png_uint_16 red, green, blue, w; local 3424 png_uint_16 red, green, blue, gray16; local 4850 png_byte green = (png_byte)(trans_color->green & 0xff); local [all...] |
H A D | png.h | 835 /* Three color definitions. The order of the red, green, and blue, (and the 842 png_byte green; member in struct:png_color_struct 852 png_uint_16 red; /* for use in red green blue files */ 853 png_uint_16 green; member in struct:png_color_16_struct 863 png_byte red; /* for use in red green blue files */ 864 png_byte green; member in struct:png_color_8_struct 880 png_uint_16 green; member in struct:png_sPLT_entry_struct 1422 /* Use blue, green, red order for pixels. */ 1436 #define PNG_RGB_TO_GRAY_DEFAULT (-1)/*for red/green coefficients*/ 1439 int error_action, double red, double green)) [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | GLErrorLogger.java | 86 public void glClearColor(float red, float green, float blue, float alpha) { argument 87 ((GL10)mGL).glClearColor(red, green, blue, alpha); 91 public void glClearColorx(int red, int green, int blue, int alpha) { argument 92 ((GL10)mGL).glClearColorx(red, green, blue, alpha); 116 public void glColor4f(float red, float green, float blue, float alpha) { argument 117 ((GL10)mGL).glColor4f(red, green, blue, alpha); 121 public void glColor4x(int red, int green, int blue, int alpha) { argument 122 ((GL10)mGL).glColor4x(red, green, blue, alpha); 126 public void glColorMask(boolean red, boolean green, boolean blue, argument 128 ((GL10)mGL).glColorMask(red, green, blu [all...] |
/external/skia/src/gpu/gl/ |
H A D | GrGLNoOpInterface.cpp | 56 GrGLclampf green, 78 GrGLclampf green, 87 GrGLboolean green, 55 noOpGLBlendColor(GrGLclampf red, GrGLclampf green, GrGLclampf blue, GrGLclampf alpha) argument 77 noOpGLClearColor(GrGLclampf red, GrGLclampf green, GrGLclampf blue, GrGLclampf alpha) argument 86 noOpGLColorMask(GrGLboolean red, GrGLboolean green, GrGLboolean blue, GrGLboolean alpha) argument
|
/external/webp/src/dec/ |
H A D | vp8l.c | 34 // 1. green + length prefix codes + color cache codes, 319 // The huffman data is stored in red and green bytes. 712 // transform (color indexing), and trivial non-green literals. 857 int red, green, blue, alpha; local 859 green = code; 863 *src = ((uint32_t)alpha << 24) | (red << 16) | (green << 8) | blue; 1236 // Extract alpha (which is stored in the green plane).
|
/external/webp/src/enc/ |
H A D | vp8l.c | 699 // Check if it would be a good idea to subtract green from red and blue. We 721 const int green = (c >> 8) & 0xff; local 722 ++histo->red_[((c >> 16) - green) & 0xff]; 723 ++histo->blue_[((c >> 0) - green) & 0xff]; 728 // Check if subtracting green yields low entropy.
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fCopyImageTests.cpp | 423 const float green = rng.getFloat(info.valueMin.y(), info.valueMax.y()); local 427 const Vec4 color (red, green, blue, alpha);
|
H A D | es31fGeometryShaderTests.cpp | 953 const tcu::Vec4 green = tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f); local 956 const tcu::Vec4 colors[4] = { yellow, red, green, blue }; 982 const tcu::Vec4 green = tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f); local 985 const tcu::Vec4 colors[4] = { red, green, blue, yellow }; 1075 " const highp vec4 green = vec4(0.0, 1.0, 0.0, 1.0);\n" 1078 " const highp vec4 colors[4] = vec4[4](red, green, blue, yellow);\n" 1159 " const mediump vec4 green = vec4(0.0, 1.0, 0.0, 1.0);\n" 1162 " const mediump vec4 colors[4] = vec4[4](yellow, red, green, blue);\n" 1257 const tcu::Vec4 green = tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f); local 1260 const tcu::Vec4 colors[4] = { red, green, blu 3318 const tcu::Vec4 green = tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f); local [all...] |
/external/kernel-headers/original/uapi/linux/ |
H A D | fb.h | 217 #define FB_SYNC_ON_GREEN 32 /* sync on green */ 252 struct fb_bitfield green; /* else only length is significant */ member in struct:fb_var_screeninfo 284 __u16 *green; member in struct:fb_cmap
|
H A D | omap3isp.h | 516 * @green: Black level offset adjustment for Green in 2's complement format 523 __u8 green; member in struct:omap3isp_prev_blkadj 591 * @green: Array for green gamma table. 596 __u32 green[OMAP3ISP_PREV_GAMMA_TBL_SIZE]; member in struct:omap3isp_prev_gtables
|
/external/mesa3d/src/mesa/main/ |
H A D | api_loopback.c | 93 loopback_Color3b_f( GLbyte red, GLbyte green, GLbyte blue ) argument 96 BYTE_TO_FLOAT(green), 102 loopback_Color3d_f( GLdouble red, GLdouble green, GLdouble blue ) argument 104 COLORF( (GLfloat) red, (GLfloat) green, (GLfloat) blue, 1.0 ); 108 loopback_Color3i_f( GLint red, GLint green, GLint blue ) argument 110 COLORF( INT_TO_FLOAT(red), INT_TO_FLOAT(green), 115 loopback_Color3s_f( GLshort red, GLshort green, GLshort blue ) argument 117 COLORF( SHORT_TO_FLOAT(red), SHORT_TO_FLOAT(green), 122 loopback_Color3ui_f( GLuint red, GLuint green, GLuint blue ) argument 124 COLORF( UINT_TO_FLOAT(red), UINT_TO_FLOAT(green), 129 loopback_Color3us_f( GLushort red, GLushort green, GLushort blue ) argument 136 loopback_Color3ub_f( GLubyte red, GLubyte green, GLubyte blue ) argument 193 loopback_Color4b_f( GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha ) argument 201 loopback_Color4d_f( GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha ) argument 208 loopback_Color4i_f( GLint red, GLint green, GLint blue, GLint alpha ) argument 215 loopback_Color4s_f( GLshort red, GLshort green, GLshort blue, GLshort alpha ) argument 223 loopback_Color4ui_f( GLuint red, GLuint green, GLuint blue, GLuint alpha ) argument 230 loopback_Color4us_f( GLushort red, GLushort green, GLushort blue, GLushort alpha ) argument 237 loopback_Color4ub_f( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ) argument 942 loopback_SecondaryColor3bEXT_f( GLbyte red, GLbyte green, GLbyte blue ) argument 950 loopback_SecondaryColor3dEXT_f( GLdouble red, GLdouble green, GLdouble blue ) argument 956 loopback_SecondaryColor3iEXT_f( GLint red, GLint green, GLint blue ) argument 964 loopback_SecondaryColor3sEXT_f( GLshort red, GLshort green, GLshort blue ) argument 972 loopback_SecondaryColor3uiEXT_f( GLuint red, GLuint green, GLuint blue ) argument 980 loopback_SecondaryColor3usEXT_f( GLushort red, GLushort green, GLushort blue ) argument 988 loopback_SecondaryColor3ubEXT_f( GLubyte red, GLubyte green, GLubyte blue ) argument [all...] |
H A D | dlist.c | 1227 save_BlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) argument 1235 n[2].f = green; 1240 CALL_BlendColor(ctx->Exec, (red, green, blue, alpha)); 1602 save_ClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) argument 1610 n[2].f = green; 1615 CALL_ClearAccum(ctx->Exec, (red, green, blue, alpha)); 1621 save_ClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) argument 1629 n[2].f = green; 1634 CALL_ClearColor(ctx->Exec, (red, green, blue, alpha)); 1709 save_ColorMask(GLboolean red, GLboolean green, argument 1729 save_ColorMaskIndexed(GLuint buf, GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) argument 7222 save_ClearColorIi(GLint red, GLint green, GLint blue, GLint alpha) argument 7241 save_ClearColorIui(GLuint red, GLuint green, GLuint blue, GLuint alpha) argument [all...] |
/external/webp/src/dsp/ |
H A D | lossless.c | 799 const uint32_t green = (argb >> 8) & 0xff; local 800 const uint32_t new_r = (((argb >> 16) & 0xff) - green) & 0xff; 801 const uint32_t new_b = ((argb & 0xff) - green) & 0xff; 806 // Add green to blue and red channels (i.e. perform the inverse transform of 807 // 'subtract green'). 812 const uint32_t green = ((argb >> 8) & 0xff); local 814 red_blue += (green << 16) | green; 851 const uint32_t green = argb >> 8; local 855 new_red -= ColorTransformDelta(m->green_to_red_, green); 869 const uint32_t green = argb >> 8; local 884 const uint32_t green = argb >> 8; local 893 const uint32_t green = argb >> 8; local [all...] |
/external/deqp/modules/glshared/ |
H A D | glsDrawTest.cpp | 3571 const tcu::IVec4 green (0, 255, 0, 255); 3581 tcu::clear(tcu::getSubregion(errorAccess, 0, 0, width, 1), green); local 3582 tcu::clear(tcu::getSubregion(errorAccess, 0, height-1, width, 1), green); local 3583 tcu::clear(tcu::getSubregion(errorAccess, 0, 0, 1, height), green); local 3584 tcu::clear(tcu::getSubregion(errorAccess, width-1, 0, 1, height), green); local 3666 const tcu::IVec4 green (0, 255, 0, 255); 3676 tcu::clear(tcu::getSubregion(errorAccess, 0, 0, width, 1), green); local 3677 tcu::clear(tcu::getSubregion(errorAccess, 0, height-1, width, 1), green); local 3678 tcu::clear(tcu::getSubregion(errorAccess, 0, 0, 1, height), green); local 3679 tcu::clear(tcu::getSubregion(errorAccess, width-1, 0, 1, height), green); local [all...] |
/external/libdrm/include/drm/ |
H A D | radeon_drm.h | 338 unsigned int green; member in struct:__anon7907
|
/external/valgrind/include/vki/ |
H A D | vki-linux-drm.h | 440 __vki_u64 green; member in struct:vki_drm_mode_crtc_lut
|
/external/kernel-headers/original/uapi/drm/ |
H A D | radeon_drm.h | 338 unsigned int green; member in struct:__anon6620
|
/external/libpng/contrib/libtests/ |
H A D | pngvalid.c | 584 png_byte green; member in struct:store_palette_entry 1751 CIE_color red, green, blue; /* End points */ member in struct:color_encoding 1772 white.X = encoding->red.X + encoding->green.X + encoding->blue.X; 1773 white.Y = encoding->red.Y + encoding->green.Y + encoding->blue.Y; 1774 white.Z = encoding->red.Z + encoding->green.Z + encoding->blue.Z; 1783 PNG_CONST double whiteY = encoding->red.Y + encoding->green.Y + 1791 encoding->green.X /= whiteY; 1792 encoding->green.Y /= whiteY; 1793 encoding->green.Z /= whiteY; 1816 pos = safecatd(buffer, bufsize, pos, e->green 4264 png_uint_16 green; member in struct:standard_display::__anon9086 5275 unsigned int red, green, blue, alpha; /* For non-palette images. */ member in struct:image_pixel [all...] |
/external/mesa3d/src/gallium/drivers/svga/include/ |
H A D | svga3d_reg.h | 634 uint32 green : 1; member in struct:__anon12206::__anon12207
|
/external/libvncserver/x11vnc/ |
H A D | nox11.h | 1205 unsigned short red, green, blue; member in struct:__anon9270
|