TIOVX User Guide

The output config data structure used by the TIVX_KERNEL_VPAC_MSC kernel. More...

#include <hwa_vpac_msc.h>

Data Fields

uint32_t signed_data
 
uint32_t filter_mode
 
uint32_t coef_shift
 
uint32_t saturation_mode
 
uint32_t offset_x
 
uint32_t offset_y
 
uint32_t output_align_12bit
 
tivx_vpac_msc_single_phase_params_t single_phase
 
tivx_vpac_msc_multi_phase_params_t multi_phase
 

Detailed Description

The output config data structure used by the TIVX_KERNEL_VPAC_MSC kernel.

Definition at line 302 of file hwa_vpac_msc.h.

Field Documentation

◆ signed_data

uint32_t tivx_vpac_msc_output_params_t::signed_data

Integer type of input and output frame data, 0: Unsigned 12-bit, 1: Signed 12-bit

Definition at line 305 of file hwa_vpac_msc.h.

◆ filter_mode

uint32_t tivx_vpac_msc_output_params_t::filter_mode

0: Single Phase Filter (integer ratios: 1x, 1/2x, 1/4x); 1: Multi-phase scaling filter

Definition at line 308 of file hwa_vpac_msc.h.

◆ coef_shift

uint32_t tivx_vpac_msc_output_params_t::coef_shift

Sets the fractional bit precision of the 10-bit filter coefficient [Range (5-9)]

Definition at line 311 of file hwa_vpac_msc.h.

◆ saturation_mode

uint32_t tivx_vpac_msc_output_params_t::saturation_mode

Filter output saturation mdoe, 0: [0..4095] clipping; 1: [-2048..2047] clip followed by + 2048

Definition at line 315 of file hwa_vpac_msc.h.

◆ offset_x

uint32_t tivx_vpac_msc_output_params_t::offset_x

Source X offset: used to align center tap if filter to appropriate input for first output [Range (0,1, or TIVX_VPAC_MSC_AUTOCOMPUTE)]

See also
tivx_vpac_msc_multi_phase_params_t::init_phase_x
Note
Using TIVX_VPAC_MSC_AUTOCOMPUTE aligns center of output to match center of input cropped region for each output

Definition at line 319 of file hwa_vpac_msc.h.

◆ offset_y

uint32_t tivx_vpac_msc_output_params_t::offset_y

Source Y offset: used to align center tap if filter to appropriate input for first output [Range (0,1, or TIVX_VPAC_MSC_AUTOCOMPUTE))]

See also
tivx_vpac_msc_multi_phase_params_t::init_phase_y
Note
Using TIVX_VPAC_MSC_AUTOCOMPUTE aligns center of output to match center of input cropped region for each output

Definition at line 323 of file hwa_vpac_msc.h.

◆ output_align_12bit

uint32_t tivx_vpac_msc_output_params_t::output_align_12bit

Optional: When input 16-bit unpacked, alignment of 12-bit pixel, 0: LSB, 1:MSB

Definition at line 326 of file hwa_vpac_msc.h.

◆ single_phase

tivx_vpac_msc_single_phase_params_t tivx_vpac_msc_output_params_t::single_phase

Optional: When 'filter_mode' == 0: Single-phase

Definition at line 329 of file hwa_vpac_msc.h.

◆ multi_phase

tivx_vpac_msc_multi_phase_params_t tivx_vpac_msc_output_params_t::multi_phase

Optional: When 'filter_mode' == 1: Multi-phase

Definition at line 331 of file hwa_vpac_msc.h.


The documentation for this struct was generated from the following file: