Home
last modified time | relevance | path

Searched refs:dest_pixel (Results 1 – 25 of 50) sorted by relevance

12

/dports/graphics/gdk-pixbuf2/gdk-pixbuf-2.40.0/gdk-pixbuf/
H A Dgdk-pixbuf-util.c221 guchar *dest_pixel; in gdk_pixbuf_saturate_and_pixelate() local
242 dest_pixel = dest_line; in gdk_pixbuf_saturate_and_pixelate()
248 dest_pixel[0] = intensity / 2 + 127; in gdk_pixbuf_saturate_and_pixelate()
249 dest_pixel[1] = intensity / 2 + 127; in gdk_pixbuf_saturate_and_pixelate()
250 dest_pixel[2] = intensity / 2 + 127; in gdk_pixbuf_saturate_and_pixelate()
253 dest_pixel[1] = CLAMP_UCHAR ((SATURATE (src_pixel[1])) * DARK_FACTOR); in gdk_pixbuf_saturate_and_pixelate()
256 dest_pixel[0] = CLAMP_UCHAR (SATURATE (src_pixel[0])); in gdk_pixbuf_saturate_and_pixelate()
257 dest_pixel[1] = CLAMP_UCHAR (SATURATE (src_pixel[1])); in gdk_pixbuf_saturate_and_pixelate()
258 dest_pixel[2] = CLAMP_UCHAR (SATURATE (src_pixel[2])); in gdk_pixbuf_saturate_and_pixelate()
262 dest_pixel[3] = src_pixel[3]; in gdk_pixbuf_saturate_and_pixelate()
[all …]
/dports/games/libretro-shaders-slang/slang-shaders-9850d68939b86262eae9f0da01ff1c11daafcdc3/crt/shaders/crt-royale/src/
H A Dcrt-royale-bloom-approx.h191 const float2 dest_pixel = tex_uv * tex_uv_to_pixel_scale; in tex2Dresize_gaussian4x4() local
192 const float2 sample0_offset = sample0_uv * tex_uv_to_pixel_scale - dest_pixel; in tex2Dresize_gaussian4x4()
193 const float2 sample1_offset = sample1_uv * tex_uv_to_pixel_scale - dest_pixel; in tex2Dresize_gaussian4x4()
194 const float2 sample2_offset = sample2_uv * tex_uv_to_pixel_scale - dest_pixel; in tex2Dresize_gaussian4x4()
195 const float2 sample3_offset = sample3_uv * tex_uv_to_pixel_scale - dest_pixel; in tex2Dresize_gaussian4x4()
196 const float2 sample4_offset = sample4_uv * tex_uv_to_pixel_scale - dest_pixel; in tex2Dresize_gaussian4x4()
197 const float2 sample5_offset = sample5_uv * tex_uv_to_pixel_scale - dest_pixel; in tex2Dresize_gaussian4x4()
198 const float2 sample6_offset = sample6_uv * tex_uv_to_pixel_scale - dest_pixel; in tex2Dresize_gaussian4x4()
199 const float2 sample7_offset = sample7_uv * tex_uv_to_pixel_scale - dest_pixel; in tex2Dresize_gaussian4x4()
200 const float2 sample8_offset = sample8_uv * tex_uv_to_pixel_scale - dest_pixel; in tex2Dresize_gaussian4x4()
[all …]
/dports/graphics/libvisual/libvisual-0.2.0/libvisual/
H A Dlv_video_mmx.c118 uint32_t *dest_pixel, *src_pixel_rowu, *src_pixel_rowl; in _lv_scale_bilinear_32_mmx() local
120 dest_pixel = dest->pixels; in _lv_scale_bilinear_32_mmx()
235 : [output] "=m"(*dest_pixel) in _lv_scale_bilinear_32_mmx()
242 ++dest_pixel; in _lv_scale_bilinear_32_mmx()
245 memset (dest_pixel, 0, (dest->pitch - ((dest->width - 1) * 4))); in _lv_scale_bilinear_32_mmx()
246 dest_pixel += (dest->pitch / 4) - ((dest->width - 1)); in _lv_scale_bilinear_32_mmx()
H A Dlv_video.c1530 dest_pixel = dest->pixels; in scale_nearest_8()
1558 dest_pixel = dest->pixels; in scale_nearest_16()
1588 dest_pixel = dest->pixels; in scale_nearest_24()
1616 dest_pixel = dest->pixels; in scale_nearest_32()
1640 dest_pixel = dest->pixels; in scale_bilinear_8()
1702 dest_pixel = dest->pixels; in scale_bilinear_16()
1763 *dest_pixel++ = b; in scale_bilinear_16()
1778 dest_pixel = dest->pixels; in scale_bilinear_24()
1839 *dest_pixel++ = b; in scale_bilinear_24()
1855 dest_pixel = dest->pixels; in scale_bilinear_32()
[all …]
/dports/graphics/libvisual04/libvisual-0.4.0/libvisual/
H A Dlv_video_simd.c88 uint32_t *dest_pixel, *src_pixel_rowu, *src_pixel_rowl; in _lv_scale_bilinear_32_mmx() local
90 dest_pixel = visual_video_get_pixels (dest); in _lv_scale_bilinear_32_mmx()
202 : [output] "=m"(*dest_pixel) in _lv_scale_bilinear_32_mmx()
208 ++dest_pixel; in _lv_scale_bilinear_32_mmx()
211 dest_pixel += (dest->pitch / 4) - ((dest->width - 1)); in _lv_scale_bilinear_32_mmx()
H A Dlv_video.c3030 uint8_t *dest_pixel, *src_pixel_row; in scale_nearest_8() local
3046 *dest_pixel++ = src_pixel_row[u >> 16]; in scale_nearest_8()
3048 dest_pixel += dest->pitch - dest->width; in scale_nearest_8()
3058 uint16_t *dest_pixel, *src_pixel_row; in scale_nearest_16() local
3074 *dest_pixel++ = src_pixel_row[u >> 16]; in scale_nearest_16()
3088 _color24 *dest_pixel, *src_pixel_row; in scale_nearest_24() local
3116 uint32_t *dest_pixel, *src_pixel_row; in scale_nearest_32() local
3192 *dest_pixel++ = b0 >> 16; in scale_bilinear_8()
3268 *dest_pixel++ = b; in scale_bilinear_16()
3343 *dest_pixel++ = b; in scale_bilinear_24()
[all …]
/dports/science/py-dlib/dlib-19.22/dlib/image_transforms/
H A Dassign_image.h82 typedef typename image_traits<dest_image_type>::pixel_type dest_pixel; in impl_assign_image_scaled() typedef
86 if (pixel_traits<dest_pixel>::max() >= pixel_traits<typename src_image_type::type>::max() && in impl_assign_image_scaled()
87 pixel_traits<dest_pixel>::min() <= pixel_traits<typename src_image_type::type>::min() ) in impl_assign_image_scaled()
119 if (pixel_traits<dest_pixel>::max() >= rs.max() && in impl_assign_image_scaled()
120 pixel_traits<dest_pixel>::min() <= rs.min() ) in impl_assign_image_scaled()
133 const double dest_min = pixel_traits<dest_pixel>::min(); in impl_assign_image_scaled()
134 const double dest_max = pixel_traits<dest_pixel>::max(); in impl_assign_image_scaled()
/dports/science/dlib-cpp/dlib-19.22/dlib/image_transforms/
H A Dassign_image.h82 typedef typename image_traits<dest_image_type>::pixel_type dest_pixel; in impl_assign_image_scaled() typedef
86 if (pixel_traits<dest_pixel>::max() >= pixel_traits<typename src_image_type::type>::max() && in impl_assign_image_scaled()
87 pixel_traits<dest_pixel>::min() <= pixel_traits<typename src_image_type::type>::min() ) in impl_assign_image_scaled()
119 if (pixel_traits<dest_pixel>::max() >= rs.max() && in impl_assign_image_scaled()
120 pixel_traits<dest_pixel>::min() <= rs.min() ) in impl_assign_image_scaled()
133 const double dest_min = pixel_traits<dest_pixel>::min(); in impl_assign_image_scaled()
134 const double dest_max = pixel_traits<dest_pixel>::max(); in impl_assign_image_scaled()
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/ycbcr/
H A Dyuv_convert.cpp416 uint8* dest_pixel = rgb_buf + y * rgb_pitch; in ScaleYCbCrToRGB32_deprecated() local
467 dest_pixel, width); in ScaleYCbCrToRGB32_deprecated()
470 dest_pixel, width, source_dx); in ScaleYCbCrToRGB32_deprecated()
477 dest_pixel, width); in ScaleYCbCrToRGB32_deprecated()
481 dest_pixel, width, in ScaleYCbCrToRGB32_deprecated()
485 dest_pixel, width, source_dx); in ScaleYCbCrToRGB32_deprecated()
488 dest_pixel, width, in ScaleYCbCrToRGB32_deprecated()
495 dest_pixel, width, source_dx); in ScaleYCbCrToRGB32_deprecated()
500 dest_pixel, width, source_dx); in ScaleYCbCrToRGB32_deprecated()
H A DQuellGccWarnings.patch10 dest_pixel, width, source_dx);
15 dest_pixel, width, source_dx);
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/core/fxge/dib/
H A Dcstretchengine.cpp60 for (int dest_pixel = dest_min; dest_pixel < dest_max; ++dest_pixel) { in Calc() local
61 PixelWeight& pixel_weights = *GetPixelWeight(dest_pixel); in Calc()
62 double src_pos = dest_pixel * scale + scale / 2 + base; in Calc()
89 for (int dest_pixel = dest_min; dest_pixel < dest_max; ++dest_pixel) { in Calc() local
90 PixelWeight& pixel_weights = *GetPixelWeight(dest_pixel); in Calc()
91 double src_start = dest_pixel * scale + base; in Calc()
110 double area_start = std::max(dest_start, static_cast<double>(dest_pixel)); in Calc()
111 double area_end = std::min(dest_end, static_cast<double>(dest_pixel + 1)); in Calc()
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/ycbcr/
H A Dyuv_convert.cpp449 uint8* dest_pixel = rgb_buf + y * rgb_pitch; in ScaleYCbCrToRGB32_deprecated() local
500 dest_pixel, width); in ScaleYCbCrToRGB32_deprecated()
503 dest_pixel, width, source_dx); in ScaleYCbCrToRGB32_deprecated()
510 dest_pixel, width); in ScaleYCbCrToRGB32_deprecated()
514 dest_pixel, width, in ScaleYCbCrToRGB32_deprecated()
518 dest_pixel, width, source_dx); in ScaleYCbCrToRGB32_deprecated()
521 dest_pixel, width, in ScaleYCbCrToRGB32_deprecated()
528 dest_pixel, width, source_dx); in ScaleYCbCrToRGB32_deprecated()
533 dest_pixel, width, source_dx); in ScaleYCbCrToRGB32_deprecated()
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/ycbcr/
H A Dyuv_convert.cpp433 uint8* dest_pixel = rgb_buf + y * rgb_pitch; in ScaleYCbCrToRGB32_deprecated() local
484 dest_pixel, width); in ScaleYCbCrToRGB32_deprecated()
487 dest_pixel, width, source_dx); in ScaleYCbCrToRGB32_deprecated()
494 dest_pixel, width); in ScaleYCbCrToRGB32_deprecated()
498 dest_pixel, width, in ScaleYCbCrToRGB32_deprecated()
502 dest_pixel, width, source_dx); in ScaleYCbCrToRGB32_deprecated()
505 dest_pixel, width, in ScaleYCbCrToRGB32_deprecated()
512 dest_pixel, width, source_dx); in ScaleYCbCrToRGB32_deprecated()
517 dest_pixel, width, source_dx); in ScaleYCbCrToRGB32_deprecated()
H A DQuellGccWarnings.patch10 dest_pixel, width, source_dx);
15 dest_pixel, width, source_dx);
/dports/www/firefox-esr/firefox-91.8.0/gfx/ycbcr/
H A Dyuv_convert.cpp484 uint8* dest_pixel = rgb_buf + y * rgb_pitch; in ScaleYCbCrToRGB32_deprecated() local
535 dest_pixel, width); in ScaleYCbCrToRGB32_deprecated()
538 dest_pixel, width, source_dx); in ScaleYCbCrToRGB32_deprecated()
545 dest_pixel, width); in ScaleYCbCrToRGB32_deprecated()
549 dest_pixel, width, in ScaleYCbCrToRGB32_deprecated()
553 dest_pixel, width, source_dx); in ScaleYCbCrToRGB32_deprecated()
556 dest_pixel, width, in ScaleYCbCrToRGB32_deprecated()
563 dest_pixel, width, source_dx); in ScaleYCbCrToRGB32_deprecated()
568 dest_pixel, width, source_dx); in ScaleYCbCrToRGB32_deprecated()
/dports/www/firefox/firefox-99.0/gfx/ycbcr/
H A Dyuv_convert.cpp484 uint8* dest_pixel = rgb_buf + y * rgb_pitch; in ScaleYCbCrToRGB32_deprecated() local
535 dest_pixel, width); in ScaleYCbCrToRGB32_deprecated()
538 dest_pixel, width, source_dx); in ScaleYCbCrToRGB32_deprecated()
545 dest_pixel, width); in ScaleYCbCrToRGB32_deprecated()
549 dest_pixel, width, in ScaleYCbCrToRGB32_deprecated()
553 dest_pixel, width, source_dx); in ScaleYCbCrToRGB32_deprecated()
556 dest_pixel, width, in ScaleYCbCrToRGB32_deprecated()
563 dest_pixel, width, source_dx); in ScaleYCbCrToRGB32_deprecated()
568 dest_pixel, width, source_dx); in ScaleYCbCrToRGB32_deprecated()
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/ycbcr/
H A Dyuv_convert.cpp484 uint8* dest_pixel = rgb_buf + y * rgb_pitch; in ScaleYCbCrToRGB32_deprecated() local
535 dest_pixel, width); in ScaleYCbCrToRGB32_deprecated()
538 dest_pixel, width, source_dx); in ScaleYCbCrToRGB32_deprecated()
545 dest_pixel, width); in ScaleYCbCrToRGB32_deprecated()
549 dest_pixel, width, in ScaleYCbCrToRGB32_deprecated()
553 dest_pixel, width, source_dx); in ScaleYCbCrToRGB32_deprecated()
556 dest_pixel, width, in ScaleYCbCrToRGB32_deprecated()
563 dest_pixel, width, source_dx); in ScaleYCbCrToRGB32_deprecated()
568 dest_pixel, width, source_dx); in ScaleYCbCrToRGB32_deprecated()
/dports/devel/py-game_sdl2/pygame_sdl2-2.1.0-for-renpy-7.4.11/src/pygame_sdl2/
H A Dtransform.pyx35 cdef Uint32 *dest_pixel
47 dest_pixel = <Uint32 *> ((<Uint8 *> dest.pixels) + (dest.h - y - 1) * dest.pitch)
49 dest_pixel = <Uint32 *> ((<Uint8 *> dest.pixels) + y * dest.pitch)
52 dest_pixel += (src.w - 1)
58 dest_pixel[0] = src_pixel[0]
60 dest_pixel += dest_delta
/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/core/fxge/dib/
H A Dfx_dib_engine.cpp75 for (int dest_pixel = dest_min; dest_pixel < dest_max; dest_pixel++) { in Calc() local
76 PixelWeight& pixel_weights = *GetPixelWeight(dest_pixel); in Calc()
77 double src_pos = dest_pixel * scale + scale / 2 + base; in Calc()
195 for (int dest_pixel = dest_min; dest_pixel < dest_max; dest_pixel++) { in Calc() local
196 PixelWeight& pixel_weights = *GetPixelWeight(dest_pixel); in Calc()
197 double src_start = dest_pixel * scale + base; in Calc()
231 double area_start = dest_start > (FX_FLOAT)(dest_pixel) in Calc()
233 : (FX_FLOAT)(dest_pixel); in Calc()
234 double area_end = dest_end > (FX_FLOAT)(dest_pixel + 1) in Calc()
235 ? (FX_FLOAT)(dest_pixel + 1) in Calc()
/dports/editors/texmaker/texmaker-5.0.3/pdfium/core/fxge/dib/
H A Dfx_dib_engine.cpp65 for (int dest_pixel = dest_min; dest_pixel < dest_max; dest_pixel++) { in Calc() local
66 PixelWeight& pixel_weights = *GetPixelWeight(dest_pixel); in Calc()
67 double src_pos = dest_pixel * scale + scale / 2 + base; in Calc()
184 for (int dest_pixel = dest_min; dest_pixel < dest_max; dest_pixel++) { in Calc() local
185 PixelWeight& pixel_weights = *GetPixelWeight(dest_pixel); in Calc()
186 double src_start = dest_pixel * scale + base; in Calc()
220 double area_start = dest_start > (FX_FLOAT)(dest_pixel) in Calc()
222 : (FX_FLOAT)(dest_pixel); in Calc()
223 double area_end = dest_end > (FX_FLOAT)(dest_pixel + 1) in Calc()
224 ? (FX_FLOAT)(dest_pixel + 1) in Calc()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/core/fxge/dib/
H A Dcstretchengine.cpp61 for (int dest_pixel = dest_min; dest_pixel < dest_max; ++dest_pixel) { in Calc() local
62 PixelWeight& pixel_weights = *GetPixelWeight(dest_pixel); in Calc()
63 double src_pos = dest_pixel * scale + scale / 2 + base; in Calc()
169 for (int dest_pixel = dest_min; dest_pixel < dest_max; ++dest_pixel) { in Calc() local
170 PixelWeight& pixel_weights = *GetPixelWeight(dest_pixel); in Calc()
171 double src_start = dest_pixel * scale + base; in Calc()
190 double area_start = std::max(dest_start, static_cast<double>(dest_pixel)); in Calc()
191 double area_end = std::min(dest_end, static_cast<double>(dest_pixel + 1)); in Calc()
/dports/graphics/metapixel/metapixel-1.0.2/
H A Dzoom.c221 unsigned char *dest_pixel; in zoom_unidirectional() local
223 dest_pixel = dest_entity; in zoom_unidirectional()
247 dest_pixel[k] = MAX(0, MIN(255, value)); in zoom_unidirectional()
250 dest_pixel += dest_pixel_advance; in zoom_unidirectional()
/dports/x11/pixman/pixman-0.40.0/test/
H A Dtolerance-test.c205 uint32_t dest_pixel, orig_dest_pixel, src_pixel, mask_pixel; in verify() local
207 access (dest, i, j, &dest_pixel); in verify()
225 if (!pixel_checker_check (&dest_checker, dest_pixel, &result)) in verify()
261 pixel_checker_split_pixel (&dest_checker, dest_pixel, &a, &r, &g, &b); in verify()
262 … printf (" got: %8d %8d %8d %8d (pixel: %x)\n", a, r, g, b, dest_pixel); in verify()
/dports/graphics/kf5-kimageformats/kimageformats-5.89.0/src/imageformats/
H A Dheif.cpp575 … uint32_t *dest_pixel = reinterpret_cast<uint32_t *>(m_current_image.scanLine(y)); in ensureDecoder() local
581 *dest_pixel = qRgba(red, green, blue, alpha); in ensureDecoder()
582 dest_pixel++; in ensureDecoder()
588 … uint32_t *dest_pixel = reinterpret_cast<uint32_t *>(m_current_image.scanLine(y)); in ensureDecoder() local
593 *dest_pixel = qRgb(red, green, blue); in ensureDecoder()
594 dest_pixel++; in ensureDecoder()
/dports/graphics/gthumb/gthumb-3.10.1/extensions/cairo_io/
H A Dcairo-image-surface-tiff.c279 guchar *dest_pixel = surface_row; in _cairo_image_surface_create_from_tiff() local
289 CAIRO_SET_RGBA (dest_pixel, r, g, b, a); in _cairo_image_surface_create_from_tiff()
291 dest_pixel += 4; in _cairo_image_surface_create_from_tiff()

12