libctru
v2.4.1
|
Coefficients of the YUV->RGB conversion formula. More...
#include <y2r.h>
Data Fields | |
u16 | rgb_Y |
RGB per unit Y. | |
u16 | r_V |
Red per unit V. | |
u16 | g_V |
Green per unit V. | |
u16 | g_U |
Green per unit U. | |
u16 | b_U |
Blue per unit U. | |
u16 | r_offset |
Red offset. | |
u16 | g_offset |
Green offset. | |
u16 | b_offset |
Blue offset. | |
Coefficients of the YUV->RGB conversion formula.
A set of coefficients configuring the RGB to YUV conversion. Coefficients 0-4 are unsigned 2.8 fixed pointer numbers representing entries on the conversion matrix, while coefficient 5-7 are signed 11.5 fixed point numbers added as offsets to the RGB result.
The overall conversion process formula is: