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_vdec.h File Reference

r_vdec.h File Reference

VDEC driver API definitions. More...

Go to the source code of this file.

Data Structures

struct  vdec_active_period_t
struct  vdec_noise_rd_lpf_t
struct  vdec_sync_slicer_t
struct  vdec_horizontal_afc_t
struct  vdec_vcount_down_t
struct  vdec_agc_t
struct  vdec_peak_limiter_t
struct  vdec_sync_separation_t
struct  vdec_over_range_t
struct  vdec_yc_sep_ctrl_t
struct  vdec_chrfil_tap_t
struct  vdec_yc_separation_t
struct  vdec_chrmdec_ctrl_t
struct  vdec_burst_lock_t
struct  vdec_acc_t
struct  vdec_tint_ry_t
struct  vdec_chroma_decoding_t
struct  vdec_pedestal_clamp_t
struct  vdec_center_clamp_t
struct  vdec_noise_det_t
struct  vdec_degital_clamp_t
struct  vdec_output_t
struct  vdec_q_sync_sep_t
struct  vdec_q_agc_t
struct  vdec_q_chroma_dec_t
struct  vdec_q_digital_clamp_t

Enumerations

enum  vdec_error_t { VDEC_OK = 0, VDEC_ERR_CHANNEL, VDEC_ERR_PARAM, VDEC_ERR_NUM }
enum  vdec_channel_t { VDEC_CHANNEL_0 = 0, VDEC_CHANNEL_1, VDEC_CHANNEL_NUM }
enum  vdec_onoff_t { VDEC_OFF = 0, VDEC_ON = 1 }
enum  vdec_adc_vinsel_t { VDEC_ADC_VINSEL_VIN1 = 0, VDEC_ADC_VINSEL_VIN2, VDEC_ADC_VINSEL_NUM }
enum  vdec_lpfvsync_t {
  VDEC_LPF_VSYNC_NONE = 0, VDEC_LPF_VSYNC_0_94, VDEC_LPF_VSYNC_0_67, VDEC_LPF_VSYNC_0_54,
  VDEC_LPF_VSYNC_0_47, VDEC_LPF_VSYNC_0_34, VDEC_LPF_VSYNC_0_27, VDEC_LPF_VSYNC_0_23
}
enum  vdec_lpfhsync_t {
  VDEC_LPF_HSYNC_NONE = 0, VDEC_LPF_HSYNC_2_15, VDEC_LPF_HSYNC_1_88, VDEC_LPF_HSYNC_1_34,
  VDEC_LPF_HSYNC_1_07, VDEC_LPF_HSYNC_0_94, VDEC_LPF_HSYNC_0_67, VDEC_LPF_HSYNC_0_54
}
enum  vdec_velocityshift_h_t {
  VDEC_VELOCITY_SHIFT_1 = 0, VDEC_VELOCITY_SHIFT_2, VDEC_VELOCITY_SHIFT_4, VDEC_VELOCITY_SHIFT_8,
  VDEC_VELOCITY_SHIFT_16, VDEC_VELOCITY_SHIFT_32, VDEC_VELOCITY_SHIFT_64, VDEC_VELOCITY_SHIFT_128,
  VDEC_VELOCITY_SHIFT_256
}
enum  vdec_slicermode_t { VDEC_SLICE_MODE_MANULAL = 0, VDEC_SLICE_MODE_AUTO_25, VDEC_SLICE_MODE_AUTO_50, VDEC_SLICE_MODE_AUTO_75 }
enum  vdec_ssclipsel_t {
  VDEC_CLIP_LV_512 = 0, VDEC_CLIP_LV_546, VDEC_CLIP_LV_580, VDEC_CLIP_LV_614,
  VDEC_CLIP_LV_648, VDEC_CLIP_LV_682, VDEC_CLIP_LV_716, VDEC_CLIP_LV_750,
  VDEC_CLIP_LV_785, VDEC_CLIP_LV_819, VDEC_CLIP_LV_853, VDEC_CLIP_LV_887,
  VDEC_CLIP_LV_921, VDEC_CLIP_LV_955, VDEC_CLIP_LV_989, VDEC_CLIP_LV_1023
}
enum  vdec_hafcmode_t { VDEC_HAFCMD_FIX_PHST = 0, VDEC_HAFCMD_FIX_LGRD, VDEC_HAFCMD_AUTO_PHST, VDEC_HAFCMD_AUTO_LGRD }
enum  vdec_phdet_div_t {
  VDEC_PHDET_DIV_1_1 = 0, VDEC_PHDET_DIV_1_2, VDEC_PHDET_DIV_1_4, VDEC_PHDET_DIV_1_8,
  VDEC_PHDET_DIV_1_16, VDEC_PHDET_DIV_1_32
}
enum  vdec_vcddefault_t { VDEC_VCD_FRQ_AUTO = 0, VDEC_VCD_FRQ_50HZ, VDEC_VCD_FRQ_59_94HZ, VDEC_VCD_FRQ_60HZ }
enum  vdec_peaklevel_t { VDEC_PEAKLV_LIM_OFF = 0, VDEC_PEAKLV_1008, VDEC_PEAKLV_992, VDEC_PEAKLV_960 }
enum  vdec_peakratio_t { VDEC_PEAKRATIO_50 = 0, VDEC_PEAKRATIO_25, VDEC_PEAKRATIO_12_5, VDEC_PEAKRATIO_0 }
enum  vdec_lstg_bpfsel_t { VDEC_LSTG_BPFSEL_BYPASS = 0, VDEC_LSTG_BPFSEL_17TAP = 1 }
enum  vdec_fstg_bpfsel_t { VDEC_FSTG_BPFSEL_17TAP = 0, VDEC_FSTG_BPFSEL_9TAP = 1 }
enum  vdec_hfil_tap_sel_t { VDEC_HFIL_TAP_SEL_17TAP = 0, VDEC_HFIL_TAP_SEL_9TAP = 1 }
enum  vdec_filmix_ratio_t {
  VDEC_FILMIX_RATIO_0 = 0, VDEC_FILMIX_RATIO_12_5, VDEC_FILMIX_RATIO_25, VDEC_FILMIX_RATIO_37_5,
  VDEC_FILMIX_RATIO_50, VDEC_FILMIX_RATIO_62_5, VDEC_FILMIX_RATIO_75, VDEC_FILMIX_RATIO_87_5,
  VDEC_FILMIX_RATIO_100
}
enum  vdec_2dfil_mdsel_t { VDEC_2DFIL_MDSEL_BYPASS = 0, VDEC_2DFIL_MDSEL_CASCADE, VDEC_2DFIL_MDSEL_TAKEOFF }
enum  vdec_2d_fil_sel_t { VDEC_2D_FIL_SEL_BYPASS = 0, VDEC_2D_FIL_SEL_17TAP = 1 }
enum  vdec_color_sys_t {
  VDEC_COL_SYS_NTSC = 0, VDEC_COL_SYS_PAL, VDEC_COL_SYS_SECAM, VDEC_COL_SYS_NON,
  VDEC_COL_SYS_NUM
}
enum  vdec_demodmode_t { VDEC_DEMOD_MD_NO = 0, VDEC_DEMOD_MD_PAL = 2 }
enum  vdec_lockrange_t { VDEC_LOCK_RANGE_400HZ = 0, VDEC_LOCK_RANGE_800HZ, VDEC_LOCK_RANGE_1200HZ, VDEC_LOCK_RANGE_1600HZ }
enum  vdec_accmode_t { VDEC_ACC_MD_AUTO = 0, VDEC_ACC_MD_MANUAL = 1 }
enum  vdec_accmaxgain_t { VDEC_ACC_MAX_GAIN_6 = 0, VDEC_ACC_MAX_GAIN_8, VDEC_ACC_MAX_GAIN_12, VDEC_ACC_MAX_GAIN_16 }
enum  vdec_chrm_subgain_t { VDEC_CHRM_SB_GAIN_1 = 0, VDEC_CHRM_SB_GAIN_2, VDEC_CHRM_SB_GAIN_4, VDEC_CHRM_SB_GAIN_8 }
enum  vdec_dcpmode_t { VDEC_DCPMODE_MANUAL = 0, VDEC_DCPMODE_AUTO = 1 }
enum  vdec_acfinput_t { VDEC_ACFINPUT_Y = 0, VDEC_ACFINPUT_CB, VDEC_ACFINPUT_CR }
enum  vdec_answer_t { VDEC_NO = 0, VDEC_YES = 1 }
enum  vdec_lock_t { VDEC_UNLOCK = 0, VDEC_LOCK = 1 }
enum  vdec_fhmode_t { VDEC_FHMD_NORMAL = 0, VDEC_FHMD_MULTIPLIED = 1 }
enum  vdec_fvmode_t { VDEC_FVMD_50HZ = 0, VDEC_FVMD_60HZ = 1 }
enum  vdec_fscmode_t { VDEC_FSCMD_3_58 = 0, VDEC_FSCMD_4_43 = 1 }

