Video library for GR-PEACH
Dependents: Trace_Program2 GR-PEACH_Camera_in_barcode GR-PEACH_LCD_sample GR-PEACH_LCD_4_3inch_sample ... more
r_vdec_register.c File Reference
VDEC driver register setup processing. More...
Go to the source code of this file.
Functions | |
static void | NoiseReductionLPF (const vdec_reg_address_t *const vdec_reg, const vdec_noise_rd_lpf_t *const p_noise_rd_lpf) |
Sets registers for noise reduction LPF. | |
static void | SyncSlicer (const vdec_reg_address_t *const vdec_reg, const vdec_sync_slicer_t *const p_sync_slicer) |
Sets registers for auto level control sync slicer. | |
static void | HorizontalAFC (const vdec_reg_address_t *const vdec_reg, const vdec_horizontal_afc_t *const p_horizontal_afc) |
Sets registers for horizontal AFC. | |
static void | VerticalCountdown (const vdec_reg_address_t *const vdec_reg, const vdec_vcount_down_t *const p_vcount_down) |
Sets registers for vertical count-down. | |
static void | AgcPga (const vdec_reg_address_t *const vdec_reg, const vdec_agc_t *const p_agc) |
Sets registers for AGC/PGA. | |
static void | PeakLimiterControl (const vdec_reg_address_t *const vdec_reg, const vdec_peak_limiter_t *const p_peak_limiter) |
Sets registers for peak limiter control. | |
static void | OverRangeControl (const vdec_reg_address_t *const vdec_reg, const vdec_over_range_t *const p_over_range) |
Sets registers for over-range control. | |
static void | YcSeparationControl (const vdec_reg_address_t *const vdec_reg, const vdec_yc_sep_ctrl_t *const p_yc_sep_ctrl) |
Sets registers for Y/C separation control. | |
static void | FilterTAPsCoefficient (volatile uint16_t *const *fil_reg_address, const vdec_chrfil_tap_t *const fil2_2d) |
Sets registers for chroma filter TAP coefficient. | |
void | VDEC_Initialize (const vdec_channel_t ch, const vdec_adc_vinsel_t vinsel) |
Sets registers for initialization. | |
void | VDEC_ActivePeriod (const vdec_channel_t ch, const vdec_active_period_t *const param) |
Sets registers for active image period. | |
void | VDEC_SyncSeparation (const vdec_channel_t ch, const vdec_sync_separation_t *const param) |
Sets registers for sync separation. | |
void | VDEC_YcSeparation (const vdec_channel_t ch, const vdec_yc_separation_t *const param) |
Sets registers for Y/C separation. | |
void | VDEC_ChromaDecoding (const vdec_channel_t ch, const vdec_chroma_decoding_t *const param) |
Sets registers for chroma decoding. | |
void | VDEC_DigitalClamp (const vdec_channel_t ch, const vdec_degital_clamp_t *const param) |
Sets registers for digital clamp. | |
void | VDEC_Output (const vdec_channel_t ch, const vdec_output_t *const param) |
Sets registers for output adjustment. | |
void | VDEC_Query (const vdec_channel_t ch, vdec_q_sync_sep_t *const q_sync_sep, vdec_q_agc_t *const q_agc, vdec_q_chroma_dec_t *const q_chroma_dec, vdec_q_digital_clamp_t *const q_digital_clamp) |
Query VDEC parameters. |
Detailed Description
VDEC driver register setup processing.
- Version:
- 1.00
- Rev:
- 199
- Date:
- 2014-05-23 16:33:52 +0900#
Definition in file r_vdec_register.c.
Function Documentation
static void AgcPga | ( | const vdec_reg_address_t *const | vdec_reg, |
const vdec_agc_t *const | p_agc | ||
) | [static] |
Sets registers for AGC/PGA.
- Parameters:
-
[in] vdec_reg : VDEC registers [in] p_agc : AGC/PGA parameter
- Return values:
-
None
Definition at line 730 of file r_vdec_register.c.
static void FilterTAPsCoefficient | ( | volatile uint16_t *const * | fil_reg_address, |
const vdec_chrfil_tap_t *const | fil2_2d | ||
) | [static] |
Sets registers for chroma filter TAP coefficient.
- Parameters:
-
[in] fil_reg_address : 2D filter TAP coefficient registers [in] fil2_2d : Chroma filter TAP coefficient for Y/C separation
- Return values:
-
None
Definition at line 958 of file r_vdec_register.c.
static void HorizontalAFC | ( | const vdec_reg_address_t *const | vdec_reg, |
const vdec_horizontal_afc_t *const | p_horizontal_afc | ||
) | [static] |
Sets registers for horizontal AFC.
- Parameters:
-
[in] vdec_reg : VDEC registers [in] p_horizontal_afc : Horizontal AFC parameter
- Return values:
-
None
Definition at line 648 of file r_vdec_register.c.
static void NoiseReductionLPF | ( | const vdec_reg_address_t *const | vdec_reg, |
const vdec_noise_rd_lpf_t *const | p_noise_rd_lpf | ||
) | [static] |
Sets registers for noise reduction LPF.
- Parameters:
-
[in] vdec_reg : VDEC registers [in] p_noise_rd_lpf : Noise reduction LPF parameter
- Return values:
-
None
Definition at line 569 of file r_vdec_register.c.
static void OverRangeControl | ( | const vdec_reg_address_t *const | vdec_reg, |
const vdec_over_range_t *const | p_over_range | ||
) | [static] |
Sets registers for over-range control.
- Parameters:
-
[in] vdec_reg : VDEC registers [in] p_over_range : Over-range control parameter
- Return values:
-
None
Definition at line 811 of file r_vdec_register.c.
static void PeakLimiterControl | ( | const vdec_reg_address_t *const | vdec_reg, |
const vdec_peak_limiter_t *const | p_peak_limiter | ||
) | [static] |
Sets registers for peak limiter control.
- Parameters:
-
[in] vdec_reg : VDEC registers [in] p_peak_limiter : Peak limiter control parameter
- Return values:
-
None
Definition at line 781 of file r_vdec_register.c.
static void SyncSlicer | ( | const vdec_reg_address_t *const | vdec_reg, |
const vdec_sync_slicer_t *const | p_sync_slicer | ||
) | [static] |
Sets registers for auto level control sync slicer.
- Parameters:
-
[in] vdec_reg : VDEC registers [in] p_sync_slicer : Auto level control sync slicer parameter
- Return values:
-
None
Definition at line 594 of file r_vdec_register.c.
void VDEC_ActivePeriod | ( | const vdec_channel_t | ch, |
const vdec_active_period_t *const | param | ||
) |
Sets registers for active image period.
- Parameters:
-
[in] ch : Channel [in] param : Active image period parameter
- Return values:
-
None
Definition at line 157 of file r_vdec_register.c.
void VDEC_ChromaDecoding | ( | const vdec_channel_t | ch, |
const vdec_chroma_decoding_t *const | param | ||
) |
Sets registers for chroma decoding.
- Parameters:
-
[in] ch : Channel [in] param : Chroma decoding parameter
- Return values:
-
None
Definition at line 237 of file r_vdec_register.c.
void VDEC_DigitalClamp | ( | const vdec_channel_t | ch, |
const vdec_degital_clamp_t *const | param | ||
) |
Sets registers for digital clamp.
- Parameters:
-
[in] ch : Channel [in] param : Digital clamp parameter
- Return values:
-
None
Definition at line 350 of file r_vdec_register.c.
void VDEC_Initialize | ( | const vdec_channel_t | ch, |
const vdec_adc_vinsel_t | vinsel | ||
) |
Sets registers for initialization.
- Parameters:
-
[in] ch : Channel [in] vinsel : Input pin control
- Return values:
-
None
Definition at line 133 of file r_vdec_register.c.
void VDEC_Output | ( | const vdec_channel_t | ch, |
const vdec_output_t *const | param | ||
) |
Sets registers for output adjustment.
- Parameters:
-
[in] ch : Channel [in] param : Output adjustment parameter
- Return values:
-
None
Definition at line 434 of file r_vdec_register.c.
void VDEC_Query | ( | const vdec_channel_t | ch, |
vdec_q_sync_sep_t *const | q_sync_sep, | ||
vdec_q_agc_t *const | q_agc, | ||
vdec_q_chroma_dec_t *const | q_chroma_dec, | ||
vdec_q_digital_clamp_t *const | q_digital_clamp | ||
) |
Query VDEC parameters.
- Parameters:
-
[in] ch : Channel [out] q_sync_sep : Sync separation parameters [out] q_agc : Agc parameters [out] q_chroma_dec : Chroma decoding parameters [out] q_digital_clamp : Digital clamp parameters
- Return values:
-
None
Definition at line 457 of file r_vdec_register.c.
void VDEC_SyncSeparation | ( | const vdec_channel_t | ch, |
const vdec_sync_separation_t *const | param | ||
) |
Sets registers for sync separation.
- Parameters:
-
[in] ch : Channel [in] param : Sync separation parameter
- Return values:
-
None
Definition at line 180 of file r_vdec_register.c.
void VDEC_YcSeparation | ( | const vdec_channel_t | ch, |
const vdec_yc_separation_t *const | param | ||
) |
Sets registers for Y/C separation.
- Parameters:
-
[in] ch : Channel [in] param : Y/C separation parameter
- Return values:
-
None
Definition at line 208 of file r_vdec_register.c.
static void VerticalCountdown | ( | const vdec_reg_address_t *const | vdec_reg, |
const vdec_vcount_down_t *const | p_vcount_down | ||
) | [static] |
Sets registers for vertical count-down.
- Parameters:
-
[in] vdec_reg : VDEC registers [in] p_vcount_down : Vertical count-down parameter
- Return values:
-
None
Definition at line 699 of file r_vdec_register.c.
static void YcSeparationControl | ( | const vdec_reg_address_t *const | vdec_reg, |
const vdec_yc_sep_ctrl_t *const | p_yc_sep_ctrl | ||
) | [static] |
Sets registers for Y/C separation control.
- Parameters:
-
[in] vdec_reg : VDEC registers [in] p_yc_sep_ctrl : Y/C separation control parameter
- Return values:
-
None
Definition at line 849 of file r_vdec_register.c.
Generated on Tue Jul 12 2022 15:08:47 by 1.7.2