TuyaOS
宏定义 | 枚举 | 函数
tal_video_in.h 文件参考

video input 更多...

#include "tkl_media.h"
#include "tkl_video_in.h"
tal_video_in.h 的引用(Include)关系图:

浏览源代码.

宏定义

#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

版本
0.1
日期
2021-11-09

Video input configuration: for sensor, ISP or VI attribute configuration, such as image flip, anti flicker, compensation mode, profile, etc.

函数说明

◆ tal_vi_detect_hd_get_result()

OPERATE_RET tal_vi_detect_hd_get_result ( INT32_T  chn,
TKL_VI_DETECT_HD_RESULT_T *  presult 
)

get human shape detection results

参数
[in]chnvi chn
[out]presulthuman shape detection results
返回
OPRT_OK on success. Others on error, please refer to tkl_error_code.h

◆ tal_vi_detect_hd_set()

OPERATE_RET tal_vi_detect_hd_set ( INT32_T  chn,
TKL_VI_DETECT_HD_PARAM_T *  pparam 
)

set human shape detection param

参数
[in]chnvi chn
[in]pparamhuman shape detection param
返回
OPRT_OK on success. Others on error, please refer to tkl_error_code.h

◆ tal_vi_detect_hd_start()

OPERATE_RET tal_vi_detect_hd_start ( INT32_T  chn)

vi turn on human shape detection

参数
[in]chnvi chn
返回
OPRT_OK on success. Others on error, please refer to tkl_error_code.h

◆ tal_vi_detect_hd_stop()

OPERATE_RET tal_vi_detect_hd_stop ( INT32_T  chn)

vi stop human shape detection

参数
[in]chnvi chn
返回
OPRT_OK on success. Others on error, please refer to tkl_error_code.h

◆ tal_vi_get()

OPERATE_RET tal_vi_get ( INT32_T  chn,
TAL_VI_CMD_E  cmd,
VOID *  parg 
)

vi get

参数
[in]chnvi chn
[in]cmdcmd
[out]pargparg
返回
OPRT_OK on success. Others on error, please refer to tkl_error_code.h

◆ tal_vi_init()

OPERATE_RET tal_vi_init ( TKL_VI_CONFIG_T *  pconfig,
INT32_T  count 
)

vi init

参数
[in]pconfigvi config
[in]countcount of pconfig
返回
OPRT_OK on success. Others on error, please refer to tkl_error_code.h

◆ tal_vi_set()

OPERATE_RET tal_vi_set ( INT32_T  chn,
TAL_VI_CMD_E  cmd,
VOID *  parg 
)

vi set

参数
[in]chnvi chn
[in]cmdcmd
[in]pargparg
返回
OPRT_OK on success. Others on error, please refer to tkl_error_code.h

◆ tal_vi_uninit()

OPERATE_RET tal_vi_uninit ( VOID  )

vi uninit

返回
OPRT_OK on success. Others on error, please refer to tkl_error_code.h