TuyaOS DVP Camera (tkl_vi / tkl_venc)
Demo: …/examples/driver_dvp/example_driver_dvp.c
Key APIs
| Function | Role |
|---|---|
tkl_vi_init / tkl_vi_uninit |
video-in (DVP) |
tkl_venc_init / tkl_venc_uninit |
encoder (e.g. H.264) |
tkl_fs_* |
optional save to SD |
tal_mutex_* |
protect callbacks |
Guidance
- Read the full demo for sensor/config structs — they are platform-heavy.
- Confirm resolution, sensor, and SD mount path with the user.
- Not TuyaOpen
tdl_camera_*. - Stop path: demo exposes
example_dvp_stop— always provide a clean uninit.