Vision Apps User Guide
tivx_fileio_kernels.h
Go to the documentation of this file.
1 #ifndef TIVX_FILEIO_KERNELS_H_
2 #define TIVX_FILEIO_KERNELS_H_
3 
4 #include <VX/vx.h>
5 #include <VX/vx_kernels.h>
6 
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 
26 #define TIVX_MODULE_NAME_FILEIO "fileio"
27 
31 #define TIVX_KERNEL_WRITE_ARRAY_NAME "com.ti.fileio.write.vx_array"
32 
36 #define TIVX_KERNEL_WRITE_IMAGE_NAME "com.ti.fileio.write.vx_image"
37 
41 #define TIVX_KERNEL_WRITE_RAW_IMAGE_NAME "com.ti.fileio.write.tivx_raw_image"
42 
46 #define TIVX_KERNEL_WRITE_TENSOR_NAME "com.ti.fileio.write.vx_tensor"
47 
51 #define TIVX_KERNEL_WRITE_USER_DATA_OBJECT_NAME "com.ti.fileio.write.vx_user_data_object"
52 
57 /* Length of the filepath string */
58 #define TIVX_FILEIO_FILE_PATH_LENGTH (512U)
59 
60 /* Length of the fileprefix string */
61 #define TIVX_FILEIO_FILE_PREFIX_LENGTH (256U)
62 
63 /* Command to write file to memory */
64 #define TIVX_FILEIO_CMD_SET_FILE_WRITE (50)
65 
66 /*********************************
67  * Functions
68  *********************************/
69 
74 void tivxFileIOLoadKernels(vx_context context);
75 
80 void tivxFileIOUnLoadKernels(vx_context context);
81 
87 
93 
94 typedef struct
95 {
96  vx_uint32 start_frame;
97  vx_uint32 num_frames;
98  vx_uint32 num_skip;
99 
101 
102 #ifdef __cplusplus
103 }
104 #endif
105 
106 #endif /* TIVX_FILEIO_KERNELS_H_ */
Definition: tivx_fileio_kernels.h:94
void tivxFileIOLoadKernels(vx_context context)
Used for the Application to load the fileio kernels into the context.
vx_uint32 num_frames
Definition: tivx_fileio_kernels.h:97
void tivxRegisterFileIOTargetArmKernels(void)
Function to register FileIO Kernels on the arm Target.
void tivxUnRegisterFileIOTargetArmKernels(void)
Function to un-register FileIO Kernels on the arm Target.
vx_uint32 start_frame
Definition: tivx_fileio_kernels.h:96
void tivxFileIOUnLoadKernels(vx_context context)
Used for the Application to unload the fileio kernels from the context.
vx_uint32 num_skip
Definition: tivx_fileio_kernels.h:98