Main MRPT website > C++ reference for MRPT 1.9.9
CImage_SSEx.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2018, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +------------------------------------------------------------------------+ */
9 #ifndef CImage_SSEx_H
10 #define CImage_SSEx_H
11 
12 #include <mrpt/config.h>
13 
14 // See documentation in the .cpp files CImage_SSE*.cpp
15 
16 void image_SSE2_scale_half_1c8u(const uint8_t* in, uint8_t* out, int w, int h);
17 void image_SSSE3_scale_half_3c8u(const uint8_t* in, uint8_t* out, int w, int h);
19  const uint8_t* in, uint8_t* out, int w, int h);
20 void image_SSSE3_rgb_to_gray_8u(const uint8_t* in, uint8_t* out, int w, int h);
21 void image_SSSE3_bgr_to_gray_8u(const uint8_t* in, uint8_t* out, int w, int h);
22 
23 #endif
image_SSSE3_rgb_to_gray_8u
void image_SSSE3_rgb_to_gray_8u(const uint8_t *in, uint8_t *out, int w, int h)
Convert a RGB image (3cu8) into a GRAYSCALE (1c8u) image, using Y=77*R+150*G+29*B.
Definition: CImage_SSE3.cpp:285
image_SSSE3_bgr_to_gray_8u
void image_SSSE3_bgr_to_gray_8u(const uint8_t *in, uint8_t *out, int w, int h)
Convert a RGB image (3cu8) into a GRAYSCALE (1c8u) image, using Y=77*R+150*G+29*B.
Definition: CImage_SSE3.cpp:269
image_SSSE3_scale_half_3c8u
void image_SSSE3_scale_half_3c8u(const uint8_t *in, uint8_t *out, int w, int h)
Subsample each 2x2 pixel block into 1x1 pixel, taking the first pixel & ignoring the other 3.
Definition: CImage_SSE3.cpp:40
w
GLubyte GLubyte GLubyte GLubyte w
Definition: glext.h:4178
uint8_t
unsigned char uint8_t
Definition: rptypes.h:41
in
GLuint in
Definition: glext.h:7274
image_SSE2_scale_half_1c8u
void image_SSE2_scale_half_1c8u(const uint8_t *in, uint8_t *out, int w, int h)
Subsample each 2x2 pixel block into 1x1 pixel, taking the first pixel & ignoring the other 3.
Definition: CImage_SSE2.cpp:43
image_SSE2_scale_half_smooth_1c8u
void image_SSE2_scale_half_smooth_1c8u(const uint8_t *in, uint8_t *out, int w, int h)
Average each 2x2 pixels into 1x1 pixel (arithmetic average)
Definition: CImage_SSE2.cpp:76



Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST