Home
last modified time | relevance | path

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

123456

/external/mesa3d/src/mesa/main/
Dpixel.c50 if (ctx->Pixel.ZoomX == xfactor && in _mesa_PixelZoom()
51 ctx->Pixel.ZoomY == yfactor) in _mesa_PixelZoom()
55 ctx->Pixel.ZoomX = xfactor; in _mesa_PixelZoom()
56 ctx->Pixel.ZoomY = yfactor; in _mesa_PixelZoom()
499 if (ctx->Pixel.MapColorFlag == (param ? GL_TRUE : GL_FALSE)) in _mesa_PixelTransferf()
502 ctx->Pixel.MapColorFlag = param ? GL_TRUE : GL_FALSE; in _mesa_PixelTransferf()
505 if (ctx->Pixel.MapStencilFlag == (param ? GL_TRUE : GL_FALSE)) in _mesa_PixelTransferf()
508 ctx->Pixel.MapStencilFlag = param ? GL_TRUE : GL_FALSE; in _mesa_PixelTransferf()
511 if (ctx->Pixel.IndexShift == (GLint) param) in _mesa_PixelTransferf()
514 ctx->Pixel.IndexShift = (GLint) param; in _mesa_PixelTransferf()
[all …]
Dpixeltransfer.c134 const GLfloat scale = ctx->Pixel.DepthScale; in _mesa_scale_and_bias_depth()
135 const GLfloat bias = ctx->Pixel.DepthBias; in _mesa_scale_and_bias_depth()
149 const GLdouble scale = ctx->Pixel.DepthScale; in _mesa_scale_and_bias_depth_uint()
150 const GLdouble bias = ctx->Pixel.DepthBias * max; in _mesa_scale_and_bias_depth_uint()
170 ctx->Pixel.RedScale, ctx->Pixel.GreenScale, in _mesa_apply_rgba_transfer_ops()
171 ctx->Pixel.BlueScale, ctx->Pixel.AlphaScale, in _mesa_apply_rgba_transfer_ops()
172 ctx->Pixel.RedBias, ctx->Pixel.GreenBias, in _mesa_apply_rgba_transfer_ops()
173 ctx->Pixel.BlueBias, ctx->Pixel.AlphaBias); in _mesa_apply_rgba_transfer_ops()
200 GLint shift = ctx->Pixel.IndexShift; in _mesa_shift_and_offset_ci()
201 GLint offset = ctx->Pixel.IndexOffset; in _mesa_shift_and_offset_ci()
[all …]
Dreadpix.c158 ctx->Pixel.DepthScale != 1.0f || ctx->Pixel.DepthBias != 0.0f || in _mesa_readpixels_needs_slow_path()
159 ctx->Pixel.IndexShift || ctx->Pixel.IndexOffset || in _mesa_readpixels_needs_slow_path()
160 ctx->Pixel.MapStencilFlag; in _mesa_readpixels_needs_slow_path()
163 return ctx->Pixel.DepthScale != 1.0f || ctx->Pixel.DepthBias != 0.0f; in _mesa_readpixels_needs_slow_path()
166 return ctx->Pixel.IndexShift || ctx->Pixel.IndexOffset || in _mesa_readpixels_needs_slow_path()
167 ctx->Pixel.MapStencilFlag; in _mesa_readpixels_needs_slow_path()
271 if (ctx->Pixel.DepthScale != 1.0F || ctx->Pixel.DepthBias != 0.0F) in read_uint_depth_pixels()
817 = ctx->Pixel.DepthScale != 1.0F || ctx->Pixel.DepthBias != 0.0F; in read_depth_stencil_pixels()
818 const GLboolean stencilTransfer = ctx->Pixel.IndexShift in read_depth_stencil_pixels()
819 || ctx->Pixel.IndexOffset || ctx->Pixel.MapStencilFlag; in read_depth_stencil_pixels()
Dpack.c530 !ctx->Pixel.MapStencilFlag && in _mesa_unpack_stencil_span()
536 !ctx->Pixel.MapStencilFlag && in _mesa_unpack_stencil_span()
561 if (ctx->Pixel.MapStencilFlag) { in _mesa_unpack_stencil_span()
623 if (ctx->Pixel.IndexShift || ctx->Pixel.IndexOffset || in _mesa_pack_stencil_span()
624 ctx->Pixel.MapStencilFlag) { in _mesa_pack_stencil_span()
798 if (ctx->Pixel.DepthScale == 1.0F && ctx->Pixel.DepthBias == 0.0F) { in _mesa_unpack_depth_span()
876 ctx->Pixel.DepthScale == 1.0F && in _mesa_unpack_depth_span()
877 ctx->Pixel.DepthBias == 0.0F) { in _mesa_unpack_depth_span()
945 const GLfloat scale = ctx->Pixel.DepthScale; in _mesa_unpack_depth_span()
946 const GLfloat bias = ctx->Pixel.DepthBias; in _mesa_unpack_depth_span()
[all …]
/external/libpng/contrib/libtests/
Dpngstest.c793 } Pixel; typedef
813 gp_g8(Pixel *p, png_const_voidp pb) in gp_g8()
822 gp_ga8(Pixel *p, png_const_voidp pb) in gp_ga8()
832 gp_ag8(Pixel *p, png_const_voidp pb) in gp_ag8()
842 gp_rgb8(Pixel *p, png_const_voidp pb) in gp_rgb8()
854 gp_bgr8(Pixel *p, png_const_voidp pb) in gp_bgr8()
866 gp_rgba8(Pixel *p, png_const_voidp pb) in gp_rgba8()
878 gp_bgra8(Pixel *p, png_const_voidp pb) in gp_bgra8()
891 gp_argb8(Pixel *p, png_const_voidp pb) in gp_argb8()
904 gp_abgr8(Pixel *p, png_const_voidp pb) in gp_abgr8()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_copypix.c93 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F; in copy_rgba_pixels()
105 ctx->Pixel.ZoomX, ctx->Pixel.ZoomY); in copy_rgba_pixels()
204 ctx->Pixel.DepthScale == 1.0F && in scale_and_bias_z()
205 ctx->Pixel.DepthBias == 0.0F) { in scale_and_bias_z()
216 GLdouble d = depth[i] * ctx->Pixel.DepthScale + ctx->Pixel.DepthBias; in scale_and_bias_z()
241 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F; in copy_depth_pixels()
256 ctx->Pixel.ZoomX, ctx->Pixel.ZoomY); in copy_depth_pixels()
343 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F; in copy_stencil_pixels()
353 ctx->Pixel.ZoomX, ctx->Pixel.ZoomY); in copy_stencil_pixels()
626 ctx->Pixel.ZoomX != 1.0F || in _swrast_CopyPixels()
[all …]
Ds_drawpix.c77 if (ctx->Pixel.ZoomY == -1.0f) { in fast_draw_rgb_ubyte_pixels()
124 if (ctx->Pixel.ZoomY == -1.0f) { in fast_draw_rgba_ubyte_pixels()
174 if (ctx->Pixel.ZoomY == -1.0f) { in fast_draw_generic_pixels()
211 ctx->Pixel.ZoomX != 1.0f || in fast_draw_rgba_pixels()
212 fabsf(ctx->Pixel.ZoomY) != 1.0f || in fast_draw_rgba_pixels()
267 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F; in draw_stencil_pixels()
312 = ctx->Pixel.DepthScale != 1.0f || ctx->Pixel.DepthBias != 0.0f; in draw_depth_pixels()
313 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0f || ctx->Pixel.ZoomY != 1.0f; in draw_depth_pixels()
418 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F; in draw_rgba_pixels()
604 = ctx->Pixel.DepthScale != 1.0F || ctx->Pixel.DepthBias != 0.0F; in draw_depth_stencil_pixels()
[all …]
Ds_zoom.c61 c0 = imageX + (GLint) ((spanX - imageX) * ctx->Pixel.ZoomX); in compute_zoomed_bounds()
62 c1 = imageX + (GLint) ((spanX + width - imageX) * ctx->Pixel.ZoomX); in compute_zoomed_bounds()
78 r0 = imageY + (GLint) ((spanY - imageY) * ctx->Pixel.ZoomY); in compute_zoomed_bounds()
79 r1 = imageY + (GLint) ((spanY + 1 - imageY) * ctx->Pixel.ZoomY); in compute_zoomed_bounds()
214 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
224 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
234 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
246 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
259 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
272 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
[all …]
/external/libvpx/libvpx/test/
Dlpf_test.cc38 typedef uint16_t Pixel; typedef
41 typedef void (*loop_op_t)(Pixel *s, int p, const uint8_t *blimit,
43 typedef void (*dual_loop_op_t)(Pixel *s, int p, const uint8_t *blimit0,
48 typedef uint8_t Pixel; typedef
51 typedef void (*loop_op_t)(Pixel *s, int p, const uint8_t *blimit,
53 typedef void (*dual_loop_op_t)(Pixel *s, int p, const uint8_t *blimit0,
62 void InitInput(Pixel *s, Pixel *ref_s, ACMRandom *rnd, const uint8_t limit, in InitInput()
171 DECLARE_ALIGNED(PIXEL_WIDTH, Pixel, s[kNumCoeffs]); in TEST_P()
172 DECLARE_ALIGNED(PIXEL_WIDTH, Pixel, ref_s[kNumCoeffs]); in TEST_P()
217 DECLARE_ALIGNED(PIXEL_WIDTH, Pixel, s[kNumCoeffs]); in TEST_P()
[all …]
Dvp9_intrapred_test.cc46 template <typename Pixel, typename PredParam>
49 void RunTest(Pixel *left_col, Pixel *above_data, Pixel *dst, Pixel *ref_dst) { in RunTest()
105 Pixel *above_row_;
106 Pixel *left_col_;
107 Pixel *dst_;
108 Pixel *ref_dst_;
Dtest_intra_pred_speed.cc41 template <typename Pixel>
45 Pixel *const above = above_mem + 16; in Init()
60 DECLARE_ALIGNED(16, Pixel, src[kTotalPixels]);
61 DECLARE_ALIGNED(16, Pixel, ref_src[kTotalPixels]);
62 DECLARE_ALIGNED(16, Pixel, left[kBPS]);
63 DECLARE_ALIGNED(16, Pixel, above_mem[2 * kBPS + 16]);
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_drawpixels.c719 y = fb_height - (int) (y + height * ctx->Pixel.ZoomY); in draw_textured_quad()
724 x1 = x + width * ctx->Pixel.ZoomX; in draw_textured_quad()
726 y1 = y + height * ctx->Pixel.ZoomY; in draw_textured_quad()
770 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0 || ctx->Pixel.ZoomY != 1.0; in draw_stencil_pixels()
950 key.scaleAndBias = (ctx->Pixel.RedBias != 0.0 || in get_color_fp_variant()
951 ctx->Pixel.RedScale != 1.0 || in get_color_fp_variant()
952 ctx->Pixel.GreenBias != 0.0 || in get_color_fp_variant()
953 ctx->Pixel.GreenScale != 1.0 || in get_color_fp_variant()
954 ctx->Pixel.BlueBias != 0.0 || in get_color_fp_variant()
955 ctx->Pixel.BlueScale != 1.0 || in get_color_fp_variant()
[all …]
/external/perfetto/docs/
Dbenchmarks.md27 * Android Pixel: ~1 GB/s
33 * Android Pixel: 0.00-0.01 when idle.
34 * Android Pixel: 0.02-0.04 with 8 cores @ 8.0 CPU usage (raytracer).
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c524 save->RedScale = ctx->Pixel.RedScale; in _mesa_meta_begin()
525 save->RedBias = ctx->Pixel.RedBias; in _mesa_meta_begin()
526 save->GreenScale = ctx->Pixel.GreenScale; in _mesa_meta_begin()
527 save->GreenBias = ctx->Pixel.GreenBias; in _mesa_meta_begin()
528 save->BlueScale = ctx->Pixel.BlueScale; in _mesa_meta_begin()
529 save->BlueBias = ctx->Pixel.BlueBias; in _mesa_meta_begin()
530 save->AlphaScale = ctx->Pixel.AlphaScale; in _mesa_meta_begin()
531 save->AlphaBias = ctx->Pixel.AlphaBias; in _mesa_meta_begin()
532 save->MapColorFlag = ctx->Pixel.MapColorFlag; in _mesa_meta_begin()
533 ctx->Pixel.RedScale = 1.0F; in _mesa_meta_begin()
[all …]
/external/skia/site/user/api/
DSkBitmap_Reference.md23 <a href="#Bitmap">Bitmap</a> points to <a href="undocumented#Pixel_Ref">Pixel Ref</a>, which descri…
24 … bounds may be located anywhere fully inside <a href="undocumented#Pixel_Ref">Pixel Ref</a> bounds.
34 and so on cannot change. It does not affect <a href="undocumented#Pixel_Ref">Pixel Ref</a>: a calle…
110 …>, no <a href="#SkBitmap_height">height</a>, or no <a href="undocumented#Pixel_Ref">Pixel Ref</a> |
130 …stallPixels">installPixels</a> | creates <a href="undocumented#Pixel_Ref">Pixel Ref</a>, with opti…
132 | <a href="#SkBitmap_isNull">isNull</a> | returns true if <a href="undocumented#Pixel_Ref">Pixel Re…
137 | <a href="#SkBitmap_pixelRef">pixelRef</a> | returns <a href="undocumented#Pixel_Ref">Pixel Ref</a…
138 …Origin">pixelRefOrigin</a> | returns offset within <a href="undocumented#Pixel_Ref">Pixel Ref</a> |
151 | <a href="#SkBitmap_setPixelRef">setPixelRef</a> | sets <a href="undocumented#Pixel_Ref">Pixel Ref…
152 | <a href="#SkBitmap_setPixels">setPixels</a> | sets <a href="undocumented#Pixel_Ref">Pixel Ref</a>…
[all …]
/external/skqp/site/user/api/
DSkBitmap_Reference.md23 <a href="#Bitmap">Bitmap</a> points to <a href="undocumented#Pixel_Ref">Pixel Ref</a>, which descri…
24 … bounds may be located anywhere fully inside <a href="undocumented#Pixel_Ref">Pixel Ref</a> bounds.
34 and so on cannot change. It does not affect <a href="undocumented#Pixel_Ref">Pixel Ref</a>: a calle…
92 …>, no <a href="#SkBitmap_height">height</a>, or no <a href="undocumented#Pixel_Ref">Pixel Ref</a> |
113 …kPixels">installMaskPixels</a> | creates <a href="undocumented#Pixel_Ref">Pixel Ref</a> from <a hr…
114 …stallPixels">installPixels</a> | creates <a href="undocumented#Pixel_Ref">Pixel Ref</a>, with opti…
116 | <a href="#SkBitmap_isNull">isNull</a> | returns true if <a href="undocumented#Pixel_Ref">Pixel Re…
121 | <a href="#SkBitmap_pixelRef">pixelRef</a> | returns <a href="undocumented#Pixel_Ref">Pixel Ref</a…
122 …Origin">pixelRefOrigin</a> | returns offset within <a href="undocumented#Pixel_Ref">Pixel Ref</a> |
135 | <a href="#SkBitmap_setPixelRef">setPixelRef</a> | sets <a href="undocumented#Pixel_Ref">Pixel Ref…
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_pixel.c115 if (ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F) { in intel_check_blit_fragment_ops()
Dintel_pixel_copy.c144 if (ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F) { in do_blit_copypixels()
/external/mesa3d/prebuilt-intermediates/main/
Dget_hash.h406 { GL_ALPHA_BIAS, CONTEXT_FLOAT(Pixel.AlphaBias), NO_EXTRA },
407 { GL_ALPHA_SCALE, CONTEXT_FLOAT(Pixel.AlphaScale), NO_EXTRA },
411 { GL_BLUE_BIAS, CONTEXT_FLOAT(Pixel.BlueBias), NO_EXTRA },
412 { GL_BLUE_SCALE, CONTEXT_FLOAT(Pixel.BlueScale), NO_EXTRA },
426 { GL_DEPTH_BIAS, CONTEXT_FLOAT(Pixel.DepthBias), NO_EXTRA },
427 { GL_DEPTH_SCALE, CONTEXT_FLOAT(Pixel.DepthScale), NO_EXTRA },
434 { GL_GREEN_BIAS, CONTEXT_FLOAT(Pixel.GreenBias), NO_EXTRA },
435 { GL_GREEN_SCALE, CONTEXT_FLOAT(Pixel.GreenScale), NO_EXTRA },
439 { GL_INDEX_OFFSET, CONTEXT_INT(Pixel.IndexOffset), NO_EXTRA },
440 { GL_INDEX_SHIFT, CONTEXT_INT(Pixel.IndexShift), NO_EXTRA },
[all …]
/external/mesa3d/src/mesa/program/
Dprog_statevars.c569 value[0] = ctx->Pixel.RedScale; in _mesa_fetch_state()
570 value[1] = ctx->Pixel.GreenScale; in _mesa_fetch_state()
571 value[2] = ctx->Pixel.BlueScale; in _mesa_fetch_state()
572 value[3] = ctx->Pixel.AlphaScale; in _mesa_fetch_state()
576 value[0] = ctx->Pixel.RedBias; in _mesa_fetch_state()
577 value[1] = ctx->Pixel.GreenBias; in _mesa_fetch_state()
578 value[2] = ctx->Pixel.BlueBias; in _mesa_fetch_state()
579 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()
441 ctx->Pixel.ZoomX == 1.0 && /* no zooming */ in can_do_DrawPixels_5R6G5B()
442 ctx->Pixel.ZoomY == 1.0 && in can_do_DrawPixels_5R6G5B()
568 ctx->Pixel.ZoomX == 1.0 && /* no zooming */ in can_do_CopyPixels()
569 ctx->Pixel.ZoomY == 1.0 && in can_do_CopyPixels()
571 ctx->Pixel.ReadBuffer == GL_FRONT && /* copy from front buf */ in can_do_CopyPixels()
/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
/external/giflib/
Degif_lib.c478 EGifPutPixel(GifFileType *GifFile, GifPixelType Pixel) in EGifPutPixel() argument
496 Pixel &= CodeMask[Private->BitsPerPixel]; in EGifPutPixel()
498 return EGifCompressLine(GifFile, &Pixel, 1); in EGifPutPixel()
887 GifPixelType Pixel; in EGifCompressLine() local
899 Pixel = Line[i++]; /* Get next pixel from stream. */ in EGifCompressLine()
903 NewKey = (((uint32_t) CrntCode) << 8) + Pixel; in EGifCompressLine()
917 CrntCode = Pixel; in EGifCompressLine()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_pixel_copy.c140 if (ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F) { in do_blit_copypixels()
/external/ImageMagick/www/Magick++/
DCache.fig35 4 0 0 0 0 16 12 0.0000 4 135 405 2730 3232 Pixel\001

123456