Searched refs:Pixel (Results 1 - 25 of 70) sorted by relevance

123

/external/qemu/distrib/sdl-1.2.15/src/video/
H A DSDL_blit.h89 #define RGB_FROM_PIXEL(Pixel, fmt, r, g, b) \
91 r = (((Pixel&fmt->Rmask)>>fmt->Rshift)<<fmt->Rloss); \
92 g = (((Pixel&fmt->Gmask)>>fmt->Gshift)<<fmt->Gloss); \
93 b = (((Pixel&fmt->Bmask)>>fmt->Bshift)<<fmt->Bloss); \
95 #define RGB_FROM_RGB565(Pixel, r, g, b) \
97 r = (((Pixel&0xF800)>>11)<<3); \
98 g = (((Pixel&0x07E0)>>5)<<2); \
99 b = ((Pixel&0x001F)<<3); \
101 #define RGB_FROM_RGB555(Pixel, r, g, b) \
103 r = (((Pixel
[all...]
H A DSDL_blit_N.c186 Uint32 Pixel; \
188 DISEMBLE_RGBA((Uint8 *)src, 4, srcfmt, Pixel, \
336 unsigned short Pixel = *((unsigned short *)src); \
337 sR = (Pixel >> 8) & 0xf8; \
338 sG = (Pixel >> 3) & 0xfc; \
339 sB = (Pixel << 3) & 0xf8; \
481 unsigned short Pixel = *((unsigned short *)src); \
482 sR = (Pixel >> 7) & 0xf8; \
483 sG = (Pixel >> 2) & 0xf8; \
484 sB = (Pixel <<
925 int Pixel; local
1834 int Pixel; local
1907 Uint32 Pixel; local
2083 Uint32 Pixel; local
2110 Uint32 Pixel; local
2245 Uint32 Pixel; local
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dpixel.c28 * Pixel transfer functions (glPixelZoom, glPixelMap, glPixelTransfer)
57 if (ctx->Pixel.ZoomX == xfactor &&
58 ctx->Pixel.ZoomY == yfactor)
62 ctx->Pixel.ZoomX = xfactor;
63 ctx->Pixel.ZoomY = yfactor;
516 if (ctx->Pixel.MapColorFlag == (param ? GL_TRUE : GL_FALSE))
519 ctx->Pixel.MapColorFlag = param ? GL_TRUE : GL_FALSE;
522 if (ctx->Pixel.MapStencilFlag == (param ? GL_TRUE : GL_FALSE))
525 ctx->Pixel.MapStencilFlag = param ? GL_TRUE : GL_FALSE;
528 if (ctx->Pixel
[all...]
H A Dpixeltransfer.c28 * Pixel transfer operations (scale, bias, table lookups, etc)
132 const GLfloat scale = ctx->Pixel.DepthScale;
133 const GLfloat bias = ctx->Pixel.DepthBias;
147 const GLdouble scale = ctx->Pixel.DepthScale;
148 const GLdouble bias = ctx->Pixel.DepthBias * max;
168 ctx->Pixel.RedScale, ctx->Pixel.GreenScale,
169 ctx->Pixel.BlueScale, ctx->Pixel.AlphaScale,
170 ctx->Pixel
[all...]
/external/mesa3d/src/mesa/main/
H A Dpixel.c28 * Pixel transfer functions (glPixelZoom, glPixelMap, glPixelTransfer)
57 if (ctx->Pixel.ZoomX == xfactor &&
58 ctx->Pixel.ZoomY == yfactor)
62 ctx->Pixel.ZoomX = xfactor;
63 ctx->Pixel.ZoomY = yfactor;
516 if (ctx->Pixel.MapColorFlag == (param ? GL_TRUE : GL_FALSE))
519 ctx->Pixel.MapColorFlag = param ? GL_TRUE : GL_FALSE;
522 if (ctx->Pixel.MapStencilFlag == (param ? GL_TRUE : GL_FALSE))
525 ctx->Pixel.MapStencilFlag = param ? GL_TRUE : GL_FALSE;
528 if (ctx->Pixel
[all...]
H A Dpixeltransfer.c28 * Pixel transfer operations (scale, bias, table lookups, etc)
132 const GLfloat scale = ctx->Pixel.DepthScale;
133 const GLfloat bias = ctx->Pixel.DepthBias;
147 const GLdouble scale = ctx->Pixel.DepthScale;
148 const GLdouble bias = ctx->Pixel.DepthBias * max;
168 ctx->Pixel.RedScale, ctx->Pixel.GreenScale,
169 ctx->Pixel.BlueScale, ctx->Pixel.AlphaScale,
170 ctx->Pixel
[all...]
/external/libpng/contrib/libtests/
H A Dpngstest.c761 } Pixel; typedef in typeref:struct:__anon24614
777 /* Read a Pixel from a buffer. The code below stores the correct routine for
781 gp_g8(Pixel *p, png_const_voidp pb)
790 gp_ga8(Pixel *p, png_const_voidp pb)
800 gp_ag8(Pixel *p, png_const_voidp pb)
810 gp_rgb8(Pixel *p, png_const_voidp pb)
822 gp_bgr8(Pixel *p, png_const_voidp pb)
834 gp_rgba8(Pixel *p, png_const_voidp pb)
846 gp_bgra8(Pixel *p, png_const_voidp pb)
859 gp_argb8(Pixel *
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
H A Dst_atom_pixeltransfer.c76 if (ctx->Pixel.RedBias != 0.0 || ctx->Pixel.RedScale != 1.0 ||
77 ctx->Pixel.GreenBias != 0.0 || ctx->Pixel.GreenScale != 1.0 ||
78 ctx->Pixel.BlueBias != 0.0 || ctx->Pixel.BlueScale != 1.0 ||
79 ctx->Pixel.AlphaBias != 0.0 || ctx->Pixel.AlphaScale != 1.0) {
83 key->pixelMaps = ctx->Pixel.MapColorFlag;
309 if (ctx->Pixel
[all...]
H A Dst_cb_drawpixels.c116 if (ctx->Pixel.RedBias != 0.0 || ctx->Pixel.RedScale != 1.0 ||
117 ctx->Pixel.GreenBias != 0.0 || ctx->Pixel.GreenScale != 1.0 ||
118 ctx->Pixel.BlueBias != 0.0 || ctx->Pixel.BlueScale != 1.0 ||
119 ctx->Pixel.AlphaBias != 0.0 || ctx->Pixel.AlphaScale != 1.0) {
123 pixelMaps = ctx->Pixel.MapColorFlag;
790 y = ctx->DrawBuffer->Height - (int) (y + height * ctx->Pixel
[all...]
/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_pixeltransfer.c76 if (ctx->Pixel.RedBias != 0.0 || ctx->Pixel.RedScale != 1.0 ||
77 ctx->Pixel.GreenBias != 0.0 || ctx->Pixel.GreenScale != 1.0 ||
78 ctx->Pixel.BlueBias != 0.0 || ctx->Pixel.BlueScale != 1.0 ||
79 ctx->Pixel.AlphaBias != 0.0 || ctx->Pixel.AlphaScale != 1.0) {
83 key->pixelMaps = ctx->Pixel.MapColorFlag;
309 if (ctx->Pixel
[all...]
H A Dst_cb_drawpixels.c116 if (ctx->Pixel.RedBias != 0.0 || ctx->Pixel.RedScale != 1.0 ||
117 ctx->Pixel.GreenBias != 0.0 || ctx->Pixel.GreenScale != 1.0 ||
118 ctx->Pixel.BlueBias != 0.0 || ctx->Pixel.BlueScale != 1.0 ||
119 ctx->Pixel.AlphaBias != 0.0 || ctx->Pixel.AlphaScale != 1.0) {
123 pixelMaps = ctx->Pixel.MapColorFlag;
790 y = ctx->DrawBuffer->Height - (int) (y + height * ctx->Pixel
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_copypix.c104 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F;
116 ctx->Pixel.ZoomX, ctx->Pixel.ZoomY);
215 ctx->Pixel.DepthScale == 1.0 &&
216 ctx->Pixel.DepthBias == 0.0) {
227 GLdouble d = depth[i] * ctx->Pixel.DepthScale + ctx->Pixel.DepthBias;
252 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel
[all...]
H A Ds_drawpix.c75 if (ctx->Pixel.ZoomY == -1.0f) {
122 if (ctx->Pixel.ZoomY == -1.0f) {
172 if (ctx->Pixel.ZoomY == -1.0f) {
209 ctx->Pixel.ZoomX != 1.0f ||
210 fabsf(ctx->Pixel.ZoomY) != 1.0f ||
265 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0 || ctx->Pixel.ZoomY != 1.0;
310 = ctx->Pixel.DepthScale != 1.0 || ctx->Pixel.DepthBias != 0.0;
311 const GLboolean zoom = ctx->Pixel
[all...]
H A Ds_zoom.c62 c0 = imageX + (GLint) ((spanX - imageX) * ctx->Pixel.ZoomX);
63 c1 = imageX + (GLint) ((spanX + width - imageX) * ctx->Pixel.ZoomX);
79 r0 = imageY + (GLint) ((spanY - imageY) * ctx->Pixel.ZoomY);
80 r1 = imageY + (GLint) ((spanY + 1 - imageY) * ctx->Pixel.ZoomY);
215 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x;
225 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x;
235 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x;
247 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x;
260 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x;
273 GLint j = unzoom_x(ctx->Pixel
[all...]
/external/mesa3d/src/mesa/swrast/
H A Ds_copypix.c104 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F;
116 ctx->Pixel.ZoomX, ctx->Pixel.ZoomY);
215 ctx->Pixel.DepthScale == 1.0 &&
216 ctx->Pixel.DepthBias == 0.0) {
227 GLdouble d = depth[i] * ctx->Pixel.DepthScale + ctx->Pixel.DepthBias;
252 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel
[all...]
H A Ds_drawpix.c75 if (ctx->Pixel.ZoomY == -1.0f) {
122 if (ctx->Pixel.ZoomY == -1.0f) {
172 if (ctx->Pixel.ZoomY == -1.0f) {
209 ctx->Pixel.ZoomX != 1.0f ||
210 fabsf(ctx->Pixel.ZoomY) != 1.0f ||
265 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0 || ctx->Pixel.ZoomY != 1.0;
310 = ctx->Pixel.DepthScale != 1.0 || ctx->Pixel.DepthBias != 0.0;
311 const GLboolean zoom = ctx->Pixel
[all...]
H A Ds_zoom.c62 c0 = imageX + (GLint) ((spanX - imageX) * ctx->Pixel.ZoomX);
63 c1 = imageX + (GLint) ((spanX + width - imageX) * ctx->Pixel.ZoomX);
79 r0 = imageY + (GLint) ((spanY - imageY) * ctx->Pixel.ZoomY);
80 r1 = imageY + (GLint) ((spanY + 1 - imageY) * ctx->Pixel.ZoomY);
215 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x;
225 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x;
235 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x;
247 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x;
260 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x;
273 GLint j = unzoom_x(ctx->Pixel
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/
H A Dxorg_composite.h27 Pixel fg);
/external/mesa3d/src/gallium/state_trackers/xorg/
H A Dxorg_composite.h27 Pixel fg);
/external/chromium_org/content/test/gpu/gpu_tests/
H A Dpixel.py149 class Pixel(cloud_storage_test_base.TestBase): class in inherits:cloud_storage_test_base.TestBase
154 super(Pixel, cls).AddTestCommandLineArgs(group)
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
H A Dintel_pixel_copy.c149 ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F)
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dintel_pixel_copy.c149 ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F)
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/
H A Dintel_pixel_copy.c149 ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F)
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_pixel_copy.c149 ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F)
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dintel_pixel_copy.c149 ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F)

Completed in 2527 milliseconds

123