Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/mesa/main/
H A Dpixel.c28 * Pixel transfer functions (glPixelZoom, glPixelMap, glPixelTransfer)
51 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 in _mesa_PixelTransferf()
[all...]
H A Dpixeltransfer.c29 * Pixel transfer operations (scale, bias, table lookups, etc)
134 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 in _mesa_apply_rgba_transfer_ops()
[all...]
H A Dreadpix.c102 /* Pixel transfer ops (scale, bias, table lookup) do not apply in _mesa_get_readpixels_transfer_ops()
171 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 in _mesa_readpixels_needs_slow_path()
[all...]
H A 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 in _mesa_unpack_depth_span()
[all...]
H A Dimage.c99 * Pixel unpacking/packing parameters are observed according to \p packing.
213 * Pixel unpacking/packing parameters are observed according to \p packing.
474 * If Pixel.ZoomY is -1, *destY will be changed to be the first row which
492 assert(ctx->Pixel.ZoomX == 1.0F); in _mesa_clip_drawpixels()
493 assert(ctx->Pixel.ZoomY == 1.0F || ctx->Pixel.ZoomY == -1.0F); in _mesa_clip_drawpixels()
508 if (ctx->Pixel.ZoomY == 1.0F) { in _mesa_clip_drawpixels()
H A Dattrib.c232 memcpy(&head->Pixel, &ctx->Pixel, sizeof(struct gl_pixel_attrib)); in _mesa_PushAttrib()
233 /* push the Read FBO's ReadBuffer state, not ctx->Pixel.ReadBuffer */ in _mesa_PushAttrib()
234 head->Pixel.ReadBuffer = ctx->ReadBuffer->ColorReadBuffer; in _mesa_PushAttrib()
928 memcpy(&ctx->Pixel, &attr->Pixel, sizeof(struct gl_pixel_attrib)); in _mesa_PopAttrib()
930 _mesa_ReadBuffer(ctx->Pixel.ReadBuffer); in _mesa_PopAttrib()
H A Dtexstore.c838 return ctx->Pixel.DepthScale != 1.0f || in _mesa_texstore_needs_transfer_ops()
839 ctx->Pixel.DepthBias != 0.0f; in _mesa_texstore_needs_transfer_ops()
846 * Pixel transfer ops (scale, bias, table lookup) do not apply in _mesa_texstore_needs_transfer_ops()
H A Dcontext.c1261 dst->Pixel = src->Pixel; in _mesa_copy_context()
H A Dbuffers.c876 ctx->Pixel.ReadBuffer = buffer; in _mesa_readbuffer()
H A Dmtypes.h618 * Pixel attribute group (GL_PIXEL_MODE_BIT).
624 /*--- Begin Pixel Transfer State ---*/
637 /* Pixel Maps */
642 /*--- End Pixel Transfer State ---*/
2804 /** Pixel Transfer ops */
2824 #define _NEW_PIXEL (1u << 10) /**< gl_context::Pixel */
3227 struct gl_pixel_attrib Pixel; member
3401 struct gl_pixel_attrib Pixel; /**< Pixel attributes */ member
3422 struct gl_pixelstore_attrib Pack; /**< Pixel packin
[all...]
/third_party/skia/third_party/externals/libpng/contrib/libtests/
H A Dpngstest.c793 } Pixel; typedef
809 /* Read a Pixel from a buffer. The code below stores the correct routine for
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 *
[all...]
/third_party/backends/backend/genesys/
H A Dimage_pixel.cpp114 Pixel get_pixel_from_row(const std::uint8_t* data, std::size_t x, PixelFormat format) in get_pixel_from_row()
119 return Pixel(val, val, val); in get_pixel_from_row()
126 return Pixel(r, g, b); in get_pixel_from_row()
130 return Pixel(val, val, val); in get_pixel_from_row()
135 return Pixel(val, val, val); in get_pixel_from_row()
142 return Pixel(r, g, b); in get_pixel_from_row()
149 return Pixel(r, g, b); in get_pixel_from_row()
156 return Pixel(r, g, b); in get_pixel_from_row()
163 return Pixel(r, g, b); in get_pixel_from_row()
170 void set_pixel_to_row(std::uint8_t* data, std::size_t x, Pixel pixe
[all...]
H A Dimage_pixel.h45 struct Pixel struct
47 Pixel() = default;
48 Pixel(std::uint16_t red, std::uint16_t green, std::uint16_t blue) : in Pixel() function
55 bool operator==(const Pixel& other) const in operator ==()
88 Pixel get_pixel_from_row(const std::uint8_t* data, std::size_t x, PixelFormat format);
89 void set_pixel_to_row(std::uint8_t* data, std::size_t x, Pixel pixel, PixelFormat format);
105 Pixel get_pixel_from_row(const std::uint8_t* data, std::size_t x);
110 Pixel get_raw_pixel_from_row(const std::uint8_t* data, std::size_t x);
H A Dimage.h43 Pixel get_pixel(std::size_t x, std::size_t y) const;
44 void set_pixel(std::size_t x, std::size_t y, const Pixel& pixel);
H A Dimage.cpp54 Pixel Image::get_pixel(std::size_t x, std::size_t y) const in get_pixel()
59 void Image::set_pixel(std::size_t x, std::size_t y, const Pixel& pixel) in set_pixel()
93 Pixel pixel = get_pixel_from_row(in_data, i, SrcFormat); in convert_pixel_row_impl2()
H A Dfwd.h58 struct Pixel;
/third_party/backends/testsuite/backend/genesys/
H A Dtests_image.cpp40 Pixel(0, 0, 0)); in test_get_pixel_from_row()
42 Pixel(0xffff, 0xffff, 0xffff)); in test_get_pixel_from_row()
44 Pixel(0, 0, 0)); in test_get_pixel_from_row()
46 Pixel(0xffff, 0, 0)); in test_get_pixel_from_row()
48 Pixel(0xffff, 0, 0)); in test_get_pixel_from_row()
50 Pixel(0, 0xffff, 0xffff)); in test_get_pixel_from_row()
52 Pixel(0x1212, 0x1212, 0x1212)); in test_get_pixel_from_row()
54 Pixel(0x3434, 0x3434, 0x3434)); in test_get_pixel_from_row()
56 Pixel(0x1212, 0x3434, 0x5656)); in test_get_pixel_from_row()
58 Pixel( in test_get_pixel_from_row()
[all...]
H A Dtests_printers.h43 inline std::ostream& operator<<(std::ostream& str, const genesys::Pixel& arg) in operator <<()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_cb_drawpixels.c102 * 2. We don't try to cache images in Pixel Buffer Objects.
909 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 in get_color_fp_variant()
[all...]
H A Dst_atom_pixeltransfer.c92 if (ctx->Pixel.MapColorFlag) { in st_update_pixel_transfer()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DStateManager11.h102 struct Pixel struct in rx::ShaderConstants11
104 Pixel() in Pixel() function
125 static_assert(sizeof(Pixel) % 16u == 0, "D3D11 constant buffers must be multiples of 16 bytes");
172 Pixel mPixel;
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_resample.cpp601 srcArea.t = SafeInt32Add (fRowCoords.Pixel (dstArea.t), offsetV); in SrcArea()
602 srcArea.l = SafeInt32Add (fColCoords.Pixel (dstArea.l), offsetH); in SrcArea()
605 fRowCoords.Pixel (SafeInt32Sub (dstArea.b, 1)), in SrcArea()
609 fColCoords.Pixel (SafeInt32Sub (dstArea.r, 1)), in SrcArea()
H A Ddng_resample.h98 const int32 Pixel (int32 index) const in Pixel() function in dng_resample_coords
/third_party/mesa3d/src/mesa/program/
H A Dprog_statevars.c706 value[0] = ctx->Pixel.RedScale; in fetch_state()
707 value[1] = ctx->Pixel.GreenScale; in fetch_state()
708 value[2] = ctx->Pixel.BlueScale; in fetch_state()
709 value[3] = ctx->Pixel.AlphaScale; in fetch_state()
713 value[0] = ctx->Pixel.RedBias; in fetch_state()
714 value[1] = ctx->Pixel.GreenBias; in fetch_state()
715 value[2] = ctx->Pixel.BlueBias; in fetch_state()
716 value[3] = ctx->Pixel.AlphaBias; in fetch_state()
/third_party/ffmpeg/libavutil/x86/
H A Dpixelutils.asm2 ;* Pixel utilities SIMD

Completed in 29 milliseconds

12