RockX
1.0.0
|
#include <stddef.h>
#include <cstdint>
Go to the source code of this file.
Data Structures | |
struct | rockx_tensor_t |
Tensor. More... | |
struct | rockx_point_t |
Point. More... | |
struct | rockx_pointf_t |
Point (Float) More... | |
struct | rockx_rect_t |
Rectangle of Object Region. More... | |
struct | rockx_rectf_t |
Rectangle of Object Region. More... | |
struct | rockx_image_t |
Image. More... | |
struct | rockx_color_t |
Color. More... | |
Typedefs | |
typedef void * | rockx_handle_t |
Handle of a created RockX module. More... | |
typedef void(* | rockx_async_callback) (void *result, size_t result_size) |
Pointer of Async Callback Function. More... | |
typedef struct rockx_tensor_t | rockx_tensor_t |
Tensor. More... | |
typedef struct rockx_point_t | rockx_point_t |
Point. More... | |
typedef struct rockx_pointf_t | rockx_pointf_t |
Point (Float) More... | |
typedef struct rockx_rect_t | rockx_rect_t |
Rectangle of Object Region. More... | |
typedef struct rockx_rectf_t | rockx_rectf_t |
Rectangle of Object Region. More... | |
typedef struct rockx_image_t | rockx_image_t |
Image. More... | |
typedef struct rockx_color_t | rockx_color_t |
Color. More... | |
Enumerations | |
enum | rockx_ret_t { ROCKX_RET_SUCCESS = 0, ROCKX_RET_FAIL = -1, ROCKX_RET_PARAM_ERR = -2 } |
Return Value of RockX functions. More... | |
enum | rockx_pixel_format { ROCKX_PIXEL_FORMAT_GRAY8 = 0, ROCKX_PIXEL_FORMAT_RGB888, ROCKX_PIXEL_FORMAT_BGR888 } |
Image Pixel Format. More... | |
enum | rockx_data_type { ROCKX_DTYPE_FLOAT32 = 0, ROCKX_DTYPE_FLOAT16, ROCKX_DTYPE_INT8, ROCKX_DTYPE_UINT8, ROCKX_DTYPE_INT16, ROCKX_DTYPE_TYPE_MAX } |
Data Type. More... | |
enum | rockx_tensor_format { ROCKX_TENSOR_FORMAT_NCHW = 0, ROCKX_TENSOR_FORMAT_NHWC, ROCKX_TENSOR_FORMAT_MAX } |
Tensor Format. More... | |
typedef void(* rockx_async_callback) (void *result, size_t result_size) |
Pointer of Async Callback Function.
Definition at line 31 of file rockx_type.h.
typedef struct rockx_color_t rockx_color_t |
Color.
typedef void* rockx_handle_t |
Handle of a created RockX module.
Definition at line 26 of file rockx_type.h.
typedef struct rockx_image_t rockx_image_t |
Image.
typedef struct rockx_point_t rockx_point_t |
Point.
typedef struct rockx_pointf_t rockx_pointf_t |
Point (Float)
typedef struct rockx_rect_t rockx_rect_t |
Rectangle of Object Region.
typedef struct rockx_rectf_t rockx_rectf_t |
Rectangle of Object Region.
typedef struct rockx_tensor_t rockx_tensor_t |
Tensor.
enum rockx_data_type |
Data Type.
Definition at line 54 of file rockx_type.h.
enum rockx_pixel_format |
Image Pixel Format.
Enumerator | |
---|---|
ROCKX_PIXEL_FORMAT_GRAY8 | Gray8. |
ROCKX_PIXEL_FORMAT_RGB888 | RGB888. |
ROCKX_PIXEL_FORMAT_BGR888 | BGR888. |
Definition at line 45 of file rockx_type.h.
enum rockx_ret_t |
Return Value of RockX functions.
Enumerator | |
---|---|
ROCKX_RET_SUCCESS | Success. |
ROCKX_RET_FAIL | Fail. |
ROCKX_RET_PARAM_ERR | Input Param error. |
Definition at line 36 of file rockx_type.h.
enum rockx_tensor_format |
Tensor Format.
Enumerator | |
---|---|
ROCKX_TENSOR_FORMAT_NCHW | data format is NCHW (RRRGGGBBB) |
ROCKX_TENSOR_FORMAT_NHWC | data format is NHWC (RGBRGBRGB) |
ROCKX_TENSOR_FORMAT_MAX |
Definition at line 66 of file rockx_type.h.