Video library for GR-PEACH

Dependents:   Trace_Program2 GR-PEACH_Camera_in_barcode GR-PEACH_LCD_sample GR-PEACH_LCD_4_3inch_sample ... more

Embed: (wiki syntax)

« Back to documentation index

r_vdc5_register.h File Reference

r_vdc5_register.h File Reference

VDC5 driver register setup definitions. More...

Go to the source code of this file.

Data Structures

struct  vdc5_regaddr_input_ctrl_t
struct  vdc5_regaddr_scaler_t
struct  vdc5_regaddr_img_qlty_imp_t
struct  vdc5_regaddr_color_matrix_t
struct  vdc5_regaddr_img_synthesizer_t
struct  vdc5_regaddr_gamma_t
struct  vdc5_regaddr_output_ctrl_t
struct  vdc5_regaddr_system_ctrl_t
struct  vdc5_regaddr_lvds_t

Functions

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.
void VDC5_Int_Disable (const vdc5_channel_t ch)
 Disables all VDC5 interrupts.
void VDC5_Int_SetInterrupt (const vdc5_channel_t ch, const vdc5_int_t *const param)
 Enables/disables the specified VDC5 interrupt.

Detailed Description

VDC5 driver register setup definitions.

Version:
1.00
Rev:
199
Date:
2014-05-23 16:33:52 +0900#

Definition in file r_vdc5_register.h.


Function Documentation

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_Int_Disable ( const vdc5_channel_t  ch )

Disables all VDC5 interrupts.

Parameters:
[in]ch: Channel
Return values:
None

Definition at line 215 of file r_vdc5_interrupt.c.

void VDC5_Int_SetInterrupt ( const vdc5_channel_t  ch,
const vdc5_int_t *const   param 
)

Enables/disables the specified VDC5 interrupt.

Parameters:
[in]ch: Channel
[in]param: Interrupt callback setup parameter
Return values:
None

Definition at line 238 of file r_vdc5_interrupt.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.