13.6. Clocked Video Input IP Software API
intel_vvp_cvi_init
- prototype:
-
int intel_vvp_cvi_init(intel_vvp_cvi_instance* instance, intel_vvp_core_base base);
- description:
-
Initialization function for a VVP CVI instance.
Attempts to initialize the fields of the CVI and its base core
- argument:
-
instance, pointer to the intel_vvp_ cvi _instance to initialize
base, the accessor for the core (on Nios this is a pointer to the base address of the core)
- return value:
-
kIntelVvpCoreOk success
kIntelVvpCoreVidErr if the vendor id of the core is not the IntelFPGA vendor ID.
kIntelVvpCorePidErr if the product id of the core is not the cvi product id
kIntelVvpCoreInstanceErr if the instance parameter is zero (null pointer)
intel_vvp_cvi_get_param_vid_pid
- prototype:
-
int intel_vvp_cvi_get_param_vid_pid(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
The product ID number
intel_vvp_cvi_get_param_version_number
- prototype:
-
int intel_vvp_cvi_get_param_version_number(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
The IP version number
intel_vvp_cvi_get_param_pip
- prototype:
-
int intel_vvp_cvi_get_param_pip(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
The number of pixels in parallel
intel_vvp_cvi_get_param_color_planes
- prototype:
-
int intel_vvp_cvi_get_param_color_planes(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
The number of color planes
intel_vvp_cvi_get_param_bps
- prototype:
-
int intel_vvp_cvi_get_param_bps(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
The number of bits per sample
intel_vvp_cvi_get_param_tready_present
- prototype:
-
int intel_vvp_cvi_get_param_tready_present(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
1 if the TREADY signal is present on the input interface, otherwise the conduit is not present
intel_vvp_cvi_get_param_line_buffer_depth
- prototype:
-
int intel_vvp_cvi_get_param_line_buffer_depth(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
The maximum depth of the output video line buffer
intel_vvp_cvi_get_param_extended_video_metrics_enabled
- prototype:
-
int intel_vvp_cvi_get_param_extended_video_metrics_enabled(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
1 if the extended video metric logic was included during build-time
intel_vvp_cvi_get_param_clk_freq_out
- prototype:
-
int intel_vvp_cvi_get_param_clk_freq_out(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
The output video frequency in Hz
intel_vvp_cvi_enable_go
- prototype:
-
int intel_vvp_cvi_enable_go(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_disable_go
- prototype:
-
int intel_vvp_cvi_disable_go(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_get_go
- prototype:
-
uint16_t intel_vvp_cvi_get_go(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the go bit
intel_vvp_cvi_enable_status_update_interrupt
- prototype:
-
int intel_vvp_cvi_enable_status_update_interrupt(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_disable_status_update_interrupt
- prototype:
-
int intel_vvp_cvi_disable_status_update_interrupt(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_get_disable_status_update_interrupt
- prototype:
-
uint16_t intel_vvp_cvi_get_status_update_interrupt(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the status_update_interrupt bit
intel_vvp_cvi_enable_end_of_field_frame_interrupt
- prototype:
-
int intel_vvp_cvi_enable_end_of_field_frame_interrupt(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_disable_end_of_field_frame_interrupt
- prototype:
-
int intel_vvp_cvi_disable_end_of_field_frame_interrupt(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_get_end_of_field_frame_interrupt
- prototype:
-
uint16_t intel_vvp_cvi_get_end_of_field_frame_interrupt(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the end_of_field_frame_interrupt bit
intel_vvp_cvi_enable_frame_cleaner
- prototype:
-
int intel_vvp_cvi_enable_frame_cleaner(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_disable_frame_cleaner
- prototype:
-
int intel_vvp_cvi_disable_frame_cleaner(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_get_frame_cleaner
- prototype:
-
uint16_t intel_vvp_cvi_get_frame_cleaner(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the frame_cleaner bit
intel_vvp_cvi_enable_auto_polarity_detection
- prototype:
-
int intel_vvp_cvi_enable_auto_polarity_detection(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_disable_auto_polarity_detection
- prototype:
-
int intel_vvp_cvi_disable_auto_polarity_detection(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_get_auto_polarity_detection
- prototype:
-
uint16_t intel_vvp_cvi_get_auto_polarity_detection(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the auto_polarity_detection bit
intel_vvp_cvi_set_manual_vsync_polarity_high
- prototype:
-
int intel_vvp_cvi_set_manual_vsync_polarity_high(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_set_manual_vsync_polarity_low
- prototype:
-
int intel_vvp_cvi_set_manual_vsync_polarity_low(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_get_manual_vsync_polarity
- prototype:
-
uint16_t intel_vvp_cvi_get_manual_vsync_polarity(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the manual_vsync_polarity bit
intel_vvp_cvi_set_manual_hsync_polarity_high
- prototype:
-
int intel_vvp_cvi_set_manual_hsync_polarity_high(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_set_manual_hsync_polarity_low
- prototype:
-
int intel_vvp_cvi_set_manual_hsync_polarity_low(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_get_manual_hsync_polarity
- prototype:
-
uint16_t intel_vvp_cvi_get_manual_hsync_polarity(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the manual_hsync_polarity bit
intel_vvp_cvi_is_producing_data
- prototype:
-
bool intel_vvp_cvi_is_producing_data(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
1 if the bit is asserted, otherwise 0
intel_vvp_cvi_is_interlaced
- prototype:
-
bool intel_vvp_cvi_is_interlaced(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
1 if the bit is asserted, otherwise 0
intel_vvp_cvi_is_blank_timing
- prototype:
-
bool intel_vvp_cvi_is_blank_timing(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
1 if the bit is asserted, otherwise 0
intel_vvp_cvi_is_overflowed
- prototype:
-
bool intel_vvp_cvi_is_overflowed(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
1 if the bit is asserted, otherwise 0
intel_vvp_cvi_is_internal_locked_high
- prototype:
-
bool intel_vvp_cvi_is_internal_locked_high(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
1 if the bit is asserted, otherwise 0
intel_vvp_cvi_is_external_locked_high
- prototype:
-
bool intel_vvp_cvi_is_external_locked_high(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
1 if the bit is asserted, otherwise 0
intel_vvp_cvi_is_picture_drop
- prototype:
-
bool intel_vvp_cvi_is_picture_drop(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
1 if the bit is asserted, otherwise 0
intel_vvp_cvi_is_vsync_high
- prototype:
-
bool intel_vvp_cvi_is_vsync_high(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
1 if the bit is asserted, otherwise 0
intel_vvp_cvi_is_hsync_high
- prototype:
-
bool intel_vvp_cvi_is_hsync_high(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
1 if the bit is asserted, otherwise 0
intel_vvp_cvi_clear_status_update_interrupt
- prototype:
-
int intel_vvp_cvi_clear_status_update_interrupt(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_get_status_update_interrupt
- prototype:
-
int intel_vvp_cvi_get_status_update_interrupt(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the status_update_interrupt bit
intel_vvp_cvi_clear_end_of_field_interrupt
- prototype:
-
int intel_vvp_cvi_clear_end_of_field_interrupt(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_get_end_of_field_interrupt
- prototype:
-
uint16_t intel_vvp_cvi_get_end_of_field_interrupt(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the end_of_field_interrupt bit
intel_vvp_cvi_get_total_sample_count
- prototype:
-
uint16_t intel_vvp_cvi_get_total_sample_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the total_sample_count register field
intel_vvp_cvi_get_active_sample_count
- prototype:
-
uint16_t intel_vvp_cvi_get_active_sample_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the active_sample_count register field
intel_vvp_cvi_get_active_line_count_f0
- prototype:
-
uint16_t intel_vvp_cvi_get_active_line_count_f0(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the active_line_count_f0 register field
intel_vvp_cvi_get_active_line_count_f1
- prototype:
-
uint16_t intel_vvp_cvi_get_active_line_count_f1(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the active_line_count_f1 register field
intel_vvp_cvi_get_total_line_count_f0
- prototype:
-
uint16_t intel_vvp_cvi_get_total_line_count_f0(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the total_line_count_f0 register field
intel_vvp_cvi_get_total_line_count_f1
- prototype:
-
uint16_t intel_vvp_cvi_get_total_line_count_f1(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the total_line_count_f1 register field
intel_vvp_cvi_get_reference_height_count
- prototype:
-
uint16_t intel_vvp_cvi_get_reference_height_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the reference_height_count register field
intel_vvp_cvi_get_reference_width_count
- prototype:
-
uint16_t intel_vvp_cvi_get_reference_width_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the reference_width_count register field
intel_vvp_cvi_get_reference_frames_count
- prototype:
-
uint16_t intel_vvp_cvi_get_reference_frames_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the reference_frame_count register field
intel_vvp_cvi_get_reference_lines_count
- prototype:
-
uint16_t intel_vvp_cvi_get_reference_lines_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the reference_lines_count register field
intel_vvp_cvi_get_clk_in_freq_count
- prototype:
-
uint16_t intel_vvp_cvi_get_clk_in_freq_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the clk_in_freq_count register field
intel_vvp_cvi_get_tpg_comp4
- prototype:
-
uint16_t intel_vvp_cvi_get_tpg_comp4(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the tpg_comp4 register field
intel_vvp_cvi_get_tpg_comp3
- prototype:
-
uint16_t intel_vvp_cvi_get_tpg_comp3(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the tpg_comp3 register field
intel_vvp_cvi_get_tpg_comp2
- prototype:
-
uint16_t intel_vvp_cvi_get_tpg_comp2(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the tpg_comp2 register field
intel_vvp_cvi_get_tpg_comp1
- prototype:
-
uint16_t intel_vvp_cvi_get_tpg_comp1(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the tpg_comp1 register field
intel_vvp_cvi_get_total_fr_pixels_per_frames_count
- prototype:
-
uint16_t intel_vvp_cvi_get_total_fr_pixels_per_frames_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the total_fr_pixels_per_frames_count register field
intel_vvp_cvi_get_total_active_pixels_per_frames_count
- prototype:
-
uint16_t intel_vvp_cvi_get_total_active_pixels_per_frames_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the total_active_pixels_per_frames_count register field
intel_vvp_cvi_get_fr_blanking_pixels_count
- prototype:
-
uint16_t intel_vvp_cvi_get_fr_blanking_pixels_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the fr_blanking_pixels_count register field
intel_vvp_cvi_get_fr_blanking_lines_count
- prototype:
-
uint16_t intel_vvp_cvi_get_fr_blanking_lines_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the fr_blanking_lines_count register field
intel_vvp_cvi_get_hpulse_count
- prototype:
-
uint16_t intel_vvp_cvi_get_hpulse_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the hpulse_count register field
intel_vvp_cvi_get_hfp_count
- prototype:
-
uint16_t intel_vvp_cvi_get_hfp_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the hfp_count register field
intel_vvp_cvi_get_hbp_count
- prototype:
-
uint16_t intel_vvp_cvi_get_hbp_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the hbp_count register field
intel_vvp_cvi_get_f0_vfp_count
- prototype:
-
uint16_t intel_vvp_cvi_get_f0_vfp_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the f0_vfp_count register field
intel_vvp_cvi_get_f1_vfp_count
- prototype:
-
uint16_t intel_vvp_cvi_get_f1_vfp_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the f1_vfp_count register field
intel_vvp_cvi_get_f0_vpulse_count
- prototype:
-
uint16_t intel_vvp_cvi_get_f0_vpulse_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the f0_vpulse_count register field
intel_vvp_cvi_get_f1_vpulse_count
- prototype:
-
uint16_t intel_vvp_cvi_get_f1_vpulse_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the f1_vpulse_count register field
intel_vvp_cvi_get_f0_vbp_count
- prototype:
-
uint16_t intel_vvp_cvi_get_f0_vbp_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the f0_vbp_count register field
intel_vvp_cvi_get_f1_vbp_count
- prototype:
-
uint16_t intel_vvp_cvi_get_f1_vbp_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the f1_vbp_count register field
intel_vvp_cvi_get_hpulse_ref_count
- prototype:
-
uint16_t intel_vvp_cvi_get_hpulse_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the hpulse_count register field
intel_vvp_cvi_get_hfp_ref_count
- prototype:
-
uint16_t intel_vvp_cvi_get_hfp_ref_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the hfp_ref_count register field
intel_vvp_cvi_get_hbp_ref_count
- prototype:
-
uint16_t intel_vvp_cvi_get_hbp_ref_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the hbp_ref_count register field
intel_vvp_cvi_get_f0_vfp_ref_count
- prototype:
-
uint16_t intel_vvp_cvi_get_f0_vfp_ref_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the f0_vfp_ref_count register field
intel_vvp_cvi_get_f1_vfp_ref_count
- prototype:
-
uint16_t intel_vvp_cvi_get_f1_vfp_ref_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the f1_vfp_ref_count register field
intel_vvp_cvi_get_f0_vpulse_ref_count
- prototype:
-
uint16_t intel_vvp_cvi_get_f0_vpulse_ref_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the f0_vpulse_ref_count register field
intel_vvp_cvi_get_f1_vpulse_ref_count
- prototype:
-
uint16_t intel_vvp_cvi_get_f1_vpulse_ref_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the f1_vpulse_ref_count register field
intel_vvp_cvi_get_f0_vbp_ref_count
- prototype:
-
uint16_t intel_vvp_cvi_get_f0_vbp_ref_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the f0_vbp_ref_count register field
intel_vvp_cvi_get_f1_vbp_ref_count
- prototype:
-
uint16_t intel_vvp_cvi_get_f1_vbp_ref_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the f1_vbp_ref_count register field
intel_vvp_cvi_get_input_freq_mhz
- prototype:
-
float intel_vvp_cvi_get_input_freq_mhz(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of the clock input frequency value
intel_vvp_cvi_get_fps
- prototype:
-
float intel_vvp_cvi_get_fps(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
the current value of number of frames per seconds
intel_vvp_cvi_set_reference_height_count
- prototype:
-
int intel_vvp_cvi_set_reference_height_count(intel_vvp_cvi_instance* instance, uint16_t in_val);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
in_val, the reference value for the output height counter
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_set_reference_width_count
- prototype:
-
int intel_vvp_cvi_set_reference_width_count(intel_vvp_cvi_instance* instance, uint16_t in_val);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
in_val, the reference value for the output width counter
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_set_reference_frames_count
- prototype:
-
int intel_vvp_cvi_set_reference_frames_count(intel_vvp_cvi_instance* instance, uint16_t in_val);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
in_val, the reference value for the output frame counter
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_set_reference_lines_count
- prototype:
-
int intel_vvp_cvi_set_reference_lines_count(intel_vvp_cvi_instance* instance, uint16_t in_val);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
in_val, the reference value for the output line counter
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_set_tpg_comp4
- prototype:
-
int intel_vvp_cvi_set_tpg_comp4(intel_vvp_cvi_instance* instance, uint16_t in_val);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
in_val, the pixel value for color plane # 4
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_set_tpg_comp3
- prototype:
-
int intel_vvp_cvi_set_tpg_comp3(intel_vvp_cvi_instance* instance, uint16_t in_val);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
in_val, the pixel value for color plane # 3
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_set_tpg_comp2
- prototype:
-
int intel_vvp_cvi_set_tpg_comp2(intel_vvp_cvi_instance* instance, uint16_t in_val);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
in_val, the pixel value for color plane # 2
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_set_tpg_comp1
- prototype:
-
int intel_vvp_cvi_set_tpg_comp1(intel_vvp_cvi_instance* instance, uint16_t in_val);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
in_val, the pixel value for color plane # 1
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_set_hpulse_ref_count
- prototype:
-
intel_vvp_cvi_set_hpulse_ref_count(intel_vvp_cvi_instance* instance, uint16_t in_val);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
in_val, the reference value for the output hpulse counter
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_set_hfp_ref_count
- prototype:
-
intel_vvp_cvi_set_hfp_ref_count(intel_vvp_cvi_instance* instance, uint16_t in_val);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
in_val, the reference value for the output hfp counter
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_set_hbp_ref_count
- prototype:
-
intel_vvp_cvi_set_hbp_ref_count(intel_vvp_cvi_instance* instance, uint16_t in_val);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
in_val, the reference value for the output hbp counter
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_set_f0_vfp_ref_count
- prototype:
-
intel_vvp_cvi_set_f0_vfp_ref_count(intel_vvp_cvi_instance* instance, uint16_t in_val);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
in_val, the reference value for the output f0_vfp counter
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_set_f1_vfp_ref_count
- prototype:
-
intel_vvp_cvi_set_f1_vfp_ref_count(intel_vvp_cvi_instance* instance, uint16_t in_val);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
in_val, the reference value for the output f1_vfp counter
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_set_f0_vpulse_ref_count
- prototype:
-
intel_vvp_cvi_set_f0_vpulse_ref_count(intel_vvp_cvi_instance* instance, uint16_t in_val);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
in_val, the reference value for the output f0_vpulse counter
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_set_f1_vpulse_ref_count
- prototype:
-
intel_vvp_cvi_set_f1_vpulse_ref_count(intel_vvp_cvi_instance* instance, uint16_t in_val);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
in_val, the reference value for the output f1_vpulse counter
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_set_f0_vbp_ref_count
- prototype:
-
intel_vvp_cvi_set_f0_vbp_ref_count(intel_vvp_cvi_instance* instance, uint16_t in_val);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
in_val, the reference value for the output f0_vbp counter
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
intel_vvp_cvi_set_f1_vbp_ref_count
- prototype:
-
intel_vvp_cvi_set_f1_vbp_ref_count(intel_vvp_cvi_instance* instance, uint16_t in_val);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
in_val, the reference value for the output f1_vbp counter
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
int intel_vvp_cvi_set_field_ref_cnt
- prototype:
-
int intel_vvp_cvi_set_field_ref_cnt(intel_vvp_cvi_instance* instance, uint16_t in_val);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
in_val, the reference value for the output f1_vbp counter
- return value:
-
if success kIntelVvpCviOk, otherwise kIntelVvpCviInstanceErr
uint16_t intel_vvp_cvi_get_field_ref_cnt
- prototype:
-
uint16_t intel_vvp_cvi_get_field_ref_cnt(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
The current value of the field reference counter
bool intel_vvp_cvi_is_vid_in_clk_stopped
- prototype:
-
bool intel_vvp_cvi_is_vid_in_clk_stopped(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
1 if the bit is asserted, otherwise 0
bool intel_vvp_cvi_is_fr_field_high
- prototype:
-
bool intel_vvp_cvi_is_fr_field_high(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
1 if the bit is asserted, otherwise 0
uint16_t intel_vvp_cvi_get_active_total_line_count
- prototype:
-
uint16_t intel_vvp_cvi_get_active_total_line_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
The current value of the number of active lines per frame
uint16_t intel_vvp_cvi_get_f1_fps_count
- prototype:
-
uint16_t intel_vvp_cvi_get_f1_fps_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
The current value of the frames per second for field 0
uint16_t intel_vvp_cvi_get_f1_fps_count
- prototype:
-
uint16_t intel_vvp_cvi_get_f1_fps_count(intel_vvp_cvi_instance* instance);
- argument:
-
instance, pointer to the intel_vvp_cvi_instance
- return value:
-
The current value of the frames per second for field 0