|
MRPT
1.9.9
|
SSE optimized functions.
Functions | |
| template<bool MemIsAligned> | |
| void | impl_image_SSE2_scale_half_1c8u (const uint8_t *in, uint8_t *out, int w, int h, size_t step_in, size_t step_out) |
| template<bool MemIsAligned> | |
| void | impl_image_SSE2_scale_half_smooth_1c8u (const uint8_t *in, uint8_t *out, int w, int h, size_t step_in, size_t step_out) |
| void | image_SSE2_scale_half_1c8u (const uint8_t *in, uint8_t *out, int w, int h, size_t step_in, size_t step_out) |
| Subsample each 2x2 pixel block into 1x1 pixel, taking the first pixel & ignoring the other 3. More... | |
| void | image_SSE2_scale_half_smooth_1c8u (const uint8_t *in, uint8_t *out, int w, int h, size_t step_in, size_t step_out) |
| Average each 2x2 pixels into 1x1 pixel (arithmetic average) More... | |
| template<bool MemIsAligned> | |
| void | impl_image_SSSE3_scale_half_3c8u (const uint8_t *in, uint8_t *out, int w, int h, size_t step_in, size_t step_out) |
| void | image_SSSE3_scale_half_3c8u (const uint8_t *in, uint8_t *out, int w, int h, size_t step_in, size_t step_out) |
| Subsample each 2x2 pixel block into 1x1 pixel, taking the first pixel & ignoring the other 3. More... | |
| template<bool IS_RGB, bool MemIsAligned> | |
| void | impl_image_SSSE3_rgb_or_bgr_to_gray_8u (const uint8_t *in, uint8_t *out, int w, int h, size_t step_in, size_t step_out) |
| void | image_SSSE3_bgr_to_gray_8u (const uint8_t *in, uint8_t *out, int w, int h, size_t step_in, size_t step_out) |
| Convert a RGB image (3cu8) into a GRAYSCALE (1c8u) image, using Y=77*R+150*G+29*B. More... | |
| void | image_SSSE3_rgb_to_gray_8u (const uint8_t *in, uint8_t *out, int w, int h, size_t step_in, size_t step_out) |
| Convert a RGB image (3cu8) into a GRAYSCALE (1c8u) image, using Y=77*R+150*G+29*B. More... | |
| void image_SSE2_scale_half_1c8u | ( | const uint8_t * | in, |
| uint8_t * | out, | ||
| int | w, | ||
| int | h, | ||
| size_t | step_in, | ||
| size_t | step_out | ||
| ) |
Subsample each 2x2 pixel block into 1x1 pixel, taking the first pixel & ignoring the other 3.
Definition at line 145 of file CImage_SSE2.cpp.
References out.
Referenced by mrpt::img::CImage::scaleHalf().
| void image_SSE2_scale_half_smooth_1c8u | ( | const uint8_t * | in, |
| uint8_t * | out, | ||
| int | w, | ||
| int | h, | ||
| size_t | step_in, | ||
| size_t | step_out | ||
| ) |
Average each 2x2 pixels into 1x1 pixel (arithmetic average)
Definition at line 170 of file CImage_SSE2.cpp.
References out.
Referenced by mrpt::img::CImage::scaleHalf().
| void image_SSSE3_bgr_to_gray_8u | ( | const uint8_t * | in, |
| uint8_t * | out, | ||
| int | w, | ||
| int | h, | ||
| size_t | step_in, | ||
| size_t | step_out | ||
| ) |
Convert a RGB image (3cu8) into a GRAYSCALE (1c8u) image, using Y=77*R+150*G+29*B.
Definition at line 271 of file CImage_SSE3.cpp.
References ASSERTMSG_, and out.
Referenced by my_img_to_grayscale().
| void image_SSSE3_rgb_to_gray_8u | ( | const uint8_t * | in, |
| uint8_t * | out, | ||
| int | w, | ||
| int | h, | ||
| size_t | step_in, | ||
| size_t | step_out | ||
| ) |
Convert a RGB image (3cu8) into a GRAYSCALE (1c8u) image, using Y=77*R+150*G+29*B.
Definition at line 301 of file CImage_SSE3.cpp.
References ASSERTMSG_, and out.
| void image_SSSE3_scale_half_3c8u | ( | const uint8_t * | in, |
| uint8_t * | out, | ||
| int | w, | ||
| int | h, | ||
| size_t | step_in, | ||
| size_t | step_out | ||
| ) |
Subsample each 2x2 pixel block into 1x1 pixel, taking the first pixel & ignoring the other 3.
Definition at line 115 of file CImage_SSE3.cpp.
References out.
Referenced by mrpt::img::CImage::scaleHalf().
| void impl_image_SSE2_scale_half_1c8u | ( | const uint8_t * | in, |
| uint8_t * | out, | ||
| int | w, | ||
| int | h, | ||
| size_t | step_in, | ||
| size_t | step_out | ||
| ) |
Definition at line 37 of file CImage_SSE2.cpp.
References out.
| void impl_image_SSE2_scale_half_smooth_1c8u | ( | const uint8_t * | in, |
| uint8_t * | out, | ||
| int | w, | ||
| int | h, | ||
| size_t | step_in, | ||
| size_t | step_out | ||
| ) |
Definition at line 82 of file CImage_SSE2.cpp.
References out.
| void impl_image_SSSE3_rgb_or_bgr_to_gray_8u | ( | const uint8_t * | in, |
| uint8_t * | out, | ||
| int | w, | ||
| int | h, | ||
| size_t | step_in, | ||
| size_t | step_out | ||
| ) |
Definition at line 135 of file CImage_SSE3.cpp.
References out.
| void impl_image_SSSE3_scale_half_3c8u | ( | const uint8_t * | in, |
| uint8_t * | out, | ||
| int | w, | ||
| int | h, | ||
| size_t | step_in, | ||
| size_t | step_out | ||
| ) |
Definition at line 35 of file CImage_SSE3.cpp.
References out.
| Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 3a26b90fd Wed Mar 25 20:17:03 2020 +0100 at miƩ mar 25 23:05:41 CET 2020 |