Functions

vdec_error_t R_VDEC_Initialize (const vdec_channel_t ch, const vdec_adc_vinsel_t vinsel, void(*const init_func)(uint32_t), const uint32_t user_num)
 VDEC driver initialization.
vdec_error_t R_VDEC_Terminate (const vdec_channel_t ch, void(*const quit_func)(uint32_t), const uint32_t user_num)
 VDEC driver termination.
vdec_error_t R_VDEC_ActivePeriod (const vdec_channel_t ch, const vdec_active_period_t *const param)
 Active image period setup.
vdec_error_t R_VDEC_SyncSeparation (const vdec_channel_t ch, const vdec_sync_separation_t *const param)
 Sync separation processing.
vdec_error_t R_VDEC_YcSeparation (const vdec_channel_t ch, const vdec_yc_separation_t *const param)
 Y/C separation processing.
vdec_error_t R_VDEC_ChromaDecoding (const vdec_channel_t ch, const vdec_chroma_decoding_t *const param)
 Chroma decoding processing.
vdec_error_t R_VDEC_DigitalClamp (const vdec_channel_t ch, const vdec_degital_clamp_t *const param)
 Digital clamp processing.
vdec_error_t R_VDEC_Output (const vdec_channel_t ch, const vdec_output_t *const param)
 Output adjustment processing.
