Debian Codegraph @

libs/img/src/CImage.SSEx.h

raw
1 /* +------------------------------------------------------------------------+
2 | Mobile Robot Programming Toolkit (MRPT) |
3 | https://www.mrpt.org/ |
4 | |
5 | Copyright (c) 2005-2026, Individual contributors, see AUTHORS file |
6 | See: https://www.mrpt.org/Authors - All rights reserved. |
7 | Released under BSD License. See: https://www.mrpt.org/License |
8 +------------------------------------------------------------------------+ */
9 #pragma once
10
11 #include <mrpt/config.h>
12
13 #include <cstddef>
14 #include <cstdint>
15
16 // See documentation in the .cpp files CImage_SSE*.cpp
17
18 void image_SSE2_scale_half_1c8u(
19 const uint8_t* in, uint8_t* out, int w, int h, size_t in_step, size_t out_step);
20 void image_SSSE3_scale_half_3c8u(
21 const uint8_t* in, uint8_t* out, int w, int h, size_t in_step, size_t out_step);
22 void image_SSE2_scale_half_smooth_1c8u(
23 const uint8_t* in, uint8_t* out, int w, int h, size_t in_step, size_t out_step);
24 void image_SSSE3_rgb_to_gray_8u(
25 const uint8_t* in, uint8_t* out, int w, int h, size_t in_step, size_t out_step);
26 void image_SSSE3_bgr_to_gray_8u(
27 const uint8_t* in, uint8_t* out, int w, int h, size_t in_step, size_t out_step);