drivers: video: add JPEG pixel format

Add JPEG pixel format needed for cameras with JPEG
compression capability.

Signed-off-by: Robert Szczepanski <rszczepanski@antmicro.com>
This commit is contained in:
Robert Szczepanski 2021-06-21 11:47:01 +02:00 committed by Christopher Friedt
commit 69cc20bb17

View file

@ -569,6 +569,9 @@ void video_buffer_release(struct video_buffer *buf);
/* RGB formats */
#define VIDEO_PIX_FMT_RGB565 video_fourcc('R', 'G', 'B', 'P') /* 16 RGB-5-6-5 */
/* JPEG formats */
#define VIDEO_PIX_FMT_JPEG video_fourcc('J', 'P', 'E', 'G') /* 8 JPEG */
#ifdef __cplusplus
}
#endif