|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
One RGB-to-YC matrix row (Y, Cb, or Cr). More...
#include <ra8_vin_types.h>
Data Fields | |
| uint16_t | r_coeff |
| Setting 1 R coefficient. | |
| uint16_t | g_coeff |
| Setting 2 G coefficient. | |
| uint16_t | b_coeff |
| Setting 2 B coefficient. | |
| uint16_t | add_offset |
| Setting 3 additive offset (LAP). | |
| bool | enable_hen |
| Setting 3 round-off enable (LHEN). | |
| uint8_t | shift_down |
| Setting 3 shift-down volume (LSFT, 5-bit). | |
One RGB-to-YC matrix row (Y, Cb, or Cr).
HUM Ch 67.2.27..67.2.35 p 4002-4011. The R/G/B coefficients are 13/12/12-bit signed values; the additive offset is 12-bit and the shift / round controls live in setting 3.
Definition at line 168 of file ra8_vin_types.h.
| uint16_t ra8_vin_rgb_to_yc_chan_t::add_offset |
Setting 3 additive offset (LAP).
Definition at line 172 of file ra8_vin_types.h.
Referenced by ra8_vin_set_rgb_to_yc().
| uint16_t ra8_vin_rgb_to_yc_chan_t::b_coeff |
Setting 2 B coefficient.
Definition at line 171 of file ra8_vin_types.h.
Referenced by ra8_vin_set_rgb_to_yc().
| bool ra8_vin_rgb_to_yc_chan_t::enable_hen |
Setting 3 round-off enable (LHEN).
Definition at line 173 of file ra8_vin_types.h.
Referenced by ra8_vin_set_rgb_to_yc().
| uint16_t ra8_vin_rgb_to_yc_chan_t::g_coeff |
Setting 2 G coefficient.
Definition at line 170 of file ra8_vin_types.h.
Referenced by ra8_vin_set_rgb_to_yc().
| uint16_t ra8_vin_rgb_to_yc_chan_t::r_coeff |
Setting 1 R coefficient.
Definition at line 169 of file ra8_vin_types.h.
Referenced by ra8_vin_set_rgb_to_yc().
| uint8_t ra8_vin_rgb_to_yc_chan_t::shift_down |
Setting 3 shift-down volume (LSFT, 5-bit).
Definition at line 174 of file ra8_vin_types.h.
Referenced by ra8_vin_set_rgb_to_yc().