TuyaOS
结构体 | 枚举 | 函数
tkl_video_in.h 文件参考

video input 更多...

#include "tuya_cloud_types.h"
#include "tkl_media.h"
#include "tkl_isp.h"
tkl_video_in.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

结构体

struct  TKL_VI_DETECT_HD_PARAM_T
 

枚举

enum  TKL_VI_SENSOR_CBUS_TYPE_E { TKL_VI_SENSOR_TYPE_IIC , TKL_VI_SENSOR_TYPE_SPI }
 

函数

OPERATE_RET tkl_vi_detect_hd_get_result (TKL_VI_CHN_E chn, TKL_VI_DETECT_HD_RESULT_T *presult)
 get human shape detection results 更多...
 
OPERATE_RET tkl_vi_detect_hd_set (INT32_T chn, TKL_VI_DETECT_HD_PARAM_T *pparam)
 set human shape detection param 更多...
 
OPERATE_RET tkl_vi_detect_hd_start (TKL_VI_CHN_E chn)
 vi turn on human shape detection 更多...
 
OPERATE_RET tkl_vi_detect_hd_stop (TKL_VI_CHN_E chn)
 vi stop human shape detection 更多...
 
OPERATE_RET tkl_vi_get_mirror_flip (TKL_VI_CHN_E chn, TKL_VI_MIRROR_FLIP_E *flag)
 vi get mirror and flip 更多...
 
OPERATE_RET tkl_vi_init (TKL_VI_CONFIG_T *pconfig, INT32_T count)
 vi init 更多...
 
OPERATE_RET tkl_vi_sensor_reg_get (TKL_VI_CHN_E chn, TKL_VI_SENSOR_REG_CONFIG_T *parg)
 get sensor reg value 更多...
 
OPERATE_RET tkl_vi_sensor_reg_set (TKL_VI_CHN_E chn, TKL_VI_SENSOR_REG_CONFIG_T *parg)
 set sensor reg value 更多...
 
OPERATE_RET tkl_vi_set_mirror_flip (TKL_VI_CHN_E chn, TKL_VI_MIRROR_FLIP_E flag)
 vi set mirror and flip 更多...
 
OPERATE_RET tkl_vi_uninit (VOID)
 vi uninit 更多...
 

详细描述

video input

版本
0.1
日期
2021-11-04

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

函数说明

◆ tkl_vi_detect_hd_get_result()

OPERATE_RET tkl_vi_detect_hd_get_result ( TKL_VI_CHN_E  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

◆ tkl_vi_detect_hd_set()

OPERATE_RET tkl_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

◆ tkl_vi_detect_hd_start()

OPERATE_RET tkl_vi_detect_hd_start ( TKL_VI_CHN_E  chn)

vi turn on human shape detection

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

◆ tkl_vi_detect_hd_stop()

OPERATE_RET tkl_vi_detect_hd_stop ( TKL_VI_CHN_E  chn)

vi stop human shape detection

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

◆ tkl_vi_get_mirror_flip()

OPERATE_RET tkl_vi_get_mirror_flip ( TKL_VI_CHN_E  chn,
TKL_VI_MIRROR_FLIP_E *  flag 
)

vi get mirror and flip

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

◆ tkl_vi_init()

OPERATE_RET tkl_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

◆ tkl_vi_sensor_reg_get()

OPERATE_RET tkl_vi_sensor_reg_get ( TKL_VI_CHN_E  chn,
TKL_VI_SENSOR_REG_CONFIG_T parg 
)

get sensor reg value

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

◆ tkl_vi_sensor_reg_set()

OPERATE_RET tkl_vi_sensor_reg_set ( TKL_VI_CHN_E  chn,
TKL_VI_SENSOR_REG_CONFIG_T parg 
)

set sensor reg value

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

◆ tkl_vi_set_mirror_flip()

OPERATE_RET tkl_vi_set_mirror_flip ( TKL_VI_CHN_E  chn,
TKL_VI_MIRROR_FLIP_E  flag 
)

vi set mirror and flip

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

◆ tkl_vi_uninit()

OPERATE_RET tkl_vi_uninit ( VOID  )

vi uninit

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