|
TuyaOS
|
video input 更多...


结构体 | |
| struct | TKL_VI_DETECT_PARAM_T |
枚举 | |
| enum | TKL_VI_SENSOR_CBUS_TYPE_E { TKL_VI_SENSOR_TYPE_IIC , TKL_VI_SENSOR_TYPE_SPI } |
函数 | |
| OPERATE_RET | tkl_vi_detect_get_result (TKL_VI_CHN_E chn, TKL_MEDIA_DETECT_TYPE_E type, TKL_VI_DETECT_RESULT_T *presult) |
| get detection results 更多... | |
| OPERATE_RET | tkl_vi_detect_set (TKL_VI_CHN_E chn, TKL_MEDIA_DETECT_TYPE_E type, TKL_VI_DETECT_PARAM_T *pparam) |
| set detection param 更多... | |
| OPERATE_RET | tkl_vi_detect_start (TKL_VI_CHN_E chn, TKL_MEDIA_DETECT_TYPE_E type) |
| detect start 更多... | |
| OPERATE_RET | tkl_vi_detect_stop (TKL_VI_CHN_E chn, TKL_MEDIA_DETECT_TYPE_E type) |
| detect stop 更多... | |
| 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
Video input configuration: for sensor, ISP or VI attribute configuration, such as image flip, anti flicker, compensation mode, profile, etc.
| OPERATE_RET tkl_vi_detect_get_result | ( | TKL_VI_CHN_E | chn, |
| TKL_MEDIA_DETECT_TYPE_E | type, | ||
| TKL_VI_DETECT_RESULT_T * | presult | ||
| ) |
get detection results
| [in] | chn | vi chn |
| [in] | type | detect type |
| [out] | presult | detection results |
| OPERATE_RET tkl_vi_detect_set | ( | TKL_VI_CHN_E | chn, |
| TKL_MEDIA_DETECT_TYPE_E | type, | ||
| TKL_VI_DETECT_PARAM_T * | pparam | ||
| ) |
set detection param
| [in] | chn | vi chn |
| [in] | type | detect type |
| [in] | pparam | detection param |
| OPERATE_RET tkl_vi_detect_start | ( | TKL_VI_CHN_E | chn, |
| TKL_MEDIA_DETECT_TYPE_E | type | ||
| ) |
detect start
| [in] | chn | vi chn |
| [in] | type | detect type |
| OPERATE_RET tkl_vi_detect_stop | ( | TKL_VI_CHN_E | chn, |
| TKL_MEDIA_DETECT_TYPE_E | type | ||
| ) |
detect stop
| [in] | chn | vi chn |
| [in] | type | detect type |
| OPERATE_RET tkl_vi_get_mirror_flip | ( | TKL_VI_CHN_E | chn, |
| TKL_VI_MIRROR_FLIP_E * | flag | ||
| ) |
vi get mirror and flip
| [in] | chn | vi chn |
| [out] | flag | mirror and flip value |
| OPERATE_RET tkl_vi_init | ( | TKL_VI_CONFIG_T * | pconfig, |
| INT32_T | count | ||
| ) |
vi init
| [in] | pconfig | vi config |
| [in] | count | count of pconfig |
| OPERATE_RET tkl_vi_sensor_reg_get | ( | TKL_VI_CHN_E | chn, |
| TKL_VI_SENSOR_REG_CONFIG_T * | parg | ||
| ) |
get sensor reg value
| [in] | chn | vi chn |
| [in] | pparam | reg info |
| OPERATE_RET tkl_vi_sensor_reg_set | ( | TKL_VI_CHN_E | chn, |
| TKL_VI_SENSOR_REG_CONFIG_T * | parg | ||
| ) |
set sensor reg value
| [in] | chn | vi chn |
| [in] | pparam | reg info |
| OPERATE_RET tkl_vi_set_mirror_flip | ( | TKL_VI_CHN_E | chn, |
| TKL_VI_MIRROR_FLIP_E | flag | ||
| ) |
vi set mirror and flip
| [in] | chn | vi chn |
| [in] | flag | mirror and flip value |
| OPERATE_RET tkl_vi_uninit | ( | VOID | ) |
vi uninit