TI J721E Imaging User Guide
hwa_vpac_msc.h File Reference

Introduction

The MSC kernels in this kernel extension.

Go to the source code of this file.

Data Structures

struct  tivx_vpac_msc_coefficients_t
 The coefficients input data structure used by the TIVX_KERNEL_VPAC_MSC kernel. More...
 
struct  tivx_vpac_msc_single_phase_params_t
 The configuration data structure used by the TIVX_KERNEL_VPAC_MSC kernel. More...
 
struct  tivx_vpac_msc_multi_phase_params_t
 The multi_phase data structure in the configuration data structure used by the TIVX_KERNEL_VPAC_MSC kernel. More...
 
struct  tivx_vpac_msc_crop_params_t
 The crop config data structure used by the TIVX_KERNEL_VPAC_MSC kernel. More...
 
struct  tivx_vpac_msc_output_params_t
 The output config data structure used by the TIVX_KERNEL_VPAC_MSC kernel. More...
 
struct  tivx_vpac_msc_input_params_t
 The input config data structure used by the TIVX_KERNEL_VPAC_MSC kernel. More...
 

Macros

#define TIVX_KERNEL_VPAC_MSC_MULTI_SCALE_NAME   "com.ti.hwa.vpac_msc_multi_scale"
 vpac_msc scaler kernel name More...
 
#define TIVX_KERNEL_VPAC_MSC_PYRAMID_NAME   "com.ti.hwa.vpac_msc_pyramid"
 vpac_msc pyramid kernel name More...
 
#define TIVX_VPAC_MSC_CMD_SET_COEFF   (0x20000000u)
 Control Command to set MSC Filter Coefficients User data object tivx_vpac_msc_coefficients_t is passed as argument with this control command. More...
 
#define TIVX_VPAC_MSC_CMD_SET_INPUT_PARAMS   (0x20000001u)
 Control Command to set MSC input parameters. More...
 
#define TIVX_VPAC_MSC_CMD_SET_OUTPUT_PARAMS   (0x20000002u)
 Control Command to set MSC output scaling parameters. More...
 
#define TIVX_VPAC_MSC_CMD_SET_CROP_PARAMS   (0x20000003u)
 Control Command to set MSC output croping parameters. More...
 
#define TIVX_VPAC_MSC_MAX_MP_COEFF_SET   (4U)
 
#define TIVX_VPAC_MSC_MAX_SP_COEFF_SET   (2U)
 
#define TIVX_VPAC_MSC_MAX_OUTPUT   (10U)
 
#define TIVX_VPAC_MSC_MAX_TAP   (5U)
 
#define TIVX_VPAC_MSC_32_PHASE_COEFF   (32U)
 
#define TIVX_VPAC_MSC_AUTOCOMPUTE   (0xFFFFFFFFU)
 
#define TIVX_VPAC_MSC_INTERPOLATION_GAUSSIAN_32_PHASE   (0)
 
#define TIVX_VPAC_MSC_MODE_LUMA_ONLY   (0U)
 
#define TIVX_VPAC_MSC_MODE_CHROMA_ONLY   (1U)
 
#define TIVX_VPAC_MSC_INIT_DIV_FACTOR   (1U)
 

Functions

void tivxRegisterHwaTargetVpacMscKernels (void)
 Function to register HWA Kernels on the vpac_msc Target. More...
 
void tivxUnRegisterHwaTargetVpacMscKernels (void)
 Function to un-register HWA Kernels on the vpac_msc Target. More...
 
VX_API_ENTRY vx_node VX_API_CALL tivxVpacMscScaleNode (vx_graph graph, vx_image in_img, vx_image out0_img, vx_image out1_img, vx_image out2_img, vx_image out3_img, vx_image out4_img)
 Creates a VPAC_MSC Node with multi-scale outputs. More...
 
VX_API_ENTRY vx_node VX_API_CALL tivxVpacMscPyramidNode (vx_graph graph, vx_image in_img, vx_pyramid out_pyramid)
 Creates a VPAC_MSC Node with multi-scale pyramid output. More...
 
void tivx_vpac_msc_coefficients_params_init (tivx_vpac_msc_coefficients_t *coeff, vx_enum interpolation)
 Function to initialize MSC Coefficients Parameters This initializes Coefficients to default values. This is used for control command: TIVX_VPAC_MSC_CMD_SET_COEFF. More...
 
void tivx_vpac_msc_input_params_init (tivx_vpac_msc_input_params_t *prms)
 Function to initialize MSC input Parameters This is used for control command: TIVX_VPAC_MSC_CMD_SET_INPUT_PARAMS. More...
 
void tivx_vpac_msc_output_params_init (tivx_vpac_msc_output_params_t *prms)
 Function to initialize MSC output Parameters This is used for control command: TIVX_VPAC_MSC_CMD_SET_OUTPUT_PARAMS. More...
 

Macro Definition Documentation

◆ TIVX_VPAC_MSC_MAX_MP_COEFF_SET

#define TIVX_VPAC_MSC_MAX_MP_COEFF_SET   (4U)

Maximum number of Multi Phase Coefficient Set

◆ TIVX_VPAC_MSC_MAX_SP_COEFF_SET

#define TIVX_VPAC_MSC_MAX_SP_COEFF_SET   (2U)

Maximum number of Single Phase Coefficient Set

◆ TIVX_VPAC_MSC_MAX_OUTPUT

#define TIVX_VPAC_MSC_MAX_OUTPUT   (10U)

Maximum number of Scaler output supported by Scaler, Used by the sim target kernel

◆ TIVX_VPAC_MSC_MAX_TAP

#define TIVX_VPAC_MSC_MAX_TAP   (5U)

Maximum number of filter taps supported in Scaler

◆ TIVX_VPAC_MSC_32_PHASE_COEFF

#define TIVX_VPAC_MSC_32_PHASE_COEFF   (32U)

32 Phase coefficients for Scaler

◆ TIVX_VPAC_MSC_AUTOCOMPUTE

#define TIVX_VPAC_MSC_AUTOCOMPUTE   (0xFFFFFFFFU)

Autocompute: Allow the node to autocompute instead of specifying

◆ TIVX_VPAC_MSC_INTERPOLATION_GAUSSIAN_32_PHASE

#define TIVX_VPAC_MSC_INTERPOLATION_GAUSSIAN_32_PHASE   (0)

Specify the 32 phase gaussian interpolation filter coeficients

◆ TIVX_VPAC_MSC_MODE_LUMA_ONLY

#define TIVX_VPAC_MSC_MODE_LUMA_ONLY   (0U)

◆ TIVX_VPAC_MSC_MODE_CHROMA_ONLY

#define TIVX_VPAC_MSC_MODE_CHROMA_ONLY   (1U)

◆ TIVX_VPAC_MSC_INIT_DIV_FACTOR

#define TIVX_VPAC_MSC_INIT_DIV_FACTOR   (1U)

default value of divison factor