vdec_error_t R_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)
 VDEC information acquisition processing.

Detailed Description

VDEC driver API definitions.

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

Definition in file r_vdec.h.


Enumeration Type Documentation

Two-dimensional cascade filter select

Enumerator:
VDEC_2D_FIL_SEL_BYPASS 

Bypass

VDEC_2D_FIL_SEL_17TAP 

17 TAP

Definition at line 335 of file r_vdec.h.

Two-dimensional cascade/TAKE-OFF filter mode select

Enumerator:
VDEC_2DFIL_MDSEL_BYPASS 

Bypass

VDEC_2DFIL_MDSEL_CASCADE 

Cascade filter

VDEC_2DFIL_MDSEL_TAKEOFF 

TAKE-OFF filter

Definition at line 328 of file r_vdec.h.

Maximum ACC gain

Enumerator:
VDEC_ACC_MAX_GAIN_6 

6 times

VDEC_ACC_MAX_GAIN_8 

8 times

VDEC_ACC_MAX_GAIN_12 

12 times

VDEC_ACC_MAX_GAIN_16 

16 times

Definition at line 444 of file r_vdec.h.

ACC operating mode

Enumerator:
VDEC_ACC_MD_AUTO 

Auto gain

VDEC_ACC_MD_MANUAL 

Manual gain

