|
TuyaOS
|
video input 更多...
#include "tkl_media.h"#include "tkl_video_in.h"
宏定义 | |
| #define | TAL_VI_CONFIG_T TKL_VI_CONFIG_T |
| #define | TAL_VI_DETECT_HD_PARAM_T TKL_VI_DETECT_HD_PARAM_T |
| #define | TAL_VI_DETECT_HD_RESULT_T TKL_VI_DETECT_HD_RESULT_T |
枚举 | |
| enum | TAL_VI_CMD_E { TAL_VI_CMD_MIRROR_FLIP , TAL_VI_CMD_ANTIFLICKER , TAL_VI_CMD_ILLUMIN , TAL_VI_CMD_DAYMODE } |
函数 | |
| OPERATE_RET | tal_vi_detect_hd_get_result (INT32_T chn, TKL_VI_DETECT_HD_RESULT_T *presult) |
| get human shape detection results 更多... | |
| OPERATE_RET | tal_vi_detect_hd_set (INT32_T chn, TKL_VI_DETECT_HD_PARAM_T *pparam) |
| set human shape detection param 更多... | |
| OPERATE_RET | tal_vi_detect_hd_start (INT32_T chn) |
| vi turn on human shape detection 更多... | |
| OPERATE_RET | tal_vi_detect_hd_stop (INT32_T chn) |
| vi stop human shape detection 更多... | |
| OPERATE_RET | tal_vi_get (INT32_T chn, TAL_VI_CMD_E cmd, VOID *parg) |
| vi get 更多... | |
| OPERATE_RET | tal_vi_init (TKL_VI_CONFIG_T *pconfig, INT32_T count) |
| vi init 更多... | |
| OPERATE_RET | tal_vi_set (INT32_T chn, TAL_VI_CMD_E cmd, VOID *parg) |
| vi set 更多... | |
| OPERATE_RET | tal_vi_uninit (VOID) |
| vi uninit 更多... | |
video input
Video input configuration: for sensor, ISP or VI attribute configuration, such as image flip, anti flicker, compensation mode, profile, etc.
| OPERATE_RET tal_vi_detect_hd_get_result | ( | INT32_T | chn, |
| TKL_VI_DETECT_HD_RESULT_T * | presult | ||
| ) |
get human shape detection results
| [in] | chn | vi chn |
| [out] | presult | human shape detection results |
| OPERATE_RET tal_vi_detect_hd_set | ( | INT32_T | chn, |
| TKL_VI_DETECT_HD_PARAM_T * | pparam | ||
| ) |
set human shape detection param
| [in] | chn | vi chn |
| [in] | pparam | human shape detection param |
| OPERATE_RET tal_vi_detect_hd_start | ( | INT32_T | chn | ) |
vi turn on human shape detection
| [in] | chn | vi chn |
| OPERATE_RET tal_vi_detect_hd_stop | ( | INT32_T | chn | ) |
vi stop human shape detection
| [in] | chn | vi chn |
| OPERATE_RET tal_vi_get | ( | INT32_T | chn, |
| TAL_VI_CMD_E | cmd, | ||
| VOID * | parg | ||
| ) |
vi get
| [in] | chn | vi chn |
| [in] | cmd | cmd |
| [out] | parg | parg |
| OPERATE_RET tal_vi_init | ( | TKL_VI_CONFIG_T * | pconfig, |
| INT32_T | count | ||
| ) |
vi init
| [in] | pconfig | vi config |
| [in] | count | count of pconfig |
| OPERATE_RET tal_vi_set | ( | INT32_T | chn, |
| TAL_VI_CMD_E | cmd, | ||
| VOID * | parg | ||
| ) |
vi set
| [in] | chn | vi chn |
| [in] | cmd | cmd |
| [in] | parg | parg |
| OPERATE_RET tal_vi_uninit | ( | VOID | ) |
vi uninit