open-ameba/sdk/component/common/example/uvc
Drasko DRASKOVIC eeb7f808ae Change SDK dir name. Use OpenOCD only.
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2017-05-14 18:47:13 +02:00
..
example_uvc.c Change SDK dir name. Use OpenOCD only. 2017-05-14 18:47:13 +02:00
example_uvc.h Change SDK dir name. Use OpenOCD only. 2017-05-14 18:47:13 +02:00
readme.txt Change SDK dir name. Use OpenOCD only. 2017-05-14 18:47:13 +02:00

THis is an example for USB Video Capture specifically for motion-jpeg capturing. 

Please MAKE SURE to reserve enough heap size for UVC by raising configTOTAL_HEAP_SIZE in freeRTOSconfig.h & turning off some functions (e.g. WPS, JDSMART, ATcmd for internal and system) since image frame storing could consume quite large memory space.

TO switch on UVC example, make sure CONFIG_USB_EN is enabled (in platform_autoconf.h) & set CONFIG_EXAMPLE_UVC to 1 (in platform_opts.h).

TO combine uvc with rtsp server, make sure wlan module is enabled & set UVC_WLAN_TRANSFER to 1 (in example_uvc.h).