Core feature-lib for fall detection (FLD) More...
Data Structures | |
| struct | VFTR_FLD_PARAM_S |
| Structure for the parameters of FLD. More... | |
| struct | VFTR_FLD_INSTANCE_STATUS_S |
| Structure of FLD object status. More... | |
| struct | VFTR_FLD_STATUS_S |
| Struct for FLD status. More... | |
| struct | VFTR_FLD_INSTANCE_S |
| Struct for FLD instance status. More... | |
Macros | |
| #define | VFTR_FLD_FRACTION 8 |
| #define | VFTR_FLD_WEIGHT_MAX (1 << (VFTR_FLD_FRACTION)) |
Enumerations | |
| enum | VFTR_FLD_RESULT_E { VFTR_FLD_UNKNOWN = 0, VFTR_FLD_NORMAL = 1, VFTR_FLD_FALLING = 2, VFTR_FLD_DOWN = 3, VFTR_FLD_FALLEN = 4, VFTR_FLD_NUM = 5 } |
| Enumeration of fall detection result. More... | |
Functions | |
| VFTR_FLD_INSTANCE_S * | VFTR_FLD_newInstance () |
| INT32 | VFTR_FLD_deleteInstance (VFTR_FLD_INSTANCE_S **instance) |
| INT32 | VFTR_FLD_setParam (VFTR_FLD_INSTANCE_S *instance, const VFTR_FLD_PARAM_S *param) |
| INT32 | VFTR_FLD_checkParam (const VFTR_FLD_PARAM_S *param) |
| INT32 | VFTR_FLD_getParam (const VFTR_FLD_INSTANCE_S *instance, VFTR_FLD_PARAM_S *param) |
| INT32 | _VFTR_FLD_dump (VFTR_FLD_INSTANCE_S *instance, const MPI_IVA_OBJ_LIST_S *obj_list, VFTR_FLD_STATUS_S *status) |
| INT32 | _VFTR_FLD_detect (VFTR_FLD_INSTANCE_S *instance, const MPI_IVA_OBJ_LIST_S *obj_list, VFTR_FLD_STATUS_S *status) |
| INT32 | VFTR_FLD_getStat (const VFTR_FLD_INSTANCE_S *instance, VFTR_FLD_STATUS_S *stat) |
| FORCE_INLINE INT32 | VFTR_FLD_detect (VFTR_FLD_INSTANCE_S *instance, const MPI_IVA_OBJ_LIST_S *obj_list, VFTR_FLD_STATUS_S *status) |
| An inline function. If variable vftr_dump_en is true, then call dump function for debugging. More... | |
Core feature-lib for fall detection (FLD)
| #define VFTR_FLD_FRACTION 8 |
Fraction bit of FLD
| #define VFTR_FLD_WEIGHT_MAX (1 << (VFTR_FLD_FRACTION)) |
Maximum weight of FLD.
| enum VFTR_FLD_RESULT_E |
Enumeration of fall detection result.
| FORCE_INLINE INT32 VFTR_FLD_detect | ( | VFTR_FLD_INSTANCE_S * | instance, |
| const MPI_IVA_OBJ_LIST_S * | obj_list, | ||
| VFTR_FLD_STATUS_S * | status | ||
| ) |
An inline function. If variable vftr_dump_en is true, then call dump function for debugging.