62 #ifndef _APP_SCALER_MODULE 63 #define _APP_SCALER_MODULE 76 #include <TI/hwa_vpac_msc.h> 81 #define APP_MODULES_MAX_SCALER_OUTPUTS (5) 86 #define APP_MODULES_READ_FILE (0x333) 91 #define APP_MODULES_READ_CHANNEL (0x444) 168 void scale_set_coeff(tivx_vpac_msc_coefficients_t *coeff, uint32_t interpolation);
182 vx_status
app_init_scaler(vx_context context,
ScalerObj *scalerObj,
char *objName, vx_int32 num_ch, vx_int32 num_outputs);
248 vx_status
readScalerInput(
char* file_name, vx_object_array img_arr, vx_int32 read_mode, vx_int32 ch_num);
vx_node node
Definition: app_scaler_module.h:117
vx_int32 width
Definition: app_scaler_module.h:103
#define APP_MODULES_MAX_OBJ_NAME_SIZE
Definition: app_modules.h:88
vx_array file_path
Definition: app_scaler_module.h:132
void app_deinit_scaler(ScalerObj *obj)
Scaler module deinit helper function.
vx_status writeScalerOutput(char *file_name, vx_object_array img_arr)
Helper function to write image from file.
vx_int32 graph_parameter_index
Definition: app_scaler_module.h:126
vx_user_data_object coeff_obj
Definition: app_scaler_module.h:123
vx_status readScalerInput(char *file_name, vx_object_array img_arr, vx_int32 read_mode, vx_int32 ch_num)
Helper function to read image from file.
vx_int32 height
Definition: app_scaler_module.h:106
vx_int32 num_outputs
Definition: app_scaler_module.h:153
vx_status app_init_scaler(vx_context context, ScalerObj *scalerObj, char *objName, vx_int32 num_ch, vx_int32 num_outputs)
Scaler module init helper function.
void app_delete_scaler(ScalerObj *obj)
Scaler module delete helper function.
void scale_set_coeff(tivx_vpac_msc_coefficients_t *coeff, uint32_t interpolation)
Scaler module helper function for setting MSC coefficients.
vx_int32 en_out_scaler_write
Definition: app_scaler_module.h:129
vx_status app_create_graph_scaler(vx_context context, vx_graph graph, ScalerObj *scalerObj, vx_object_array input_img_arr)
Scaler module create helper function.
Scaler Module Data Structure.
Definition: app_scaler_module.h:115
#define APP_MODULES_MAX_SCALER_OUTPUTS
Maximum amount of values allowed from scaler node.
Definition: app_scaler_module.h:81
Scaler Image Data Structure.
Definition: app_scaler_module.h:98
vx_object_array arr
Definition: app_scaler_module.h:100
vx_int32 color_format
Definition: app_scaler_module.h:156
#define TIVX_FILEIO_FILE_PATH_LENGTH
Definition: tivx_fileio_kernels.h:58
vx_status app_send_cmd_scaler_write_node(ScalerObj *scalerObj, vx_uint32 start_frame, vx_uint32 num_frames, vx_uint32 num_skip)
Scaler module write output helper function.
vx_status app_create_graph_scaler_write_output(vx_graph graph, ScalerObj *scalerObj, vx_int32 output_idx)
Scaler module write output helper function.
vx_int32 num_ch
Definition: app_scaler_module.h:150