Home
last modified time | relevance | path

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

12345678910>>...23

/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 …]
/third_party/boost/boost/gil/
Dpixel_iterator.hpp70 template <typename Pixel>
71 struct dynamic_x_step_type<Pixel*> {
72 using type = memory_based_step_iterator<Pixel *>;
76 template <typename Pixel>
77 struct dynamic_x_step_type<const Pixel*> {
78 using type = memory_based_step_iterator<const Pixel *>;
86 template <typename Pixel>
87 struct color_space_type<Pixel*> : color_space_type<Pixel> {};
89 template <typename Pixel>
90 struct color_space_type<Pixel const*> : color_space_type<Pixel> {};
[all …]
Dpacked_pixel.hpp67 template <typename Pixel>
68 packed_pixel(Pixel const& p, in packed_pixel()
69 typename std::enable_if<is_pixel<Pixel>::value>::type* /*dummy*/ = nullptr) in packed_pixel()
71 check_compatible<Pixel>(); in packed_pixel()
119 template <typename Pixel>
120 auto operator=(Pixel const& p) -> packed_pixel& in operator =()
122 assign(p, is_pixel<Pixel>()); in operator =()
126 template <typename Pixel>
127 bool operator==(Pixel const& p) const in operator ==()
129 return equal(p, is_pixel<Pixel>()); in operator ==()
[all …]
Dpixel.hpp147 template <typename Pixel>
148 pixel(Pixel const& p, in pixel()
149 typename std::enable_if<is_pixel<Pixel>::value>::type* /*dummy*/ = nullptr) in pixel()
152 check_compatible<Pixel>(); in pixel()
155 template <typename Pixel>
156 pixel& operator=(Pixel const& p) in operator =()
158 assign(p, is_pixel<Pixel>()); in operator =()
162 template <typename Pixel>
163 bool operator==(Pixel const& p) const { return equal(p, is_pixel<Pixel>()); } in operator ==()
165 template <typename Pixel>
[all …]
Dimage.hpp40 template< typename Pixel, bool IsPlanar = false, typename Alloc=std::allocator<unsigned char> >
49 using view_t = typename view_type_from_pixel<Pixel, IsPlanar>::type;
83 const Pixel& p_in, in image()
92 const Pixel& p_in, in image()
264 void recreate(const point_t& dims, const Pixel& p_in, std::size_t alignment = 0) in recreate()
284 void recreate( x_coord_t width, y_coord_t height, const Pixel& p_in, std::size_t alignment = 0 ) in recreate()
315 … void recreate(const point_t& dims, const Pixel& p_in, std::size_t alignment, const Alloc alloc_in) in recreate()
335 …void recreate(x_coord_t width, y_coord_t height, const Pixel& p_in, std::size_t alignment, const A… in recreate()
361 void allocate_and_fill(const point_t& dimensions, Pixel const& p_in) in allocate_and_fill()
514 template <typename Pixel, bool IsPlanar, typename Alloc>
[all …]
Dplanar_pixel_reference.hpp94 template <typename Pixel>
95 planar_pixel_reference(Pixel const& p) : parent_t(p) in planar_pixel_reference()
97 check_compatible<Pixel>(); in planar_pixel_reference()
101 template <typename Pixel>
102 auto operator=(Pixel const& p) const -> planar_pixel_reference const& in operator =()
104 check_compatible<Pixel>(); in operator =()
135 template <typename Pixel>
136 bool operator==(Pixel const& p) const in operator ==()
138 check_compatible<Pixel>(); in operator ==()
142 template <typename Pixel>
[all …]
/third_party/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()
498 if (ctx->Pixel.MapColorFlag == (param ? GL_TRUE : GL_FALSE)) in _mesa_PixelTransferf()
501 ctx->Pixel.MapColorFlag = param ? GL_TRUE : GL_FALSE; in _mesa_PixelTransferf()
504 if (ctx->Pixel.MapStencilFlag == (param ? GL_TRUE : GL_FALSE)) in _mesa_PixelTransferf()
507 ctx->Pixel.MapStencilFlag = param ? GL_TRUE : GL_FALSE; in _mesa_PixelTransferf()
510 if (ctx->Pixel.IndexShift == (GLint) param) in _mesa_PixelTransferf()
513 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 …]
/third_party/boost/libs/gil/test/extension/numeric/
Dpixel_numeric_operations.cpp25 template <typename Pixel>
26 void operator()(Pixel const&) in operator ()()
28 using pixel_t = Pixel; in operator ()()
61 template <typename Pixel>
62 void operator()(Pixel const&) in operator ()()
64 using pixel_t = Pixel; in operator ()()
95 template <typename Pixel>
96 void operator()(Pixel const&) in operator ()()
98 using pixel_t = Pixel; in operator ()()
132 template <typename Pixel>
[all …]
/third_party/boost/boost/gil/extension/io/targa/detail/
Dsupported_types.hpp69 template<typename Pixel>
70 struct is_read_supported<Pixel, targa_tag>
76 typename channel_type<Pixel>::type,
77 typename color_space_type<Pixel>::type
83 typename channel_type<Pixel>::type,
84 typename color_space_type<Pixel>::type
90 template<typename Pixel>
91 struct is_write_supported<Pixel, targa_tag>
97 typename channel_type<Pixel>::type,
98 typename color_space_type<Pixel>::type
/third_party/boost/libs/gil/test/core/pixel/
Dtest_fixture.cpp35 template <typename Pixel>
36 void operator()(Pixel const &) in operator ()()
38 using pixel_t = Pixel; in operator ()()
51 template <typename Pixel>
52 void operator()(Pixel const &) in operator ()()
54 using pixel_t = Pixel; in operator ()()
71 template <typename Pixel>
72 void operator()(Pixel const &) in operator ()()
74 using pixel_t = Pixel; in operator ()()
87 template <typename Pixel>
[all …]
Dtest_fixture.hpp36 template <typename Pixel>
39 using channel_t = typename gil::channel_type<Pixel>::type;
41 static auto max() -> Pixel in max()
44 Pixel pixel; in max()
49 static auto min()-> Pixel in min()
52 Pixel pixel; in min()
57 static auto random() -> Pixel in random()
60 Pixel pixel; in random()
66 template <typename Pixel, int Tag = 0>
70 using type = Pixel;
[all …]
/third_party/boost/boost/gil/extension/toolbox/image_types/
Dsubchroma_image.hpp335 typename Pixel,
357 using channel_t = typename channel_type<Pixel>::type;
366 using pixel_view_t = typename view_type_from_pixel<Pixel>::type;
434 template < typename Pixel, typename Factors, typename Alloc >
435 struct channel_type< subchroma_image< Pixel, Factors, Alloc > >
436 : channel_type< Pixel > {};
438 template < typename Pixel, typename Factors, typename Alloc >
439 struct color_space_type< subchroma_image< Pixel, Factors, Alloc > >
440 : color_space_type< Pixel > {};
442 template < typename Pixel, typename Factors, typename Alloc >
[all …]
/third_party/boost/boost/gil/extension/io/bmp/detail/
Dsupported_types.hpp108 template<typename Pixel>
109 struct is_read_supported<Pixel, bmp_tag>
115 typename channel_type<Pixel>::type,
116 typename color_space_type<Pixel>::type
122 typename channel_type<Pixel>::type,
123 typename color_space_type<Pixel>::type
129 template<typename Pixel>
130 struct is_write_supported<Pixel, bmp_tag>
136 typename channel_type<Pixel>::type,
137 typename color_space_type<Pixel>::type
/third_party/boost/boost/gil/extension/io/jpeg/detail/
Dsupported_types.hpp80 template<typename Pixel>
81 struct is_read_supported<Pixel, jpeg_tag>
87 typename channel_type<Pixel>::type,
88 typename color_space_type<Pixel>::type
94 typename channel_type<Pixel>::type,
95 typename color_space_type<Pixel>::type
101 template<typename Pixel>
102 struct is_write_supported<Pixel, jpeg_tag>
108 typename channel_type<Pixel>::type,
109 typename color_space_type<Pixel>::type
/third_party/boost/boost/gil/extension/io/pnm/detail/
Dsupported_types.hpp107 template<typename Pixel>
108 struct is_read_supported<Pixel, pnm_tag>
114 typename channel_type<Pixel>::type,
115 typename color_space_type<Pixel>::type
121 typename channel_type<Pixel>::type,
122 typename color_space_type<Pixel>::type
129 template<typename Pixel>
130 struct is_write_supported<Pixel, pnm_tag>
136 typename channel_type<Pixel>::type,
137 typename color_space_type<Pixel>::type
/third_party/boost/boost/gil/io/
Drow_buffer_helper.hpp25 template< typename Pixel
30 using element_t = Pixel;
52 template <typename Pixel>
55 Pixel,
58 is_bit_aligned<Pixel>::value
64 using pixel_type = Pixel;
104 template<typename Pixel>
107 Pixel,
112 typename is_bit_aligned<Pixel>::type,
113 typename is_homogeneous<Pixel>::type
[all …]
/third_party/boost/boost/gil/extension/io/png/detail/
Dsupported_types.hpp322 template<typename Pixel>
323 struct is_read_supported<Pixel, png_tag>
329 typename channel_type<Pixel>::type,
330 typename color_space_type<Pixel>::type
336 typename channel_type<Pixel>::type,
337 typename color_space_type<Pixel>::type
344 template<typename Pixel>
345 struct is_write_supported<Pixel, png_tag>
351 typename channel_type<Pixel>::type,
352 typename color_space_type<Pixel>::type
[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);
/third_party/boost/libs/gil/test/extension/io/
Dmandel_view.hpp82 template <typename Pixel>
85 using deref_t = mandelbrot_fn<Pixel>;
91 template <typename Pixel>
92 auto create_mandel_view(unsigned int width, unsigned int height, Pixel const& in, Pixel const& out) in create_mandel_view()
93 -> typename mandel_view<Pixel>::type in create_mandel_view()
95 using view_t = typename mandel_view<Pixel>::type; in create_mandel_view()
96 using deref_t = typename mandel_view<Pixel>::deref_t; in create_mandel_view()
97 using locator_t = typename mandel_view<Pixel>::locator_t; in create_mandel_view()
/third_party/boost/boost/gil/extension/io/raw/detail/
Dsupported_types.hpp54 template<typename Pixel>
55 struct is_read_supported<Pixel,raw_tag>
61 typename channel_type<Pixel>::type,
62 typename color_space_type<Pixel>::type
67 template<typename Pixel>
68 struct is_write_supported<Pixel, raw_tag>
/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/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 …]

12345678910>>...23