/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
pixel.c | 27 * \file pixel.c 28 * Pixel transfer functions (glPixelZoom, glPixelMap, glPixelTransfer) 37 #include "pixel.h" 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) [all...] |
pixeltransfer.c | 28 * Pixel transfer operations (scale, bias, table lookups, etc) 77 * Apply pixel mapping to an array of floating point RGBA pixels. 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; 158 * Apply various pixel transfer operations to an array of RGBA pixels 168 ctx->Pixel.RedScale, ctx->Pixel.GreenScale, 169 ctx->Pixel.BlueScale, ctx->Pixel.AlphaScale [all...] |
/external/mesa3d/src/mesa/main/ |
pixel.c | 27 * \file pixel.c 28 * Pixel transfer functions (glPixelZoom, glPixelMap, glPixelTransfer) 37 #include "pixel.h" 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) [all...] |
pixeltransfer.c | 28 * Pixel transfer operations (scale, bias, table lookups, etc) 77 * Apply pixel mapping to an array of floating point RGBA pixels. 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; 158 * Apply various pixel transfer operations to an array of RGBA pixels 168 ctx->Pixel.RedScale, ctx->Pixel.GreenScale, 169 ctx->Pixel.BlueScale, ctx->Pixel.AlphaScale [all...] |
/external/libpng/contrib/libtests/ |
pngstest.c | 761 } Pixel; 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 *p, png_const_voidp pb [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_atom_pixeltransfer.c | 29 * Generate fragment programs to implement pixel transfer ops, such as 76 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 [all...] |
st_cb_drawpixels.c | 102 * Returns a fragment program which implements the current pixel transfer ops. 116 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 [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_pixeltransfer.c | 29 * Generate fragment programs to implement pixel transfer ops, such as 76 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 [all...] |
st_cb_drawpixels.c | 102 * Returns a fragment program which implements the current pixel transfer ops. 116 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 [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_copypix.c | 71 /* add one pixel of slop when zooming, just to be safe */ 104 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F; 116 ctx->Pixel.ZoomX, ctx->Pixel.ZoomY); 204 * Convert floating point Z values to integer Z values with pixel transfer's 215 ctx->Pixel.DepthScale == 1.0 && 216 ctx->Pixel.DepthBias == 0.0) { 227 GLdouble d = depth[i] * ctx->Pixel.DepthScale + ctx->Pixel.DepthBias [all...] |
s_drawpix.c | 75 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 || 249 /* can't handle this pixel format and/or data type */ 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 [all...] |
s_zoom.c | 38 * Compute the bounds of the region resulting from zooming a pixel span. 62 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); 104 * 'zx' is screen position of a pixel in the zoomed image, who's left edge 155 /* no pixel arrays! must be horizontal spans. */ 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 [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_copypix.c | 71 /* add one pixel of slop when zooming, just to be safe */ 104 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F; 116 ctx->Pixel.ZoomX, ctx->Pixel.ZoomY); 204 * Convert floating point Z values to integer Z values with pixel transfer's 215 ctx->Pixel.DepthScale == 1.0 && 216 ctx->Pixel.DepthBias == 0.0) { 227 GLdouble d = depth[i] * ctx->Pixel.DepthScale + ctx->Pixel.DepthBias [all...] |
s_drawpix.c | 75 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 || 249 /* can't handle this pixel format and/or data type */ 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 [all...] |
s_zoom.c | 38 * Compute the bounds of the region resulting from zooming a pixel span. 62 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); 104 * 'zx' is screen position of a pixel in the zoomed image, who's left edge 155 /* no pixel arrays! must be horizontal spans. */ 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 [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/ |
xorg_composite.h | 27 Pixel fg);
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
xorg_composite.h | 27 Pixel fg);
|
/external/chromium_org/content/test/gpu/gpu_tests/ |
pixel.py | 149 class Pixel(cloud_storage_test_base.TestBase): 154 super(Pixel, cls).AddTestCommandLineArgs(group)
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
intel_pixel_copy.c | 74 * CopyPixels with the blitter. Don't support zooming, pixel transfer, etc. 149 ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F)
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_pixel_copy.c | 74 * CopyPixels with the blitter. Don't support zooming, pixel transfer, etc. 149 ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F)
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/common/ |
meta.c | 54 #include "main/pixel.h" 572 save->RedScale = ctx->Pixel.RedScale; 573 save->RedBias = ctx->Pixel.RedBias; 574 save->GreenScale = ctx->Pixel.GreenScale; 575 save->GreenBias = ctx->Pixel.GreenBias; 576 save->BlueScale = ctx->Pixel.BlueScale; 577 save->BlueBias = ctx->Pixel.BlueBias; 578 save->AlphaScale = ctx->Pixel.AlphaScale; 579 save->AlphaBias = ctx->Pixel.AlphaBias; 580 save->MapColorFlag = ctx->Pixel.MapColorFlag [all...] |
/external/mesa3d/src/mesa/drivers/common/ |
meta.c | 54 #include "main/pixel.h" 572 save->RedScale = ctx->Pixel.RedScale; 573 save->RedBias = ctx->Pixel.RedBias; 574 save->GreenScale = ctx->Pixel.GreenScale; 575 save->GreenBias = ctx->Pixel.GreenBias; 576 save->BlueScale = ctx->Pixel.BlueScale; 577 save->BlueBias = ctx->Pixel.BlueBias; 578 save->AlphaScale = ctx->Pixel.AlphaScale; 579 save->AlphaBias = ctx->Pixel.AlphaBias; 580 save->MapColorFlag = ctx->Pixel.MapColorFlag [all...] |
/external/ceres-solver/examples/ |
pgm_image.h | 66 Real Pixel(int x, int y) const; 134 Real PGMImage<Real>::Pixel(int x, int y) const {
|
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
prog_statevars.c | 452 /* for simpler per-vertex/pixel fog calcs. POW (for EXP/EXP2 fog) 541 value[0] = ctx->Pixel.RedScale; 542 value[1] = ctx->Pixel.GreenScale; 543 value[2] = ctx->Pixel.BlueScale; 544 value[3] = ctx->Pixel.AlphaScale; 548 value[0] = ctx->Pixel.RedBias; 549 value[1] = ctx->Pixel.GreenBias; 550 value[2] = ctx->Pixel.BlueBias; 551 value[3] = ctx->Pixel.AlphaBias; [all...] |
/external/mesa3d/src/mesa/program/ |
prog_statevars.c | 452 /* for simpler per-vertex/pixel fog calcs. POW (for EXP/EXP2 fog) 541 value[0] = ctx->Pixel.RedScale; 542 value[1] = ctx->Pixel.GreenScale; 543 value[2] = ctx->Pixel.BlueScale; 544 value[3] = ctx->Pixel.AlphaScale; 548 value[0] = ctx->Pixel.RedBias; 549 value[1] = ctx->Pixel.GreenBias; 550 value[2] = ctx->Pixel.BlueBias; 551 value[3] = ctx->Pixel.AlphaBias; [all...] |