Definition at line 439 of file r_vdec.h.

Video signal for autocorrelation function

Enumerator:
VDEC_ACFINPUT_Y 

Y signal

VDEC_ACFINPUT_CB 

Cb signal

VDEC_ACFINPUT_CR 

Cr signal

Definition at line 505 of file r_vdec.h.

Input pin control

Enumerator:
VDEC_ADC_VINSEL_VIN1 

VIN1 input

VDEC_ADC_VINSEL_VIN2 

VIN2 input

VDEC_ADC_VINSEL_NUM 

The number of input pins

Definition at line 79 of file r_vdec.h.

Answer

Enumerator:
VDEC_NO 

No

VDEC_YES 

Yes

Definition at line 539 of file r_vdec.h.

VDEC channel

Enumerator:
VDEC_CHANNEL_0 

Channel 0

VDEC_CHANNEL_1 

Channel 1

VDEC_CHANNEL_NUM 

The number of channels

Definition at line 65 of file r_vdec.h.

Chroma manual gain (sub)

Enumerator:
VDEC_CHRM_SB_GAIN_1 

1 time

VDEC_CHRM_SB_GAIN_2 

2 times

VDEC_CHRM_SB_GAIN_4 

4 times

VDEC_CHRM_SB_GAIN_8 

8 times

Definition at line 452 of file r_vdec.h.

Color system

Enumerator:
VDEC_COL_SYS_NTSC 

NTSC

VDEC_COL_SYS_PAL 

PAL

VDEC_COL_SYS_SECAM 

SECAM

VDEC_COL_SYS_NON 

Not specified/undetectable

VDEC_COL_SYS_NUM 

The number of color system settings

Definition at line 396 of file r_vdec.h.

Clamp level setting mode

Enumerator:
VDEC_DCPMODE_MANUAL 

Manual clamp level setting

VDEC_DCPMODE_AUTO 

Auto clamp level setting

Definition at line 487 of file r_vdec.h.

Averaging processing for pre-demodulated line

Enumerator:
VDEC_DEMOD_MD_NO 

No processing

VDEC_DEMOD_MD_PAL 

For PAL

Definition at line 404 of file r_vdec.h.

Error codes of the VDEC driver

Enumerator:
VDEC_OK 

Normal termination

VDEC_ERR_CHANNEL 

Invalid channel error

VDEC_ERR_PARAM 

Parameter error

VDEC_ERR_NUM 

The number of the error codes

Definition at line 57 of file r_vdec.h.

Speed detection result

Enumerator:
VDEC_FHMD_NORMAL 

Normal speed

VDEC_FHMD_MULTIPLIED 

Multiplied speed

Definition at line 549 of file r_vdec.h.

Mixing ratio of signals after passing filters

Enumerator:
VDEC_FILMIX_RATIO_0 

0%

VDEC_FILMIX_RATIO_12_5 

12.5%

VDEC_FILMIX_RATIO_25 

25%

VDEC_FILMIX_RATIO_37_5 

37.5%

VDEC_FILMIX_RATIO_50 

50%

VDEC_FILMIX_RATIO_62_5 

62.5%

VDEC_FILMIX_RATIO_75 

75%

VDEC_FILMIX_RATIO_87_5 

87.5%

VDEC_FILMIX_RATIO_100 

100%

Definition at line 315 of file r_vdec.h.

Color sub-carrier frequency detection result

Enumerator:
VDEC_FSCMD_3_58 

3.58 MHz

VDEC_FSCMD_4_43 

4.43 MHz

Definition at line 559 of file r_vdec.h.

Former-stage BPF select

Enumerator:
VDEC_FSTG_BPFSEL_17TAP 

17 TAP

VDEC_FSTG_BPFSEL_9TAP 

9 TAP

Definition at line 305 of file r_vdec.h.

