Home
last modified time | relevance | path

Searched refs:Pixel (Results 1 – 25 of 88) sorted by relevance

1234

/external/mesa3d/src/mesa/main/
Dpixel.c57 if (ctx->Pixel.ZoomX == xfactor && in _mesa_PixelZoom()
58 ctx->Pixel.ZoomY == yfactor) in _mesa_PixelZoom()
62 ctx->Pixel.ZoomX = xfactor; in _mesa_PixelZoom()
63 ctx->Pixel.ZoomY = yfactor; in _mesa_PixelZoom()
516 if (ctx->Pixel.MapColorFlag == (param ? GL_TRUE : GL_FALSE)) in _mesa_PixelTransferf()
519 ctx->Pixel.MapColorFlag = param ? GL_TRUE : GL_FALSE; in _mesa_PixelTransferf()
522 if (ctx->Pixel.MapStencilFlag == (param ? GL_TRUE : GL_FALSE)) in _mesa_PixelTransferf()
525 ctx->Pixel.MapStencilFlag = param ? GL_TRUE : GL_FALSE; in _mesa_PixelTransferf()
528 if (ctx->Pixel.IndexShift == (GLint) param) in _mesa_PixelTransferf()
531 ctx->Pixel.IndexShift = (GLint) param; in _mesa_PixelTransferf()
[all …]
Dpixeltransfer.c132 const GLfloat scale = ctx->Pixel.DepthScale; in _mesa_scale_and_bias_depth()
133 const GLfloat bias = ctx->Pixel.DepthBias; in _mesa_scale_and_bias_depth()
147 const GLdouble scale = ctx->Pixel.DepthScale; in _mesa_scale_and_bias_depth_uint()
148 const GLdouble bias = ctx->Pixel.DepthBias * max; in _mesa_scale_and_bias_depth_uint()
168 ctx->Pixel.RedScale, ctx->Pixel.GreenScale, in _mesa_apply_rgba_transfer_ops()
169 ctx->Pixel.BlueScale, ctx->Pixel.AlphaScale, in _mesa_apply_rgba_transfer_ops()
170 ctx->Pixel.RedBias, ctx->Pixel.GreenBias, in _mesa_apply_rgba_transfer_ops()
171 ctx->Pixel.BlueBias, ctx->Pixel.AlphaBias); in _mesa_apply_rgba_transfer_ops()
198 GLint shift = ctx->Pixel.IndexShift; in _mesa_shift_and_offset_ci()
199 GLint offset = ctx->Pixel.IndexOffset; in _mesa_shift_and_offset_ci()
[all …]
Dreadpix.c65 if (ctx->Pixel.DepthScale != 1.0 || ctx->Pixel.DepthBias != 0.0) in fast_read_depth_pixels()
604 = ctx->Pixel.DepthScale != 1.0 || ctx->Pixel.DepthBias != 0.0; in read_depth_stencil_pixels()
605 const GLboolean stencilTransfer = ctx->Pixel.IndexShift in read_depth_stencil_pixels()
606 || ctx->Pixel.IndexOffset || ctx->Pixel.MapStencilFlag; in read_depth_stencil_pixels()
Dget.c823 { GL_ALPHA_BIAS, CONTEXT_FLOAT(Pixel.AlphaBias), NO_EXTRA },
824 { GL_ALPHA_SCALE, CONTEXT_FLOAT(Pixel.AlphaScale), NO_EXTRA },
828 { GL_BLUE_BIAS, CONTEXT_FLOAT(Pixel.BlueBias), NO_EXTRA },
829 { GL_BLUE_SCALE, CONTEXT_FLOAT(Pixel.BlueScale), NO_EXTRA },
846 { GL_DEPTH_BIAS, CONTEXT_FLOAT(Pixel.DepthBias), NO_EXTRA },
847 { GL_DEPTH_SCALE, CONTEXT_FLOAT(Pixel.DepthScale), NO_EXTRA },
854 { GL_GREEN_BIAS, CONTEXT_FLOAT(Pixel.GreenBias), NO_EXTRA },
855 { GL_GREEN_SCALE, CONTEXT_FLOAT(Pixel.GreenScale), NO_EXTRA },
859 { GL_INDEX_OFFSET, CONTEXT_INT(Pixel.IndexOffset), NO_EXTRA },
860 { GL_INDEX_SHIFT, CONTEXT_INT(Pixel.IndexShift), NO_EXTRA },
[all …]
Dimage.c602 ASSERT(ctx->Pixel.ZoomX == 1.0F); in _mesa_clip_drawpixels()
603 ASSERT(ctx->Pixel.ZoomY == 1.0F || ctx->Pixel.ZoomY == -1.0F); in _mesa_clip_drawpixels()
618 if (ctx->Pixel.ZoomY == 1.0F) { in _mesa_clip_drawpixels()
/external/libpng/contrib/libtests/
Dpngstest.c761 } Pixel; typedef
781 gp_g8(Pixel *p, png_const_voidp pb) in gp_g8()
790 gp_ga8(Pixel *p, png_const_voidp pb) in gp_ga8()
800 gp_ag8(Pixel *p, png_const_voidp pb) in gp_ag8()
810 gp_rgb8(Pixel *p, png_const_voidp pb) in gp_rgb8()
822 gp_bgr8(Pixel *p, png_const_voidp pb) in gp_bgr8()
834 gp_rgba8(Pixel *p, png_const_voidp pb) in gp_rgba8()
846 gp_bgra8(Pixel *p, png_const_voidp pb) in gp_bgra8()
859 gp_argb8(Pixel *p, png_const_voidp pb) in gp_argb8()
872 gp_abgr8(Pixel *p, png_const_voidp pb) in gp_abgr8()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_pixeltransfer.c76 if (ctx->Pixel.RedBias != 0.0 || ctx->Pixel.RedScale != 1.0 || in make_state_key()
77 ctx->Pixel.GreenBias != 0.0 || ctx->Pixel.GreenScale != 1.0 || in make_state_key()
78 ctx->Pixel.BlueBias != 0.0 || ctx->Pixel.BlueScale != 1.0 || in make_state_key()
79 ctx->Pixel.AlphaBias != 0.0 || ctx->Pixel.AlphaScale != 1.0) { in make_state_key()
83 key->pixelMaps = ctx->Pixel.MapColorFlag; in make_state_key()
309 if (ctx->Pixel.MapColorFlag) { in update_pixel_transfer()
312 st->pixel_xfer.pixelmap_enabled = ctx->Pixel.MapColorFlag; in update_pixel_transfer()
Dst_cb_drawpixels.c116 if (ctx->Pixel.RedBias != 0.0 || ctx->Pixel.RedScale != 1.0 || in get_glsl_pixel_transfer_program()
117 ctx->Pixel.GreenBias != 0.0 || ctx->Pixel.GreenScale != 1.0 || in get_glsl_pixel_transfer_program()
118 ctx->Pixel.BlueBias != 0.0 || ctx->Pixel.BlueScale != 1.0 || in get_glsl_pixel_transfer_program()
119 ctx->Pixel.AlphaBias != 0.0 || ctx->Pixel.AlphaScale != 1.0) { in get_glsl_pixel_transfer_program()
123 pixelMaps = ctx->Pixel.MapColorFlag; in get_glsl_pixel_transfer_program()
790 y = ctx->DrawBuffer->Height - (int) (y + height * ctx->Pixel.ZoomY); in draw_textured_quad()
795 x1 = x + width * ctx->Pixel.ZoomX; in draw_textured_quad()
797 y1 = y + height * ctx->Pixel.ZoomY; in draw_textured_quad()
839 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0 || ctx->Pixel.ZoomY != 1.0; in draw_stencil_pixels()
1021 key.scaleAndBias = (ctx->Pixel.RedBias != 0.0 || in get_color_fp_variant()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_copypix.c104 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F; in copy_rgba_pixels()
116 ctx->Pixel.ZoomX, ctx->Pixel.ZoomY); in copy_rgba_pixels()
215 ctx->Pixel.DepthScale == 1.0 && in scale_and_bias_z()
216 ctx->Pixel.DepthBias == 0.0) { in scale_and_bias_z()
227 GLdouble d = depth[i] * ctx->Pixel.DepthScale + ctx->Pixel.DepthBias; in scale_and_bias_z()
252 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F; in copy_depth_pixels()
267 ctx->Pixel.ZoomX, ctx->Pixel.ZoomY); in copy_depth_pixels()
354 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F; in copy_stencil_pixels()
364 ctx->Pixel.ZoomX, ctx->Pixel.ZoomY); in copy_stencil_pixels()
637 ctx->Pixel.ZoomX != 1.0F || in _swrast_CopyPixels()
[all …]
Ds_drawpix.c75 if (ctx->Pixel.ZoomY == -1.0f) { in fast_draw_rgb_ubyte_pixels()
122 if (ctx->Pixel.ZoomY == -1.0f) { in fast_draw_rgba_ubyte_pixels()
172 if (ctx->Pixel.ZoomY == -1.0f) { in fast_draw_generic_pixels()
209 ctx->Pixel.ZoomX != 1.0f || in fast_draw_rgba_pixels()
210 fabsf(ctx->Pixel.ZoomY) != 1.0f || in fast_draw_rgba_pixels()
265 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0 || ctx->Pixel.ZoomY != 1.0; in draw_stencil_pixels()
310 = ctx->Pixel.DepthScale != 1.0 || ctx->Pixel.DepthBias != 0.0; in draw_depth_pixels()
311 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0 || ctx->Pixel.ZoomY != 1.0; in draw_depth_pixels()
416 const GLboolean zoom = ctx->Pixel.ZoomX!=1.0 || ctx->Pixel.ZoomY!=1.0; in draw_rgba_pixels()
556 = ctx->Pixel.DepthScale != 1.0 || ctx->Pixel.DepthBias != 0.0; in draw_depth_stencil_pixels()
[all …]
Ds_zoom.c62 c0 = imageX + (GLint) ((spanX - imageX) * ctx->Pixel.ZoomX); in compute_zoomed_bounds()
63 c1 = imageX + (GLint) ((spanX + width - imageX) * ctx->Pixel.ZoomX); in compute_zoomed_bounds()
79 r0 = imageY + (GLint) ((spanY - imageY) * ctx->Pixel.ZoomY); in compute_zoomed_bounds()
80 r1 = imageY + (GLint) ((spanY + 1 - imageY) * ctx->Pixel.ZoomY); in compute_zoomed_bounds()
215 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
225 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
235 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
247 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
260 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
273 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
[all …]
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c572 save->RedScale = ctx->Pixel.RedScale; in _mesa_meta_begin()
573 save->RedBias = ctx->Pixel.RedBias; in _mesa_meta_begin()
574 save->GreenScale = ctx->Pixel.GreenScale; in _mesa_meta_begin()
575 save->GreenBias = ctx->Pixel.GreenBias; in _mesa_meta_begin()
576 save->BlueScale = ctx->Pixel.BlueScale; in _mesa_meta_begin()
577 save->BlueBias = ctx->Pixel.BlueBias; in _mesa_meta_begin()
578 save->AlphaScale = ctx->Pixel.AlphaScale; in _mesa_meta_begin()
579 save->AlphaBias = ctx->Pixel.AlphaBias; in _mesa_meta_begin()
580 save->MapColorFlag = ctx->Pixel.MapColorFlag; in _mesa_meta_begin()
581 ctx->Pixel.RedScale = 1.0F; in _mesa_meta_begin()
[all …]
/external/deqp/doc/testspecs/GLES3/
Dfunctional.pbo.txt19 Pixel Buffer Object tests
42 Pixel buffer object tests create pixel pack buffer or unpack buffer. Data is
Dfunctional.fbo.blit.txt32 + Pixel ownership test
/external/giflib/
Degif_lib.c470 EGifPutPixel(GifFileType *GifFile, GifPixelType Pixel) in EGifPutPixel() argument
488 Pixel &= CodeMask[Private->BitsPerPixel]; in EGifPutPixel()
490 return EGifCompressLine(GifFile, &Pixel, 1); in EGifPutPixel()
880 GifPixelType Pixel; in EGifCompressLine() local
892 Pixel = Line[i++]; /* Get next pixel from stream. */ in EGifCompressLine()
896 NewKey = (((uint32_t) CrntCode) << 8) + Pixel; in EGifCompressLine()
910 CrntCode = Pixel; in EGifCompressLine()
/external/mesa3d/src/mesa/program/
Dprog_statevars.c541 value[0] = ctx->Pixel.RedScale; in _mesa_fetch_state()
542 value[1] = ctx->Pixel.GreenScale; in _mesa_fetch_state()
543 value[2] = ctx->Pixel.BlueScale; in _mesa_fetch_state()
544 value[3] = ctx->Pixel.AlphaScale; in _mesa_fetch_state()
548 value[0] = ctx->Pixel.RedBias; in _mesa_fetch_state()
549 value[1] = ctx->Pixel.GreenBias; in _mesa_fetch_state()
550 value[2] = ctx->Pixel.BlueBias; in _mesa_fetch_state()
551 value[3] = ctx->Pixel.AlphaBias; in _mesa_fetch_state()
/external/mesa3d/src/mesa/drivers/x11/
Dxm_dd.c310 ctx->Pixel.ZoomX == 1.0 && /* no zooming */ in can_do_DrawPixels_8R8G8B()
311 ctx->Pixel.ZoomY == 1.0 && in can_do_DrawPixels_8R8G8B()
443 ctx->Pixel.ZoomX == 1.0 && /* no zooming */ in can_do_DrawPixels_5R6G5B()
444 ctx->Pixel.ZoomY == 1.0 && in can_do_DrawPixels_5R6G5B()
572 ctx->Pixel.ZoomX == 1.0 && /* no zooming */ in can_do_CopyPixels()
573 ctx->Pixel.ZoomY == 1.0 && in can_do_CopyPixels()
575 ctx->Pixel.ReadBuffer == GL_FRONT && /* copy from front buf */ in can_do_CopyPixels()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_pixel_copy.c149 ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F) in do_blit_copypixels()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_pixel_copy.c149 ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F) in do_blit_copypixels()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_pixel_copy.c149 ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F) in do_blit_copypixels()
/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_composite.h27 Pixel fg);
/external/ceres-solver/examples/
Dpgm_image.h66 Real Pixel(int x, int y) const;
134 Real PGMImage<Real>::Pixel(int x, int y) const { in Pixel() function
/external/llvm/test/CodeGen/R600/
Delf.ll34 attributes #0 = { "ShaderType"="0" } ; Pixel Shader
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/
DFastSimpleExpression.g37 * Copyright (c) 2008-2009 Sam Harwell, Pixel Mine, Inc.
DSimpleExpression.g37 * Copyright (c) 2008-2009 Sam Harwell, Pixel Mine, Inc.

1234