Vision Apps User Guide
app_scaler_module.h File Reference

Go to the source code of this file.

Data Structures

struct  ImgObj
 Scaler Image Data Structure. More...
 
struct  ScalerObj
 Scaler Module Data Structure. More...
 

Macros

#define APP_MODULES_MAX_SCALER_OUTPUTS   (5)
 Maximum amount of values allowed from scaler node. More...
 
#define APP_MODULES_READ_FILE   (0x333)
 Read mode for reading entire file. More...
 
#define APP_MODULES_READ_CHANNEL   (0x444)
 Read mode for reading selected channel. More...
 

Functions

void scale_set_coeff (tivx_vpac_msc_coefficients_t *coeff, uint32_t interpolation)
 Scaler module helper function for setting MSC coefficients. More...
 
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. More...
 
void app_deinit_scaler (ScalerObj *obj)
 Scaler module deinit helper function. More...
 
void app_delete_scaler (ScalerObj *obj)
 Scaler module delete helper function. More...
 
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. More...
 
vx_status app_create_graph_scaler_write_output (vx_graph graph, ScalerObj *scalerObj, vx_int32 output_idx)
 Scaler module write output helper function. More...
 
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. More...
 
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. More...
 
vx_status writeScalerOutput (char *file_name, vx_object_array img_arr)
 Helper function to write image from file. More...