Vertical countdown oscillation mode

Enumerator:
VDEC_FVMD_50HZ 

50 Hz

VDEC_FVMD_60HZ 

60 Hz

Definition at line 554 of file r_vdec.h.

Horizontal AFC VBI period operating mode

Enumerator:
VDEC_HAFCMD_FIX_PHST 

Loop gain is fixed and phase comparison is stopped during VBI period

VDEC_HAFCMD_FIX_LGRD 

Loop gain is fixed and loop gain is reduced during VBI period

VDEC_HAFCMD_AUTO_PHST 

Loop gain is automatically controlled and phase comparison is stopped during VBI period

VDEC_HAFCMD_AUTO_LGRD 

Loop gain is automatically controlled and loop gain is reduced during VBI period

Definition at line 191 of file r_vdec.h.

Horizontal filter and horizontal/vertical filter bandwidth switch signal

Enumerator:
VDEC_HFIL_TAP_SEL_17TAP 

17 TAP

VDEC_HFIL_TAP_SEL_9TAP 

9 TAP

Definition at line 310 of file r_vdec.h.

Lock state

Enumerator:
VDEC_UNLOCK 

Unlocked

VDEC_LOCK 

Locked

Definition at line 544 of file r_vdec.h.

Burst lock PLL lock range

Enumerator:
VDEC_LOCK_RANGE_400HZ 

+-400 Hz

VDEC_LOCK_RANGE_800HZ 

+-800 Hz

VDEC_LOCK_RANGE_1200HZ 

+-1200 Hz

VDEC_LOCK_RANGE_1600HZ 

+-1600 Hz

Definition at line 422 of file r_vdec.h.

LPF cutoff frequency before horizontal sync separation

Enumerator:
VDEC_LPF_HSYNC_NONE 

None

VDEC_LPF_HSYNC_2_15 

2.15 MHz

VDEC_LPF_HSYNC_1_88 

1.88 MHz

VDEC_LPF_HSYNC_1_34 

1.34 MHz

VDEC_LPF_HSYNC_1_07 

1.07 MHz

VDEC_LPF_HSYNC_0_94 

0.94 MHz

VDEC_LPF_HSYNC_0_67 

0.67 MHz

VDEC_LPF_HSYNC_0_54 

0.54 MHz

Definition at line 108 of file r_vdec.h.

LPF cutoff frequency before vertical sync separation

Enumerator:
VDEC_LPF_VSYNC_NONE 

None

VDEC_LPF_VSYNC_0_94 

0.94 MHz

VDEC_LPF_VSYNC_0_67 

0.67 MHz

VDEC_LPF_VSYNC_0_54 

0.54 MHz

VDEC_LPF_VSYNC_0_47 

0.47 MHz

VDEC_LPF_VSYNC_0_34 

0.34 MHz

VDEC_LPF_VSYNC_0_27 

0.27 MHz

VDEC_LPF_VSYNC_0_23 

0.23 MHz

Definition at line 96 of file r_vdec.h.

Latter-stage BPF select

Enumerator:
VDEC_LSTG_BPFSEL_BYPASS 

Bypass

VDEC_LSTG_BPFSEL_17TAP 

17 TAP

Definition at line 300 of file r_vdec.h.

On/Off

Enumerator:
VDEC_OFF 

Off

VDEC_ON 

On

Definition at line 72 of file r_vdec.h.

Peak luminance value to operate peak limiter

Enumerator:
VDEC_PEAKLV_LIM_OFF 

Limiter OFF

VDEC_PEAKLV_1008 

1008 LSB

VDEC_PEAKLV_992 

992 LSB

VDEC_PEAKLV_960 

960 LSB

Definition at line 253 of file r_vdec.h.

Maximum compression rate of peak limiter

Enumerator:
VDEC_PEAKRATIO_50 

Compressed up to 50%

VDEC_PEAKRATIO_25 

Compressed up to 25%

