MODIFICATION HISTORY:
Ver Who Date Changes ----- ---- -------- ------------------------------------------------------- 5.00a tb 02/27/12 Updated for RGB2YCRCB v5.00.a
#include "rgb2ycrcb.h"
#include "xenv.h"
#include "stdio.h"
Functions | |
void | RGB_select_standard (u32 standard_sel, u32 input_range, u32 data_width, struct rgb_coef_inputs *coef_in) |
u32 | RGB_coefficient_translation (struct rgb_coef_inputs *coef_in, struct rgb_coef_outputs *coef_out, u32 data_width) |
void | RGB_set_coefficients (u32 BaseAddress, struct rgb_coef_outputs *coef_out) |
void | RGB_get_coefficients (u32 BaseAddress, struct rgb_coef_outputs *coef_out) |
|
Translate input coefficients into coefficients that can be programmed into the RGB2YCrCb core.
|
|
Read the RGB2YCrCb coefficient/offset registers.
|
|
Select input coefficients for 4 supported Standards and 3 Input Ranges.
|
|
Program the RGB2YCrCb coefficient/offset registers.
|