Home
last modified time | relevance | path

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

12345678910>>...21

/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_blit.h121 #define RGB_FROM_PIXEL(Pixel, fmt, r, g, b) \ argument
123 r = SDL_expand_byte[fmt->Rloss][((Pixel&fmt->Rmask)>>fmt->Rshift)]; \
124 g = SDL_expand_byte[fmt->Gloss][((Pixel&fmt->Gmask)>>fmt->Gshift)]; \
125 b = SDL_expand_byte[fmt->Bloss][((Pixel&fmt->Bmask)>>fmt->Bshift)]; \
127 #define RGB_FROM_RGB565(Pixel, r, g, b) \ argument
129 r = SDL_expand_byte[3][((Pixel&0xF800)>>11)]; \
130 g = SDL_expand_byte[2][((Pixel&0x07E0)>>5)]; \
131 b = SDL_expand_byte[3][(Pixel&0x001F)]; \
133 #define RGB_FROM_RGB555(Pixel, r, g, b) \ argument
135 r = SDL_expand_byte[3][((Pixel&0x7C00)>>10)]; \
[all …]
DSDL_blit_N.c193 Uint32 Pixel; \ in Blit_RGB888_RGB565Altivec()
195 DISEMBLE_RGBA((Uint8 *)src, 4, srcfmt, Pixel, \ in Blit_RGB888_RGB565Altivec()
343 unsigned short Pixel = *((unsigned short *)src); \ in Blit_RGB565_32Altivec()
344 sR = (Pixel >> 8) & 0xf8; \ in Blit_RGB565_32Altivec()
345 sG = (Pixel >> 3) & 0xfc; \ in Blit_RGB565_32Altivec()
346 sB = (Pixel << 3) & 0xf8; \ in Blit_RGB565_32Altivec()
490 unsigned short Pixel = *((unsigned short *)src); \ in Blit_RGB555_32Altivec()
491 sR = (Pixel >> 7) & 0xf8; \ in Blit_RGB555_32Altivec()
492 sG = (Pixel >> 2) & 0xf8; \ in Blit_RGB555_32Altivec()
493 sB = (Pixel << 3) & 0xf8; \ in Blit_RGB555_32Altivec()
[all …]
DSDL_blit_A.c42 Uint32 Pixel; in BlitNto1SurfaceAlpha() local
51 DISEMBLE_RGB(src, srcbpp, srcfmt, Pixel, sR, sG, sB); in BlitNto1SurfaceAlpha()
89 Uint32 Pixel; in BlitNto1PixelAlpha() local
97 DISEMBLE_RGBA(src,srcbpp,srcfmt,Pixel,sR,sG,sB,sA); in BlitNto1PixelAlpha()
136 Uint32 Pixel; in BlitNto1SurfaceAlphaKey() local
145 DISEMBLE_RGB(src, srcbpp, srcfmt, Pixel, sR, sG, sB); in BlitNto1SurfaceAlphaKey()
146 if ( Pixel != ckey ) { in BlitNto1SurfaceAlphaKey()
1159 Uint32 Pixel; in BlitNtoNSurfaceAlpha() local
1169 DISEMBLE_RGB(src, srcbpp, srcfmt, Pixel, sR, sG, sB); in BlitNtoNSurfaceAlpha()
1170 DISEMBLE_RGBA(dst, dstbpp, dstfmt, Pixel, dR, dG, dB, dA); in BlitNtoNSurfaceAlpha()
[all …]
/third_party/mesa3d/src/mesa/main/
Dpixel.c51 if (ctx->Pixel.ZoomX == xfactor && in _mesa_PixelZoom()
52 ctx->Pixel.ZoomY == yfactor) in _mesa_PixelZoom()
56 ctx->Pixel.ZoomX = xfactor; in _mesa_PixelZoom()
57 ctx->Pixel.ZoomY = yfactor; in _mesa_PixelZoom()
508 if (ctx->Pixel.MapColorFlag == (param ? GL_TRUE : GL_FALSE)) in _mesa_PixelTransferf()
511 ctx->Pixel.MapColorFlag = param ? GL_TRUE : GL_FALSE; in _mesa_PixelTransferf()
514 if (ctx->Pixel.MapStencilFlag == (param ? GL_TRUE : GL_FALSE)) in _mesa_PixelTransferf()
517 ctx->Pixel.MapStencilFlag = param ? GL_TRUE : GL_FALSE; in _mesa_PixelTransferf()
520 if (ctx->Pixel.IndexShift == (GLint) param) in _mesa_PixelTransferf()
523 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.c171 ctx->Pixel.DepthScale != 1.0f || ctx->Pixel.DepthBias != 0.0f || in _mesa_readpixels_needs_slow_path()
172 ctx->Pixel.IndexShift || ctx->Pixel.IndexOffset || in _mesa_readpixels_needs_slow_path()
173 ctx->Pixel.MapStencilFlag; in _mesa_readpixels_needs_slow_path()
176 return ctx->Pixel.DepthScale != 1.0f || ctx->Pixel.DepthBias != 0.0f; in _mesa_readpixels_needs_slow_path()
179 return ctx->Pixel.IndexShift || ctx->Pixel.IndexOffset || in _mesa_readpixels_needs_slow_path()
180 ctx->Pixel.MapStencilFlag; in _mesa_readpixels_needs_slow_path()
289 if (ctx->Pixel.DepthScale != 1.0F || ctx->Pixel.DepthBias != 0.0F) in read_uint_depth_pixels()
835 = ctx->Pixel.DepthScale != 1.0F || ctx->Pixel.DepthBias != 0.0F; in read_depth_stencil_pixels()
836 const GLboolean stencilTransfer = ctx->Pixel.IndexShift in read_depth_stencil_pixels()
837 || ctx->Pixel.IndexOffset || ctx->Pixel.MapStencilFlag; in read_depth_stencil_pixels()
Dpack.c516 !ctx->Pixel.MapStencilFlag && in _mesa_unpack_stencil_span()
522 !ctx->Pixel.MapStencilFlag && in _mesa_unpack_stencil_span()
547 if (ctx->Pixel.MapStencilFlag) { in _mesa_unpack_stencil_span()
609 if (ctx->Pixel.IndexShift || ctx->Pixel.IndexOffset || in _mesa_pack_stencil_span()
610 ctx->Pixel.MapStencilFlag) { in _mesa_pack_stencil_span()
784 if (ctx->Pixel.DepthScale == 1.0F && ctx->Pixel.DepthBias == 0.0F) { in _mesa_unpack_depth_span()
862 ctx->Pixel.DepthScale == 1.0F && in _mesa_unpack_depth_span()
863 ctx->Pixel.DepthBias == 0.0F) { in _mesa_unpack_depth_span()
931 const GLfloat scale = ctx->Pixel.DepthScale; in _mesa_unpack_depth_span()
932 const GLfloat bias = ctx->Pixel.DepthBias; in _mesa_unpack_depth_span()
[all …]
/third_party/skia/third_party/externals/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 …]
/third_party/flutter/skia/third_party/externals/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 …]
/third_party/gstreamer/gstplugins_good/gst/goom/
Dppc_drawings.h21 void ppc_brightness_generic(Pixel *src, Pixel *dest, int size, int coeff);
24 void ppc_brightness_G4(Pixel *src, Pixel *dest, int size, int coeff);
27 void ppc_brightness_G5(Pixel *src, Pixel *dest, int size, int coeff);
Dgoom_plugin_info.h122 Pixel *p1, *p2;
123 Pixel *conv;
124 Pixel *outputBuf;
168 …void (*draw_line) (Pixel *data, int x1, int y1, int x2, int y2, int col, int screenx, int screeny);
169 …void (*zoom_filter) (int sizeX, int sizeY, Pixel *src, Pixel *dest, int *brutS, int *brutD, int bu…
Dppc_zoom_ultimate.h21 void ppc_zoom_generic (int sizeX, int sizeY, Pixel *src, Pixel *dest, int *brutS, int *brutD, int b…
24 void ppc_zoom_G4 (int sizeX, int sizeY, Pixel *src, Pixel *dest, int *brutS, int *brutD, int buffra…
Dfilters.c58 setPixelRGB (PluginInfo * goomInfo, Pixel * buffer, Uint x, Uint y, Color c) in setPixelRGB()
60 Pixel i; in setPixelRGB()
69 setPixelRGB_ (Pixel * buffer, Uint x, Color c) in setPixelRGB_()
77 getPixelRGB_ (Pixel * buffer, Uint x, Color * c) in getPixelRGB_()
79 Pixel i = *(buffer + x); in getPixelRGB_()
109 static void c_zoom (Pixel * expix1, Pixel * expix2, unsigned int prevX,
115 zoom_filter_c (int sizeX, int sizeY, Pixel * src, Pixel * dest, int *brutS, in zoom_filter_c()
445 c_zoom (Pixel * expix1, Pixel * expix2, unsigned int prevX, unsigned int prevY, in c_zoom()
574 zoomFilterFastRGB (PluginInfo * goomInfo, Pixel * pix1, Pixel * pix2, in zoomFilterFastRGB()
826 zoomFilterVisualFXWrapper_apply (struct _VISUAL_FX *_this, Pixel * src, in zoomFilterVisualFXWrapper_apply()
[all …]
Dgoom_filters.h59 void pointFilter (PluginInfo *goomInfo, Pixel * pix1, Color c,
67 void zoomFilterFastRGB (PluginInfo *goomInfo, Pixel * pix1, Pixel * pix2, ZoomFilterData * zf, guin…
Dconvolve_fx.c149 create_output_with_brightness (VisualFX * _this, Pixel * src, Pixel * dest, in create_output_with_brightness()
281 convolve_apply (VisualFX * _this, Pixel * src, Pixel * dest, PluginInfo * info) in convolve_apply()
334 memcpy (dest, src, info->screen.size * sizeof (Pixel)); in convolve_apply()
338 memcpy (dest, src, info->screen.size * sizeof (Pixel)); in convolve_apply()
Dtentacle3d.c61 static void tentacle_update (PluginInfo * goomInfo, Pixel * buf, Pixel * back,
108 tentacle_fx_apply (VisualFX * _this, Pixel * src, Pixel * dest, in tentacle_fx_apply()
284 tentacle_update (PluginInfo * goomInfo, Pixel * buf, Pixel * back, int W, int H, in tentacle_update()
Dmmx.c56 Pixel * expix1, Pixel * expix2, in zoom_filter_mmx()
146 draw_line_mmx (Pixel * data, int x1, int y1, int x2, int y2, int col, in draw_line_mmx()
150 Pixel *p; in draw_line_mmx()
Dgoom_fx.h28 void zoom_filter_c(int sizeX, int sizeY, Pixel *src, Pixel *dest, int *brutS, int *brutD, int buffr…
Dgoom_visual_fx.h29 void (*apply) (struct _VISUAL_FX *_this, Pixel *src, Pixel *dest, PluginInfo *info);
Dxmmx.c64 Pixel * expix1, Pixel * expix2, in zoom_filter_xmmx()
257 draw_line_xmmx (Pixel * data, int x1, int y1, int x2, int y2, int col, in draw_line_xmmx()
261 Pixel *p; in draw_line_xmmx()
Dgoom_graphic.h60 } Pixel; typedef
82 } Pixel; typedef
/third_party/openGLES/extensions/EXT/
DEXT_422_pixels.txt76 3.6.4 Rasterization of Pixel Rectangles
85 Even Pixel Odd Pixel
98 Even Pixel Odd Pixel (Averaged)
130 Even Pixel Odd Pixel
141 Even Pixel (Averaged) Odd Pixel (Averaged)
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_422_pixels.txt76 3.6.4 Rasterization of Pixel Rectangles
85 Even Pixel Odd Pixel
98 Even Pixel Odd Pixel (Averaged)
130 Even Pixel Odd Pixel
141 Even Pixel (Averaged) Odd Pixel (Averaged)
/third_party/flutter/skia/site/user/api/
DSkPixmap_Reference.md73 …xmap</a> does not try to manage the lifetime of the <a href='undocumented#Pixel'>pixel</a> memory.…
74 to manage <a href='undocumented#Pixel'>pixel</a> memory; <a href='#Pixel_Ref'>Pixel_Ref</a> is safe…
130 …to change its <a href='undocumented#Size'>size</a>, <a href='undocumented#Pixel'>pixel</a> type, or
142 …_SkImageInfo_const_star_addr'>addr</a>; width times <a href='undocumented#Pixel'>pixel</a> <a href…
177 Sets width, height, row bytes to zero; <a href='undocumented#Pixel'>pixel</a> address to nullptr; <…
209 Sets <a href='undocumented#Pixel'>pixel</a> address from <a href='#SkPixmap_reset_2_addr'>addr</a>,…
228 …href='#SkPixmap_reset_2_addr'>addr</a>; width times <a href='undocumented#Pixel'>pixel</a> <a href…
249 …'SkImage_Reference#SkImage'>SkImage</a>, and leaves <a href='undocumented#Pixel'>pixel</a> address…
284 Sets <a href='#SkPixmap_extractSubset_subset'>subset</a> width, height, <a href='undocumented#Pixel
293 … <td>storage for width, height, <a href='undocumented#Pixel'>pixel</a> address of intersection</td>
[all …]
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_drawpixels.c909 y = fb_height - (int) (y + height * ctx->Pixel.ZoomY); in draw_textured_quad()
914 x1 = x + width * ctx->Pixel.ZoomX; in draw_textured_quad()
916 y1 = y + height * ctx->Pixel.ZoomY; in draw_textured_quad()
968 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0 || ctx->Pixel.ZoomY != 1.0; in draw_stencil_pixels()
1139 key.scaleAndBias = (ctx->Pixel.RedBias != 0.0 || in get_color_fp_variant()
1140 ctx->Pixel.RedScale != 1.0 || in get_color_fp_variant()
1141 ctx->Pixel.GreenBias != 0.0 || in get_color_fp_variant()
1142 ctx->Pixel.GreenScale != 1.0 || in get_color_fp_variant()
1143 ctx->Pixel.BlueBias != 0.0 || in get_color_fp_variant()
1144 ctx->Pixel.BlueScale != 1.0 || in get_color_fp_variant()
[all …]

12345678910>>...21