Build Options
February 2, 2026 ยท View on GitHub
Some features are enabled using build options or by using app_config.h:
This documentation explains those features and how to modify them.
Available streams
You can define streams that camera application can display using IMG_STREAMS define. For each stream you can define
- format
- size
- frame rate
-
Open app_config.h.
-
Change the
IMG_STREAMSdefine for your board:
#define IMG_STREAMS {{UVCL_PAYLOAD_JPEG , 224, 224, 30}, \
{UVCL_PAYLOAD_UNCOMPRESSED_YUY2, 1280, 720, 10}};
- Change the
MAX_IMG_FRAME_SIZEdefine for your board:
#define MAX_IMG_FRAME_SIZE (1280 * 720 * 2)
Constraints on IMG_STREAMS
- The maximum number of items in
IMG_STREAMSis limited toUVCL_MAX_STREAM_CONF_NB, which is set to 8 by default. - Possible values for the UVC payload are listed in the uvcl.h file.
- The stride width of dcmipp must be a multiple of 16. The stride width is calculated as
width * dcmipp_capture_format_byte_per_pel. ForUVCL_PAYLOAD_JPEGorUVCL_PAYLOAD_FB_JPEG, use a value of 2 fordcmipp_capture_format_byte_per_pel.