Video library for GR-PEACH
Dependents: Trace_Program2 GR-PEACH_Camera_in_barcode GR-PEACH_LCD_sample GR-PEACH_LCD_4_3inch_sample ... more
VDC5 driver register setup processing. More...
Go to the source code of this file.
Functions | |
static void | SetVideoExternalInput (const vdc5_ext_in_sig_t *const ext_sig_tmp, const vdc5_regaddr_input_ctrl_t *const input_ctrl) |
Sets external input video signal. | |
static void | SetInitialConnection (const vdc5_channel_t ch) |
Initializes cascaded connection. | |
static void | SetGrapicsBackgroundColor (const vdc5_channel_t ch) |
Sets background color for graphics. | |
static void | SetScalerBackgroundColor (const vdc5_channel_t ch, const vdc5_graphics_type_t graphics_id, const vdc5_color_space_t color_space) |
Sets background color for scaler 0, scaler 1, graphics 0, and graphics 1. | |
static void | SetLcdTcon_STVA_VS (const vdc5_lcd_tcon_timing_t *const lcd_tcon, const vdc5_regaddr_output_ctrl_t *const output_ctrl) |
Sets LCD TCON - STVA/VS. | |
static void | SetLcdTcon_STVB_VE (const vdc5_lcd_tcon_timing_t *const lcd_tcon, const vdc5_regaddr_output_ctrl_t *const output_ctrl) |
Sets LCD TCON - STVB/VE. | |
static void | SetLcdTcon_STH_HS (const vdc5_lcd_tcon_timing_t *const lcd_tcon, const vdc5_regaddr_output_ctrl_t *const output_ctrl) |
Sets LCD TCON - STH/HS. | |
static void | SetLcdTcon_STB_HE (const vdc5_lcd_tcon_timing_t *const lcd_tcon, const vdc5_regaddr_output_ctrl_t *const output_ctrl) |
Sets LCD TCON - STB/HE. | |
static void | SetLcdTcon_CPV_GCK (const vdc5_lcd_tcon_timing_t *const lcd_tcon, const vdc5_regaddr_output_ctrl_t *const output_ctrl) |
Sets LCD TCON - CPV/GCK. | |
static void | SetLcdTcon_POLA (const vdc5_lcd_tcon_timing_t *const lcd_tcon, const vdc5_regaddr_output_ctrl_t *const output_ctrl) |
Sets LCD TCON - POLA. | |
static void | SetLcdTcon_POLB (const vdc5_lcd_tcon_timing_t *const lcd_tcon, const vdc5_regaddr_output_ctrl_t *const output_ctrl) |
Sets LCD TCON - POLB. | |
static void | SetLcdTcon_DE (const vdc5_lcd_tcon_timing_t *const lcd_tcon, const vdc5_regaddr_output_ctrl_t *const output_ctrl) |
Sets LCD TCON - DE. | |
static void | SetScalingDown (const vdc5_scalingdown_rot_t *const scldw_rot, const vdc5_res_inter_t res_inter, const vdc5_regaddr_scaler_t *const scaler) |
Sets scaling-down. | |
static void | SetScalingUp (const vdc5_width_read_fb_t *const w_read_fb, const vdc5_period_rect_t *const gr_grc, const vdc5_onoff_t adj_sel, const vdc5_onoff_t ip_conversion, const vdc5_wr_md_t res_ds_wr_md, const vdc5_gr_ln_off_dir_t ln_off_dir, const vdc5_regaddr_scaler_t *const scaler) |
Sets scaling-up. | |
static uint32_t | CalcScalingRatio (const uint32_t before_scl, const uint32_t after_scl, const vdc5_onoff_t adj_sel, const vdc5_onoff_t round_up) |
Calculates scaling ratio. | |
static void | SetInputCntrlColorMtx (const vdc5_channel_t ch, const vdc5_scaling_type_t scaling_id) |
Sets color matrix in the input controller. | |
static vdc5_onoff_t | ConfirmGraphicsEnlargement (const vdc5_graphics_type_t graphics_id, const vdc5_gr_flm_sel_t gr_flm_sel, const vdc5_width_read_fb_t *const w_read_fb, const vdc5_period_rect_t *const gr_grc) |
Confirms whether the graphics enlargement will occur or not. | |
static void | SetScalerGraphics (const vdc5_channel_t ch, const vdc5_graphics_type_t graphics_id, const vdc5_width_read_fb_t *const w_read_fb, const vdc5_period_rect_t *const gr_grc, const vdc5_gr_flm_sel_t gr_flm_sel, const vdc5_onoff_t gr_enlarge) |
Sets scaler for graphics. | |
static uint32_t | DisplayStartPixelSetting (const uint32_t gr_base, const vdc5_gr_format_t gr_format) |
Gets the amount of data to be skipped through. | |
static vdc5_onoff_t | SetCascade (const vdc5_channel_t ch, const vdc5_graphics_type_t graphics_id, const vdc5_gr_flm_sel_t gr_flm_sel, const vdc5_onoff_t gr_enlarge) |
Sets cascaded connection. | |
static void | SetupGraphicsVIN (const vdc5_channel_t ch, const vdc5_graphics_type_t graphics_id, const vdc5_gr_flm_sel_t gr_flm_sel, const vdc5_onoff_t gr_enlarge) |
Sets VIN synthesizer. | |
static void | ChangeGraphicsVIN (const vdc5_channel_t ch, const vdc5_graphics_type_t graphics_id, const vdc5_gr_flm_sel_t gr_flm_sel, const vdc5_onoff_t gr_enlarge) |
Changes VIN synthesizer settings. | |
static void | SetImgQaImproverColorMtx (const vdc5_channel_t ch, const vdc5_graphics_type_t graphics_id, const vdc5_color_space_t color_space) |
Sets color matrix in the image quality improver. | |
static void | SetRwProcAbility_Write_0 (const vdc5_channel_t ch, const vdc5_onoff_t ability) |
Activates/deactivates frame buffer writing for scaler 0. | |
static void | SetRwProcAbility_Write_1 (const vdc5_channel_t ch, const vdc5_onoff_t ability) |
Activates/deactivates frame buffer writing for scaler 1. | |
static void | SetRwProcAbility_Write_OIR (const vdc5_channel_t ch, const vdc5_onoff_t ability) |
Activates/deactivates frame buffer writing for OIR. | |
static void | SetRwProcAbility_Read_0 (const vdc5_channel_t ch, const vdc5_onoff_t ability) |
Activates/deactivates frame buffer reading for graphics 0. | |
static void | SetRwProcAbility_Read_1 (const vdc5_channel_t ch, const vdc5_onoff_t ability) |
Activates/deactivates frame buffer reading for graphics 1. | |
static void | SetRwProcAbility_Read_2 (const vdc5_channel_t ch, const vdc5_onoff_t ability) |
Activates/deactivates frame buffer reading for graphics 2. | |
static void | SetRwProcAbility_Read_3 (const vdc5_channel_t ch, const vdc5_onoff_t ability) |
Activates/deactivates frame buffer reading for graphics 3. | |
static void | SetRwProcAbility_Read_OIR (const vdc5_channel_t ch, const vdc5_onoff_t ability) |
Activates/deactivates frame buffer reading for OIR. | |
static void | SetRegUpdateRwEnable (const vdc5_channel_t ch, const vdc5_layer_id_t layer_id) |
Sets register update control register to update the frame buffer read and write enable settings. | |
static void | SetGraphicsDisplayMode (const vdc5_channel_t ch, const vdc5_layer_id_t layer_id, const vdc5_gr_disp_sel_t *const gr_disp_sel) |
Sets graphics display mode. | |
static void | SetColorMatrix (const vdc5_colormtx_mode_t mtx_mode, const uint16_t *const offset, const uint16_t *const gain, const vdc5_regaddr_color_matrix_t *const color_matrix) |
Sets color matrix. | |
static void | SetImageEnhancementSharpness (const vdc5_onoff_t shp_h_on, const vdc5_enhance_sharp_t *const sharp_param, const vdc5_regaddr_img_qlty_imp_t *const img_qlty_imp) |
Sets sharpness. | |
static void | SetImageEnhancementLti (const vdc5_onoff_t lti_h_on, const vdc5_enhance_lti_t *const lti_param, const vdc5_regaddr_img_qlty_imp_t *const img_qlty_imp) |
Sets LTI. | |
static void | SetAlphaRectArea (const vdc5_pd_disp_rect_t *const pd_disp_rect, const vdc5_regaddr_img_synthesizer_t *const img_synthesizer) |
Sets alpha blending area of a rectangle. | |
static void | SetUndSel (const vdc5_channel_t ch, const vdc5_onoff_t und_sel) |
Sets upper-layer and lower-layer plane in scaler. | |
static uint32_t | ColorConversion (const vdc5_gr_format_t gr_format, const uint32_t input_color) |
Converts the color format from gr_format format into 24-bit RGB888 format. | |
static uint32_t | ColorConversionFrom4to8 (const uint32_t color_value) |
Converts the color data from 4 bits value into 8 bits value. | |
static uint32_t | ColorConversionFrom5to8 (const uint32_t color_value) |
Converts the color data from 5 bits value into 8 bits value. | |
static uint32_t | ColorConversionFrom6to8 (const uint32_t color_value) |
Converts the color data from 6 bits value into 8 bits value. | |
static uint32_t | ColorConversionIntoAgbr (const uint32_t color_value) |
Converts the color data from ARGB8888 format into AGBR8888 format. | |
static void | Set_Clut (const vdc5_clut_t *const param, volatile uint32_t *regaddr_clut) |
Sets color lookup table (CLUT) | |
static void | Set_StartThreshold_Gamma (const uint8_t *gam_th, volatile uint32_t *const *const gam_area) |
Sets start threshold for gamma correction. | |
static void | Set_GainAdjustment_Gamma (const uint16_t *gam_gain, volatile uint32_t *const *const gam_lut) |
Sets gain adjustment for gamma correction. | |
static void | Wait_200_usec (void) |
Waits for 200 usec. | |
void | VDC5_Initialize (const vdc5_channel_t ch, const vdc5_init_t *const param) |
Sets registers for initialization. | |
void | VDC5_Terminate (const vdc5_channel_t ch) |
Sets registers for termination. | |
void | VDC5_VideoInput (const vdc5_channel_t ch, const vdc5_input_t *const param) |
Sets registers for video input. | |
void | VDC5_SyncControl (const vdc5_channel_t ch, const vdc5_sync_ctrl_t *const param) |
Sets registers for sync control. | |
void | VDC5_DisplayOutput (const vdc5_channel_t ch, const vdc5_output_t *const param) |
Sets registers for display output. | |
void | VDC5_WriteDataControl (const vdc5_channel_t ch, const vdc5_scaling_type_t scaling_id, const vdc5_write_t *const param) |
Sets registers for data write control processing. | |
void | VDC5_ChangeWriteProcess (const vdc5_channel_t ch, const vdc5_scaling_type_t scaling_id, const vdc5_write_chg_t *const param) |
Sets registers for data write change processing. | |
void | VDC5_ReadDataControl (const vdc5_channel_t ch, const vdc5_graphics_type_t graphics_id, const vdc5_read_t *const param) |
Sets registers for data read control processing. | |
void | VDC5_ChangeReadProcess (const vdc5_channel_t ch, const vdc5_graphics_type_t graphics_id, const vdc5_read_chg_t *const param) |
Sets registers for data read change processing. | |
void | VDC5_StartProcess (const vdc5_channel_t ch, const vdc5_layer_id_t layer_id, const vdc5_start_t *const param) |
Sets registers for data write/read start processing. | |
void | VDC5_StopProcess (const vdc5_channel_t ch, const vdc5_layer_id_t layer_id) |
Sets registers for data write/read stop processing. | |
void | VDC5_ReleaseDataControl (const vdc5_channel_t ch, const vdc5_layer_id_t layer_id) |
Sets registers for data write/read control release processing. | |
void | VDC5_VideoNoiseReduction (const vdc5_channel_t ch, const vdc5_onoff_t nr1d_on, const vdc5_noise_reduction_t *const param) |
Sets registers for noise reduction. | |
void | VDC5_ImageColorMatrix (const vdc5_channel_t ch, const vdc5_color_matrix_t *const param) |
Sets registers for color matrix. | |
void | VDC5_ImageEnhancement (const vdc5_channel_t ch, const vdc5_imgimprv_id_t imgimprv_id, const vdc5_onoff_t shp_h_on, const vdc5_enhance_sharp_t *const sharp_param, const vdc5_onoff_t lti_h_on, const vdc5_enhance_lti_t *const lti_param, const vdc5_period_rect_t *const enh_area) |
Sets registers for image enhancement processing. | |
void | VDC5_ImageBlackStretch (const vdc5_channel_t ch, const vdc5_imgimprv_id_t imgimprv_id, const vdc5_onoff_t bkstr_on, const vdc5_black_t *const param) |
Sets registers for black stretch. | |
void | VDC5_AlphaBlending (const vdc5_channel_t ch, const vdc5_graphics_type_t graphics_id, const vdc5_alpha_blending_t *const param) |
Sets registers for alpha blending. | |
void | VDC5_AlphaBlendingRect (const vdc5_channel_t ch, const vdc5_graphics_type_t graphics_id, const vdc5_onoff_t gr_arc_on, const vdc5_alpha_blending_rect_t *const param) |
Sets registers for rectangle alpha blending. | |
void | VDC5_Chromakey (const vdc5_channel_t ch, const vdc5_graphics_type_t graphics_id, const vdc5_onoff_t gr_ck_on, const vdc5_chromakey_t *const param) |
Sets registers for chroma-key. | |
void | VDC5_CLUT (const vdc5_channel_t ch, const vdc5_graphics_type_t graphics_id, const vdc5_clut_t *const param) |
Sets registers for CLUT. | |
void | VDC5_DisplayCalibration (const vdc5_channel_t ch, const vdc5_disp_calibration_t *const param) |
Sets registers for display calibration. | |
void | VDC5_GammaCorrection (const vdc5_channel_t ch, const vdc5_onoff_t gam_on, const vdc5_gamma_correction_t *const param) |
Sets registers for gamma correction. | |
Variables | |
static const uint16_t | colormtx_offset_adj [VDC5_COLORMTX_OFFST_NUM] |
static const uint16_t | colormtx_gain_adj [VDC5_COLORMTX_MODE_NUM][VDC5_COLORMTX_GAIN_NUM] |
Detailed Description
VDC5 driver register setup processing.
- Version:
- 1.00
- Rev:
- 199
- Date:
- 2014-05-23 16:33:52 +0900#
Definition in file r_vdc5_register.c.
Function Documentation
static uint32_t CalcScalingRatio | ( | const uint32_t | before_scl, |
const uint32_t | after_scl, | ||
const vdc5_onoff_t | adj_sel, | ||
const vdc5_onoff_t | round_up | ||
) | [static] |
Calculates scaling ratio.
Description:
In this function, the overflow in calculation is not considered. before_scl and after_scl are 11bit width, so the overflow does not occur.
- Parameters:
-
[in] before_scl : Size before scaling [in] after_scl : Size after scaling [in] adj_sel : Handling for lack of last-input pixel/line, or folding handling [in] round_up : Round-up on/off
- Return values:
-
Scaling ratio
Definition at line 2476 of file r_vdc5_register.c.
static void ChangeGraphicsVIN | ( | const vdc5_channel_t | ch, |
const vdc5_graphics_type_t | graphics_id, | ||
const vdc5_gr_flm_sel_t | gr_flm_sel, | ||
const vdc5_onoff_t | gr_enlarge | ||
) | [static] |
Changes VIN synthesizer settings.
- Parameters:
-
[in] ch : Channel [in] graphics_id : Graphics type ID [in] gr_flm_sel : Frame buffer address setting signal [in] gr_enlarge : Graphics enlargement on/off
- Return values:
-
None
Definition at line 2875 of file r_vdc5_register.c.
static uint32_t ColorConversion | ( | const vdc5_gr_format_t | gr_format, |
const uint32_t | input_color | ||
) | [static] |
Converts the color format from gr_format format into 24-bit RGB888 format.
- Parameters:
-
[in] gr_format : Color format [in] input_color : Color data
- Return values:
-
RGB888 color data
Definition at line 3576 of file r_vdc5_register.c.
static uint32_t ColorConversionFrom4to8 | ( | const uint32_t | color_value ) | [static] |
Converts the color data from 4 bits value into 8 bits value.
- Parameters:
-
[in] color_value : 4-bit color data
- Return values:
-
8-bit color data
Definition at line 3630 of file r_vdc5_register.c.
static uint32_t ColorConversionFrom5to8 | ( | const uint32_t | color_value ) | [static] |
Converts the color data from 5 bits value into 8 bits value.
- Parameters:
-
[in] color_value : 5-bit color data
- Return values:
-
8-bit color data
Definition at line 3645 of file r_vdc5_register.c.
static uint32_t ColorConversionFrom6to8 | ( | const uint32_t | color_value ) | [static] |
Converts the color data from 6 bits value into 8 bits value.
- Parameters:
-
[in] color_value : 6-bit color data
- Return values:
-
8-bit color data
Definition at line 3664 of file r_vdc5_register.c.
static uint32_t ColorConversionIntoAgbr | ( | const uint32_t | color_value ) | [static] |
Converts the color data from ARGB8888 format into AGBR8888 format.
- Parameters:
-
[in] color_value : ARGB8888 color data
- Return values:
-
AGBR8888 color data
Definition at line 3683 of file r_vdc5_register.c.
static vdc5_onoff_t ConfirmGraphicsEnlargement | ( | const vdc5_graphics_type_t | graphics_id, |
const vdc5_gr_flm_sel_t | gr_flm_sel, | ||
const vdc5_width_read_fb_t *const | w_read_fb, | ||
const vdc5_period_rect_t *const | gr_grc | ||
) | [static] |
Confirms whether the graphics enlargement will occur or not.
- Parameters:
-
[in] graphics_id : Graphics type ID [in] gr_flm_sel : Frame buffer address setting signal [in] w_read_fb : Size of the frame buffer to be read [in] gr_grc : Graphics display area
- Return values:
-
Graphics enlargement on/off
Definition at line 2576 of file r_vdc5_register.c.
static uint32_t DisplayStartPixelSetting | ( | const uint32_t | gr_base, |
const vdc5_gr_format_t | gr_format | ||
) | [static] |
Gets the amount of data to be skipped through.
- Parameters:
-
[in] gr_base : Frame buffer base address [in] gr_format : Graphics format
- Return values:
-
The amount of data to be skipped through
Definition at line 2710 of file r_vdc5_register.c.
static void Set_Clut | ( | const vdc5_clut_t *const | param, |
volatile uint32_t * | regaddr_clut | ||
) | [static] |
Sets color lookup table (CLUT)
- Parameters:
-
[in] param : CLUT parameter [out] regaddr_clut : CLUT register top address
- Return values:
-
None
Definition at line 3707 of file r_vdc5_register.c.
static void Set_GainAdjustment_Gamma | ( | const uint16_t * | gam_gain, |
volatile uint32_t *const *const | gam_lut | ||
) | [static] |
Sets gain adjustment for gamma correction.
- Parameters:
-
[in] gam_gain : Gain adjustment of area 0 to 31 [out] gam_lut : Gamma correction registers for gain adjustment
- Return values:
-
None
Definition at line 3757 of file r_vdc5_register.c.
static void Set_StartThreshold_Gamma | ( | const uint8_t * | gam_th, |
volatile uint32_t *const *const | gam_area | ||
) | [static] |
Sets start threshold for gamma correction.
- Parameters:
-
[in] gam_th : Start threshold of area 1 to 31 [out] gam_area : Gamma correction registers for start threshold
- Return values:
-
None
Definition at line 3726 of file r_vdc5_register.c.
static void SetAlphaRectArea | ( | const vdc5_pd_disp_rect_t *const | pd_disp_rect, |
const vdc5_regaddr_img_synthesizer_t *const | img_synthesizer | ||
) | [static] |
Sets alpha blending area of a rectangle.
- Parameters:
-
[in] pd_disp_rect : Rectangular area for alpha blending [in] img_synthesizer : Image synthesizer registers
- Return values:
-
None
Definition at line 3495 of file r_vdc5_register.c.
static vdc5_onoff_t SetCascade | ( | const vdc5_channel_t | ch, |
const vdc5_graphics_type_t | graphics_id, | ||
const vdc5_gr_flm_sel_t | gr_flm_sel, | ||
const vdc5_onoff_t | gr_enlarge | ||
) | [static] |
Sets cascaded connection.
- Parameters:
-
[in] ch : Channel [in] graphics_id : Graphics type ID [in] gr_flm_sel : Frame buffer address setting signal [in] gr_enlarge : Graphics enlargement on/off
- Return values:
-
Cascade ON/OFF
Definition at line 2744 of file r_vdc5_register.c.
static void SetColorMatrix | ( | const vdc5_colormtx_mode_t | mtx_mode, |
const uint16_t *const | offset, | ||
const uint16_t *const | gain, | ||
const vdc5_regaddr_color_matrix_t *const | color_matrix | ||
) | [static] |
Sets color matrix.
- Parameters:
-
[in] mtx_mode : Operating mode [in] offset : Offset (DC) adjustment of Y/G, B, and R signal [in] gain : GG, GB, GR, BG, BB, BR, RG, RB, and RR signal gain adjustment [in] color_matrix : Color matrix registers
- Return values:
-
None
Definition at line 3346 of file r_vdc5_register.c.
static void SetGraphicsDisplayMode | ( | const vdc5_channel_t | ch, |
const vdc5_layer_id_t | layer_id, | ||
const vdc5_gr_disp_sel_t *const | gr_disp_sel | ||
) | [static] |
Sets graphics display mode.
- Parameters:
-
[in] ch : Channel [in] layer_id : Layer ID [in] gr_disp_sel : Graphics display mode
- Return values:
-
None
Definition at line 3301 of file r_vdc5_register.c.
static void SetGrapicsBackgroundColor | ( | const vdc5_channel_t | ch ) | [static] |
Sets background color for graphics.
- Parameters:
-
[in] ch : Channel
- Return values:
-
None
Definition at line 2023 of file r_vdc5_register.c.
static void SetImageEnhancementLti | ( | const vdc5_onoff_t | lti_h_on, |
const vdc5_enhance_lti_t *const | lti_param, | ||
const vdc5_regaddr_img_qlty_imp_t *const | img_qlty_imp | ||
) | [static] |
Sets LTI.
- Parameters:
-
[in] lti_h_on : LTI ON/OFF setting [in] lti_param : LTI setup parameter [in] img_qlty_imp : Image quality improver registers
- Return values:
-
None
Definition at line 3443 of file r_vdc5_register.c.
static void SetImageEnhancementSharpness | ( | const vdc5_onoff_t | shp_h_on, |
const vdc5_enhance_sharp_t *const | sharp_param, | ||
const vdc5_regaddr_img_qlty_imp_t *const | img_qlty_imp | ||
) | [static] |
Sets sharpness.
- Parameters:
-
[in] shp_h_on : Sharpness ON/OFF setting [in] sharp_param : Sharpness ON/OFF setting [in] img_qlty_imp : Image quality improver registers
- Return values:
-
None
Definition at line 3383 of file r_vdc5_register.c.
static void SetImgQaImproverColorMtx | ( | const vdc5_channel_t | ch, |
const vdc5_graphics_type_t | graphics_id, | ||
const vdc5_color_space_t | color_space | ||
) | [static] |
Sets color matrix in the image quality improver.
- Parameters:
-
[in] ch : Channel [in] graphics_id : Graphics type ID [in] color_space : Color space (GBR or YCbCr)
- Return values:
-
None
Definition at line 2945 of file r_vdc5_register.c.
static void SetInitialConnection | ( | const vdc5_channel_t | ch ) | [static] |
Initializes cascaded connection.
- Parameters:
-
[in] ch : Channel
- Return values:
-
None
Definition at line 1984 of file r_vdc5_register.c.
static void SetInputCntrlColorMtx | ( | const vdc5_channel_t | ch, |
const vdc5_scaling_type_t | scaling_id | ||
) | [static] |
Sets color matrix in the input controller.
- Parameters:
-
[in] ch : Channel [in] scaling_id : Scaling type ID
- Return values:
-
None
Definition at line 2525 of file r_vdc5_register.c.
static void SetLcdTcon_CPV_GCK | ( | const vdc5_lcd_tcon_timing_t *const | lcd_tcon, |
const vdc5_regaddr_output_ctrl_t *const | output_ctrl | ||
) | [static] |
Sets LCD TCON - CPV/GCK.
- Parameters:
-
[in] lcd_tcon : LCD TCON timing signal parameter [in] output_ctrl : Output controller registers
- Return values:
-
None
Definition at line 2214 of file r_vdc5_register.c.
static void SetLcdTcon_DE | ( | const vdc5_lcd_tcon_timing_t *const | lcd_tcon, |
const vdc5_regaddr_output_ctrl_t *const | output_ctrl | ||
) | [static] |
Sets LCD TCON - DE.
- Parameters:
-
[in] lcd_tcon : LCD TCON timing signal parameter [in] output_ctrl : Output controller registers
- Return values:
-
None
Definition at line 2296 of file r_vdc5_register.c.
static void SetLcdTcon_POLA | ( | const vdc5_lcd_tcon_timing_t *const | lcd_tcon, |
const vdc5_regaddr_output_ctrl_t *const | output_ctrl | ||
) | [static] |
Sets LCD TCON - POLA.
- Parameters:
-
[in] lcd_tcon : LCD TCON timing signal parameter [in] output_ctrl : Output controller registers
- Return values:
-
None
Definition at line 2240 of file r_vdc5_register.c.
static void SetLcdTcon_POLB | ( | const vdc5_lcd_tcon_timing_t *const | lcd_tcon, |
const vdc5_regaddr_output_ctrl_t *const | output_ctrl | ||
) | [static] |
Sets LCD TCON - POLB.
- Parameters:
-
[in] lcd_tcon : LCD TCON timing signal parameter [in] output_ctrl : Output controller registers
- Return values:
-
None
Definition at line 2268 of file r_vdc5_register.c.
static void SetLcdTcon_STB_HE | ( | const vdc5_lcd_tcon_timing_t *const | lcd_tcon, |
const vdc5_regaddr_output_ctrl_t *const | output_ctrl | ||
) | [static] |
Sets LCD TCON - STB/HE.
- Parameters:
-
[in] lcd_tcon : LCD TCON timing signal parameter [in] output_ctrl : Output controller registers
- Return values:
-
None
Definition at line 2188 of file r_vdc5_register.c.
static void SetLcdTcon_STH_HS | ( | const vdc5_lcd_tcon_timing_t *const | lcd_tcon, |
const vdc5_regaddr_output_ctrl_t *const | output_ctrl | ||
) | [static] |
Sets LCD TCON - STH/HS.
- Parameters:
-
[in] lcd_tcon : LCD TCON timing signal parameter [in] output_ctrl : Output controller registers
- Return values:
-
None
Definition at line 2162 of file r_vdc5_register.c.
static void SetLcdTcon_STVA_VS | ( | const vdc5_lcd_tcon_timing_t *const | lcd_tcon, |
const vdc5_regaddr_output_ctrl_t *const | output_ctrl | ||
) | [static] |
Sets LCD TCON - STVA/VS.
- Parameters:
-
[in] lcd_tcon : LCD TCON timing signal parameter [in] output_ctrl : Output controller registers
- Return values:
-
None
Definition at line 2116 of file r_vdc5_register.c.
static void SetLcdTcon_STVB_VE | ( | const vdc5_lcd_tcon_timing_t *const | lcd_tcon, |
const vdc5_regaddr_output_ctrl_t *const | output_ctrl | ||
) | [static] |
Sets LCD TCON - STVB/VE.
- Parameters:
-
[in] lcd_tcon : LCD TCON timing signal parameter [in] output_ctrl : Output controller registers
- Return values:
-
None
Definition at line 2139 of file r_vdc5_register.c.
static void SetRegUpdateRwEnable | ( | const vdc5_channel_t | ch, |
const vdc5_layer_id_t | layer_id | ||
) | [static] |
Sets register update control register to update the frame buffer read and write enable settings.
- Parameters:
-
[in] ch : Channel [in] layer_id : Layer ID
- Return values:
-
None
Definition at line 3220 of file r_vdc5_register.c.
static void SetRwProcAbility_Read_0 | ( | const vdc5_channel_t | ch, |
const vdc5_onoff_t | ability | ||
) | [static] |
Activates/deactivates frame buffer reading for graphics 0.
- Parameters:
-
[in] ch : Channel [in] ability : Ability to enable read/write access to the memory
- Return values:
-
None
Definition at line 3074 of file r_vdc5_register.c.
static void SetRwProcAbility_Read_1 | ( | const vdc5_channel_t | ch, |
const vdc5_onoff_t | ability | ||
) | [static] |
Activates/deactivates frame buffer reading for graphics 1.
- Parameters:
-
[in] ch : Channel [in] ability : Ability to enable read/write access to the memory
- Return values:
-
None
Definition at line 3103 of file r_vdc5_register.c.
static void SetRwProcAbility_Read_2 | ( | const vdc5_channel_t | ch, |
const vdc5_onoff_t | ability | ||
) | [static] |
Activates/deactivates frame buffer reading for graphics 2.
- Parameters:
-
[in] ch : Channel [in] ability : Ability to enable read/write access to the memory
- Return values:
-
None
Definition at line 3132 of file r_vdc5_register.c.
static void SetRwProcAbility_Read_3 | ( | const vdc5_channel_t | ch, |
const vdc5_onoff_t | ability | ||
) | [static] |
Activates/deactivates frame buffer reading for graphics 3.
- Parameters:
-
[in] ch : Channel [in] ability : Ability to enable read/write access to the memory
- Return values:
-
None
Definition at line 3161 of file r_vdc5_register.c.
static void SetRwProcAbility_Read_OIR | ( | const vdc5_channel_t | ch, |
const vdc5_onoff_t | ability | ||
) | [static] |
Activates/deactivates frame buffer reading for OIR.
- Parameters:
-
[in] ch : Channel [in] ability : Ability to enable read/write access to the memory
- Return values:
-
None
Definition at line 3190 of file r_vdc5_register.c.
static void SetRwProcAbility_Write_0 | ( | const vdc5_channel_t | ch, |
const vdc5_onoff_t | ability | ||
) | [static] |
Activates/deactivates frame buffer writing for scaler 0.
- Parameters:
-
[in] ch : Channel [in] ability : Ability to enable read/write access to the memory
- Return values:
-
None
Definition at line 2978 of file r_vdc5_register.c.
static void SetRwProcAbility_Write_1 | ( | const vdc5_channel_t | ch, |
const vdc5_onoff_t | ability | ||
) | [static] |
Activates/deactivates frame buffer writing for scaler 1.
- Parameters:
-
[in] ch : Channel [in] ability : Ability to enable read/write access to the memory
- Return values:
-
None
Definition at line 3013 of file r_vdc5_register.c.
static void SetRwProcAbility_Write_OIR | ( | const vdc5_channel_t | ch, |
const vdc5_onoff_t | ability | ||
) | [static] |
Activates/deactivates frame buffer writing for OIR.
- Parameters:
-
[in] ch : Channel [in] ability : Ability to enable read/write access to the memory
- Return values:
-
None
Definition at line 3048 of file r_vdc5_register.c.
static void SetScalerBackgroundColor | ( | const vdc5_channel_t | ch, |
const vdc5_graphics_type_t | graphics_id, | ||
const vdc5_color_space_t | color_space | ||
) | [static] |
Sets background color for scaler 0, scaler 1, graphics 0, and graphics 1.
Description:
This function should be called only when graphics 0 or graphics 1 is selected.
- Parameters:
-
[in] ch : Channel [in] graphics_id : Graphics type ID [in] color_space : Color space (GBR or YCbCr)
- Return values:
-
None
Definition at line 2067 of file r_vdc5_register.c.
static void SetScalerGraphics | ( | const vdc5_channel_t | ch, |
const vdc5_graphics_type_t | graphics_id, | ||
const vdc5_width_read_fb_t *const | w_read_fb, | ||
const vdc5_period_rect_t *const | gr_grc, | ||
const vdc5_gr_flm_sel_t | gr_flm_sel, | ||
const vdc5_onoff_t | gr_enlarge | ||
) | [static] |
Sets scaler for graphics.
- Parameters:
-
[in] ch : Channel [in] graphics_id : Graphics type ID [in] w_read_fb : Size of the frame buffer to be read [in] gr_grc : Graphics display area [in] gr_flm_sel : Frame buffer address setting signal [in] gr_enlarge : Graphics enlargement on/off
- Return values:
-
None
Definition at line 2610 of file r_vdc5_register.c.
static void SetScalingDown | ( | const vdc5_scalingdown_rot_t *const | scldw_rot, |
const vdc5_res_inter_t | res_inter, | ||
const vdc5_regaddr_scaler_t *const | scaler | ||
) | [static] |
Sets scaling-down.
- Parameters:
-
[in] scldw_rot : Scaling-down and rotation parameter [in] res_inter : Field operating mode select [in] scaler : Scaler registers
- Return values:
-
None
Definition at line 2312 of file r_vdc5_register.c.
static void SetScalingUp | ( | const vdc5_width_read_fb_t *const | w_read_fb, |
const vdc5_period_rect_t *const | gr_grc, | ||
const vdc5_onoff_t | adj_sel, | ||
const vdc5_onoff_t | ip_conversion, | ||
const vdc5_wr_md_t | res_ds_wr_md, | ||
const vdc5_gr_ln_off_dir_t | ln_off_dir, | ||
const vdc5_regaddr_scaler_t *const | scaler | ||
) | [static] |
Sets scaling-up.
- Parameters:
-
[in] w_read_fb : Size of the frame buffer to be read [in] gr_grc : Graphics display area [in] adj_sel : Folding handling (on/off) [in] ip_conversion : IP conversion on/off [in] res_ds_wr_md : Frame buffer writing mode for image processing [in] ln_off_dir : Line offset address direction of the frame buffer [in] scaler : Scaler registers
- Return values:
-
None
Definition at line 2375 of file r_vdc5_register.c.
static void SetUndSel | ( | const vdc5_channel_t | ch, |
const vdc5_onoff_t | und_sel | ||
) | [static] |
Sets upper-layer and lower-layer plane in scaler.
- Parameters:
-
[in] ch : Channel [in] und_sel : Selection of lower-layer plane in scaler
- Return values:
-
None
Definition at line 3527 of file r_vdc5_register.c.
static void SetupGraphicsVIN | ( | const vdc5_channel_t | ch, |
const vdc5_graphics_type_t | graphics_id, | ||
const vdc5_gr_flm_sel_t | gr_flm_sel, | ||
const vdc5_onoff_t | gr_enlarge | ||
) | [static] |
Sets VIN synthesizer.
- Parameters:
-
[in] ch : Channel [in] graphics_id : Graphics type ID [in] gr_flm_sel : Frame buffer address setting signal [in] gr_enlarge : Graphics enlargement on/off
- Return values:
-
None
Definition at line 2811 of file r_vdc5_register.c.
static void SetVideoExternalInput | ( | const vdc5_ext_in_sig_t *const | ext_sig_tmp, |
const vdc5_regaddr_input_ctrl_t *const | input_ctrl | ||
) | [static] |
Sets external input video signal.
- Parameters:
-
[in] ext_sig_tmp : External input signal parameter [in] input_ctrl : Input controller registers
- Return values:
-
None
Definition at line 1926 of file r_vdc5_register.c.
void VDC5_AlphaBlending | ( | const vdc5_channel_t | ch, |
const vdc5_graphics_type_t | graphics_id, | ||
const vdc5_alpha_blending_t *const | param | ||
) |
Sets registers for alpha blending.
- Parameters:
-
[in] ch : Channel [in] graphics_id : Graphics type ID [in] param : Alpha blending setup parameter
- Return values:
-
None
Definition at line 1616 of file r_vdc5_register.c.
void VDC5_AlphaBlendingRect | ( | const vdc5_channel_t | ch, |
const vdc5_graphics_type_t | graphics_id, | ||
const vdc5_onoff_t | gr_arc_on, | ||
const vdc5_alpha_blending_rect_t *const | param | ||
) |
Sets registers for rectangle alpha blending.
- Parameters:
-
[in] ch : Channel [in] graphics_id : Graphics type ID [in] gr_arc_on : ON/OFF setting for alpha blending in a rectangular area [in] param : Setup parameter for alpha blending in a rectangular area
- Return values:
-
None
Definition at line 1656 of file r_vdc5_register.c.
void VDC5_ChangeReadProcess | ( | const vdc5_channel_t | ch, |
const vdc5_graphics_type_t | graphics_id, | ||
const vdc5_read_chg_t *const | param | ||
) |
Sets registers for data read change processing.
- Parameters:
-
[in] ch : Channel [in] graphics_id : Graphics type ID [in] param : Data read change parameter
- Return values:
-
None
Definition at line 1234 of file r_vdc5_register.c.
void VDC5_ChangeWriteProcess | ( | const vdc5_channel_t | ch, |
const vdc5_scaling_type_t | scaling_id, | ||
const vdc5_write_chg_t *const | param | ||
) |
Sets registers for data write change processing.
- Parameters:
-
[in] ch : Channel [in] scaling_id : Scaling type ID [in] param : Data write change parameter
- Return values:
-
None
Definition at line 1003 of file r_vdc5_register.c.
void VDC5_Chromakey | ( | const vdc5_channel_t | ch, |
const vdc5_graphics_type_t | graphics_id, | ||
const vdc5_onoff_t | gr_ck_on, | ||
const vdc5_chromakey_t *const | param | ||
) |
Sets registers for chroma-key.
- Parameters:
-
[in] ch : Channel [in] graphics_id : Graphics type ID [in] gr_ck_on : Chroma-key ON/OFF setting [in] param : Chroma-key setup parameter
- Return values:
-
None
Definition at line 1726 of file r_vdc5_register.c.
void VDC5_CLUT | ( | const vdc5_channel_t | ch, |
const vdc5_graphics_type_t | graphics_id, | ||
const vdc5_clut_t *const | param | ||
) |
Sets registers for CLUT.
- Parameters:
-
[in] ch : Channel [in] graphics_id : Graphics type ID [in] param : CLUT setup parameter
- Return values:
-
None
Definition at line 1776 of file r_vdc5_register.c.
void VDC5_DisplayCalibration | ( | const vdc5_channel_t | ch, |
const vdc5_disp_calibration_t *const | param | ||
) |
Sets registers for display calibration.
- Parameters:
-
[in] ch : Channel [in] param : Display calibration parameter
- Return values:
-
None
Definition at line 1819 of file r_vdc5_register.c.
void VDC5_DisplayOutput | ( | const vdc5_channel_t | ch, |
const vdc5_output_t *const | param | ||
) |
Sets registers for display output.
- Parameters:
-
[in] ch : Channel [in] param : Display output configuration parameter
- Return values:
-
None
Definition at line 710 of file r_vdc5_register.c.
void VDC5_GammaCorrection | ( | const vdc5_channel_t | ch, |
const vdc5_onoff_t | gam_on, | ||
const vdc5_gamma_correction_t *const | param | ||
) |
Sets registers for gamma correction.
- Parameters:
-
[in] ch : Channel [in] gam_on : Gamma correction ON/OFF setting [in] param : Gamma correction setup parameter
- Return values:
-
None
Definition at line 1878 of file r_vdc5_register.c.
void VDC5_ImageBlackStretch | ( | const vdc5_channel_t | ch, |
const vdc5_imgimprv_id_t | imgimprv_id, | ||
const vdc5_onoff_t | bkstr_on, | ||
const vdc5_black_t *const | param | ||
) |
Sets registers for black stretch.
- Parameters:
-
[in] ch : Channel [in] imgimprv_id : Image quality improver ID [in] bkstr_on : Black stretch ON/OFF setting [in] param : Black stretch setup parameter
- Return values:
-
None
Definition at line 1576 of file r_vdc5_register.c.
void VDC5_ImageColorMatrix | ( | const vdc5_channel_t | ch, |
const vdc5_color_matrix_t *const | param | ||
) |
Sets registers for color matrix.
- Parameters:
-
[in] ch : Channel [in] param : Color matrix setup parameter
- Return values:
-
None
Definition at line 1519 of file r_vdc5_register.c.
void VDC5_ImageEnhancement | ( | const vdc5_channel_t | ch, |
const vdc5_imgimprv_id_t | imgimprv_id, | ||
const vdc5_onoff_t | shp_h_on, | ||
const vdc5_enhance_sharp_t *const | sharp_param, | ||
const vdc5_onoff_t | lti_h_on, | ||
const vdc5_enhance_lti_t *const | lti_param, | ||
const vdc5_period_rect_t *const | enh_area | ||
) |
Sets registers for image enhancement processing.
- Parameters:
-
[in] ch : Channel [in] imgimprv_id : Image quality improver ID [in] shp_h_on : Sharpness ON/OFF setting [in] sharp_param : Sharpness setup parameter [in] lti_h_on : LTI ON/OFF setting [in] lti_param : LTI setup parameter [in] enh_area : Enhancer-enabled area setup parameter
- Return values:
-
None
Definition at line 1535 of file r_vdc5_register.c.
void VDC5_Initialize | ( | const vdc5_channel_t | ch, |
const vdc5_init_t *const | param | ||
) |
Sets registers for initialization.
- Parameters:
-
[in] ch : Channel [in] param : Initialization parameter
- Return values:
-
None
Definition at line 409 of file r_vdc5_register.c.
void VDC5_ReadDataControl | ( | const vdc5_channel_t | ch, |
const vdc5_graphics_type_t | graphics_id, | ||
const vdc5_read_t *const | param | ||
) |
Sets registers for data read control processing.
- Parameters:
-
[in] ch : Channel [in] graphics_id : Graphics type ID [in] param : Data read control parameter
- Return values:
-
None
Definition at line 1069 of file r_vdc5_register.c.
void VDC5_ReleaseDataControl | ( | const vdc5_channel_t | ch, |
const vdc5_layer_id_t | layer_id | ||
) |
Sets registers for data write/read control release processing.
- Parameters:
-
[in] ch : Channel [in] layer_id : Layer ID
- Return values:
-
None
Definition at line 1402 of file r_vdc5_register.c.
void VDC5_StartProcess | ( | const vdc5_channel_t | ch, |
const vdc5_layer_id_t | layer_id, | ||
const vdc5_start_t *const | param | ||
) |
Sets registers for data write/read start processing.
- Parameters:
-
[in] ch : Channel [in] layer_id : Layer ID [in] param : Data write/read start parameter
- Return values:
-
None
Definition at line 1315 of file r_vdc5_register.c.
void VDC5_StopProcess | ( | const vdc5_channel_t | ch, |
const vdc5_layer_id_t | layer_id | ||
) |
Sets registers for data write/read stop processing.
- Parameters:
-
[in] ch : Channel [in] layer_id : Layer ID
- Return values:
-
None
Definition at line 1361 of file r_vdc5_register.c.
void VDC5_SyncControl | ( | const vdc5_channel_t | ch, |
const vdc5_sync_ctrl_t *const | param | ||
) |
Sets registers for sync control.
- Parameters:
-
[in] ch : Channel [in] param : Sync signal control parameter
- Return values:
-
None
Definition at line 610 of file r_vdc5_register.c.
void VDC5_Terminate | ( | const vdc5_channel_t | ch ) |
Sets registers for termination.
- Parameters:
-
[in] ch : Channel
- Return values:
-
None
Definition at line 510 of file r_vdc5_register.c.
void VDC5_VideoInput | ( | const vdc5_channel_t | ch, |
const vdc5_input_t *const | param | ||
) |
Sets registers for video input.
- Parameters:
-
[in] ch : Channel [in] param : Video input setup parameter
- Return values:
-
None
Definition at line 547 of file r_vdc5_register.c.
void VDC5_VideoNoiseReduction | ( | const vdc5_channel_t | ch, |
const vdc5_onoff_t | nr1d_on, | ||
const vdc5_noise_reduction_t *const | param | ||
) |
Sets registers for noise reduction.
- Parameters:
-
[in] ch : Channel [in] nr1d_on : Noise reduction ON/OFF setting [in] param : Noise reduction setup parameter
- Return values:
-
None
Definition at line 1461 of file r_vdc5_register.c.
void VDC5_WriteDataControl | ( | const vdc5_channel_t | ch, |
const vdc5_scaling_type_t | scaling_id, | ||
const vdc5_write_t *const | param | ||
) |
Sets registers for data write control processing.
- Parameters:
-
[in] ch : Channel [in] scaling_id : Scaling type ID [in] param : Data write control parameter
- Return values:
-
None
Definition at line 845 of file r_vdc5_register.c.
static void Wait_200_usec | ( | void | ) | [static] |
Waits for 200 usec.
- Parameters:
-
[in] void
- Return values:
-
None
Definition at line 3776 of file r_vdc5_register.c.
Variable Documentation
const uint16_t colormtx_gain_adj[VDC5_COLORMTX_MODE_NUM][VDC5_COLORMTX_GAIN_NUM] [static] |
{ { (uint16_t)VDC5_COLORCONV_1TIMES_GAIN, 0, 0, 0, (uint16_t)VDC5_COLORCONV_1TIMES_GAIN, 0, 0, 0, (uint16_t)VDC5_COLORCONV_1TIMES_GAIN }, { (uint16_t)VDC5_COLORCONV_Y_G, (uint16_t)VDC5_COLORCONV_Y_B, (uint16_t)VDC5_COLORCONV_Y_R, (uint16_t)VDC5_COLORCONV_CB_G, (uint16_t)VDC5_COLORCONV_CB_B, (uint16_t)VDC5_COLORCONV_CB_R, (uint16_t)VDC5_COLORCONV_CR_G, (uint16_t)VDC5_COLORCONV_CR_B, (uint16_t)VDC5_COLORCONV_CR_R }, { (uint16_t)VDC5_COLORCONV_G_Y, (uint16_t)VDC5_COLORCONV_G_CB, (uint16_t)VDC5_COLORCONV_G_CR, (uint16_t)VDC5_COLORCONV_B_Y, (uint16_t)VDC5_COLORCONV_B_CB, (uint16_t)VDC5_COLORCONV_B_CR, (uint16_t)VDC5_COLORCONV_R_Y, (uint16_t)VDC5_COLORCONV_R_CB, (uint16_t)VDC5_COLORCONV_R_CR }, { (uint16_t)VDC5_COLORCONV_1TIMES_GAIN, 0, 0, 0, (uint16_t)VDC5_COLORCONV_1TIMES_GAIN, 0, 0, 0, (uint16_t)VDC5_COLORCONV_1TIMES_GAIN } }
Color matrix signal gain adjustment (GG, GB, GR, BG, BB, BR, RG, RB, and RR)
Definition at line 367 of file r_vdc5_register.c.
const uint16_t colormtx_offset_adj[VDC5_COLORMTX_OFFST_NUM] [static] |
{ (uint16_t)VDC5_COLORCONV_DC_OFFSET, (uint16_t)VDC5_COLORCONV_DC_OFFSET, (uint16_t)VDC5_COLORCONV_DC_OFFSET }
Color matrix offset (DC) adjustment (YG, B, and R)
Definition at line 363 of file r_vdc5_register.c.
Generated on Tue Jul 12 2022 15:08:47 by 1.7.2