Collaboration diagram for Fast colourspace transformations:
![]() |
Functions | |
void | mimas::rgb_to_rgba (const char *in, int width, int height, char *out) |
Colour conversion from RGB to RGBA. | |
void | mimas::yv12_to_rgba (const char *in, int width, int height, char *out) |
Colour conversion from YV12 to RGBA. | |
void | mimas::yuv420p_to_rgba (const char *in, int width, int height, char *out) |
Colour conversion from YUV420p to RGBA. | |
void | mimas::yuv420p_to_grey (const char *in, int width, int height, char *out) |
Colour conversion from YUV420p to grey. | |
void | mimas::yv12_to_grey (const char *in, int width, int height, char *out) |
Colour conversion from YV12 to Grey. | |
void | mimas::rgba_to_yv12 (const char *in, int width, int height, char *out) |
Colour conversion from RGBA to YV12. | |
void | mimas::uyvy_to_rgba (const char *in, int width, int height, char *out) |
Colour conversion from UYVY to RGBA. | |
void | mimas::yuy2_to_rgba (const char *in, int width, int height, char *out) |
Colour conversion from YUY2 to RGBA. | |
void | mimas::yuy2_to_grey (const char *in, int width, int height, char *out) |
Colour conversion from YUY2 to grey. |
There also is a transformation from RGBA to the YV12 format.
The methods are used internally by the image-I/O classes.
See http://www.fourcc.org/yuv.php and http://www.fourcc.org/fccyvrgb.php for more information on colourspaces.
Colour conversion from RGB to RGBA.
Adding A-byte to RGB.
in | Input RGB data (8 bit) | |
width | Width of input image | |
height | Height of input image | |
out | Pointer to store RGBA data in |
Colour conversion from RGBA to YV12.
Colourspace transformation from RGBA to YV12.
in | Input RGBA data (8 bit) | |
width | Width of input image | |
height | Height of input image | |
out | Pointer to store YV12 data in |
Colour conversion from UYVY to RGBA.
Colourspace transformation from UYVY to RGBA.
in | Input UYVY data (8 bit) | |
width | Width of input image | |
height | Height of input image | |
out | Pointer to store RGBA data in |
Colour conversion from YUV420p to grey.
Colourspace transformation from YUV420p to grey.
in | Input YUV420p data (8 bit) | |
width | Width of input image | |
height | Height of input image | |
out | Pointer to store grey data in |
Colour conversion from YUV420p to RGBA.
Colourspace transformation from YUV420p to RGBA.
in | Input YUV420p data (8 bit) | |
width | Width of input image | |
height | Height of input image | |
out | Pointer to store RGBA data in |
Colour conversion from YUY2 to grey.
Colourspace transformation from YUY2 to grey.
in | Input YUY2 data (8 bit) | |
width | Width of input image | |
height | Height of input image | |
out | Pointer to store grey data in |
Colour conversion from YUY2 to RGBA.
Colourspace transformation from YUY2 to RGBA.
in | Input YUY2 data (8 bit) | |
width | Width of input image | |
height | Height of input image | |
out | Pointer to store RGBA data in |
Colour conversion from YV12 to Grey.
Colourspace transformation from YV12 to Grey.
in | Input YV12 data (8 bit) | |
width | Width of input image | |
height | Height of input image | |
out | Pointer to store grey data in |
Colour conversion from YV12 to RGBA.
Colourspace transformation from YV12 to RGBA.
in | Input YV12 data (8 bit) | |
width | Width of input image | |
height | Height of input image | |
out | Pointer to store RGBA data in |