VDEC_PEAKRATIO_12_5 

Compressed up to 12.5%

VDEC_PEAKRATIO_0 

Compressed up to 0%

Definition at line 261 of file r_vdec.h.

Phase comparator feedback adjust for low sync signal lock stability

Enumerator:
VDEC_PHDET_DIV_1_1 

1/1

VDEC_PHDET_DIV_1_2 

1/2

VDEC_PHDET_DIV_1_4 

1/4

VDEC_PHDET_DIV_1_8 

1/8

VDEC_PHDET_DIV_1_16 

1/16

VDEC_PHDET_DIV_1_32 

1/32

Definition at line 202 of file r_vdec.h.

Auto-slice level setting for composite sync separation circuit

Enumerator:
VDEC_SLICE_MODE_MANULAL 

Manual setting

VDEC_SLICE_MODE_AUTO_25 

25% of sync depth (Auto)

VDEC_SLICE_MODE_AUTO_50 

50% of sync depth (Auto)

VDEC_SLICE_MODE_AUTO_75 

75% of sync depth (Auto)

Definition at line 138 of file r_vdec.h.

Clipping level

Enumerator:
VDEC_CLIP_LV_512 

512

VDEC_CLIP_LV_546 

546

VDEC_CLIP_LV_580 

580

VDEC_CLIP_LV_614 

614

VDEC_CLIP_LV_648 

648

VDEC_CLIP_LV_682 

682

VDEC_CLIP_LV_716 

716

VDEC_CLIP_LV_750 

750

VDEC_CLIP_LV_785 

785

VDEC_CLIP_LV_819 

819

VDEC_CLIP_LV_853 

853

VDEC_CLIP_LV_887 

887

VDEC_CLIP_LV_921 

921

VDEC_CLIP_LV_955 

955

VDEC_CLIP_LV_989 

989

VDEC_CLIP_LV_1023 

1023

Definition at line 146 of file r_vdec.h.

Vertical countdown center oscillation frequency

Enumerator:
VDEC_VCD_FRQ_AUTO 

Auto-detection

VDEC_VCD_FRQ_50HZ 

50.00 Hz

VDEC_VCD_FRQ_59_94HZ 

59.94 Hz

VDEC_VCD_FRQ_60HZ 

60.00 Hz

Definition at line 227 of file r_vdec.h.

Reference level operation speed control for composite sync separation (for Hsync signal)

Enumerator:
VDEC_VELOCITY_SHIFT_1 

x1

VDEC_VELOCITY_SHIFT_2 

x2

VDEC_VELOCITY_SHIFT_4 

x4

VDEC_VELOCITY_SHIFT_8 

x8

VDEC_VELOCITY_SHIFT_16 

x16

VDEC_VELOCITY_SHIFT_32 

x32

VDEC_VELOCITY_SHIFT_64 

x64

VDEC_VELOCITY_SHIFT_128 

x128

VDEC_VELOCITY_SHIFT_256 

x256

Definition at line 125 of file r_vdec.h.


Function Documentation

vdec_error_t R_VDEC_ActivePeriod ( const vdec_channel_t  ch,
const vdec_active_period_t *const   param 
)

Active image period setup.

Description:
This function configures the active image period.

Parameters:
[in]ch: Channel
[in]param: Active image period parameter
Return values:
Errorcode

Definition at line 133 of file r_vdec.c.

vdec_error_t R_VDEC_ChromaDecoding ( const vdec_channel_t  ch,
const vdec_chroma_decoding_t *const   param 
)

Chroma decoding processing.

Description:
This function performs the following processing:

  • Configures the color system detection.
  • Configures the BCO.
  • Configures the ACC/color killer.
  • Configures the TINT correction/R-Y axis correction.
    Parameters:
    [in]ch: Channel
    [in]param: Chroma decoding parameter
    Return values:
    Errorcode

Definition at line 230 of file r_vdec.c.

vdec_error_t R_VDEC_DigitalClamp ( const vdec_channel_t  ch,
const vdec_degital_clamp_t *const   param 
)

Digital clamp processing.

Description:
This function performs the following processing:

  • Configures the digital clamp control.
  • Configures the center clamp.
  • Configures the pedestal clamp.
  • Configures the noise detection control.
    Parameters:
    [in]ch: Channel
    [in]param: Digital clamp parameter
    Return values:
    Errorcode

Definition at line 262 of file r_vdec.c.

vdec_error_t R_VDEC_Initialize ( const vdec_channel_t  ch,
const vdec_adc_vinsel_t  vinsel,
void(*)(uint32_t)  init_func,
const uint32_t  user_num 
)

VDEC driver initialization.

Description:
This function performs the following processing:

  • Calls the user-defined function specified in init_func.
  • Sets up the input pins.
    Parameters:
    [in]ch: Channel
    [in]vinsel: Input pin control

    • VDEC_ADC_VINSEL_VIN1
    • VDEC_ADC_VINSEL_VIN2
    [in]init_func: Pointer to a user-defined function
    [in]user_num: User defined number
    Return values:
    Errorcode

Definition at line 67 of file r_vdec.c.

vdec_error_t R_VDEC_Output ( const vdec_channel_t  ch,
const vdec_output_t *const   param 
)

Output adjustment processing.

Description:
This function makes settings for output adjustment.

Parameters:
[in]ch: Channel
[in]param: Output adjustment parameter
Return values:
Errorcode

Definition at line 290 of file r_vdec.c.

vdec_error_t R_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 
)

VDEC information acquisition processing.

Description:
This gets the parameters of the VDEC modules. The parameters that can be obtained are listed below.

  • Sync separation parameters
  • AGC parameters
  • Chroma decoding parameters
  • Digital clamp parameters
    Parameters:
    [in]ch: Channel
    [out]q_sync_sep: Pointer to the place where the sync separation parameters are stored.
    [out]q_agc: Pointer to the place where the AGC parameters are stored.
    [out]q_chroma_dec: Pointer to the place where the chroma decoding parameters are stored.
    [out]q_digital_clamp: Pointer to the place where the digital clamp parameters are stored.
    Return values:
    Errorcode

Definition at line 325 of file r_vdec.c.

vdec_error_t R_VDEC_SyncSeparation ( const vdec_channel_t  ch,
const vdec_sync_separation_t *const   param 
)

Sync separation processing.

Description:
This function performs the following processing:

  • Configures the noise reduction LPF.
  • Configures the auto level control sync slicer.
  • Configures the horizontal AFC.
  • Configures the vertical count-down.
  • Configures the AGC.
  • Configures the peak limiter control.
    Parameters:
    [in]ch: Channel
    [in]param: Sync separation parameter
    Return values:
    Errorcode

Definition at line 167 of file r_vdec.c.

vdec_error_t R_VDEC_Terminate ( const vdec_channel_t  ch,
void(*)(uint32_t)  quit_func,
const uint32_t  user_num 
)

VDEC driver termination.

Description:
This function performs the following processing:

  • Calls the user-defined function specified in quit_func.
    Parameters:
    [in]ch: Channel
    [in]quit_func: Pointer to a user-defined function
    [in]user_num: User defined number
    Return values:
    Errorcode

Definition at line 105 of file r_vdec.c.

vdec_error_t R_VDEC_YcSeparation ( const vdec_channel_t  ch,
const vdec_yc_separation_t *const   param 
)

Y/C separation processing.

Description:
This function performs the following processing:

  • Configures the over-range control.
  • Configures the Y/C separation control.
  • Configures the chroma filter TAP coefficients for Y/C separation.
    Parameters:
    [in]ch: Channel
    [in]param: Y/C separation parameter
    Return values:
    Errorcode

Definition at line 198 of file r_vdec.c.