Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Video pixel formats

Bayer formats

#define VIDEO_PIX_FMT_BGGR8   video_fourcc('B', 'G', 'G', 'R') /* 8 BGBG.. GRGR.. */
 BGGR8 pixel format.
 
#define VIDEO_PIX_FMT_GBRG8   video_fourcc('G', 'B', 'R', 'G') /* 8 GBGB.. RGRG.. */
 GBRG8 pixel format.
 
#define VIDEO_PIX_FMT_GRBG8   video_fourcc('G', 'R', 'B', 'G') /* 8 GRGR.. BGBG.. */
 GRBG8 pixel format.
 
#define VIDEO_PIX_FMT_RGGB8   video_fourcc('R', 'G', 'G', 'B') /* 8 RGRG.. GBGB.. */
 RGGB8 pixel format.
 

RGB formats

#define VIDEO_PIX_FMT_RGB565   video_fourcc('R', 'G', 'B', 'P') /* 16 RGB-5-6-5 */
 RGB565 pixel format.
 
#define VIDEO_PIX_FMT_XRGB32   video_fourcc('B', 'X', '2', '4') /* 32 XRGB-8-8-8-8 */
 XRGB32 pixel format.
 

YUV formats

#define VIDEO_PIX_FMT_YUYV   video_fourcc('Y', 'U', 'Y', 'V') /* 16 Y0-Cb0 Y1-Cr0 */
 YUYV pixel format.
 
#define VIDEO_PIX_FMT_XYUV32   video_fourcc('X', 'Y', 'U', 'V') /* 32 XYUV-8-8-8-8 */
 XYUV32 pixel format.
 

JPEG formats

#define VIDEO_PIX_FMT_JPEG   video_fourcc('J', 'P', 'E', 'G') /* 8 JPEG */
 JPEG pixel format.
 

Detailed Description

Macro Definition Documentation

◆ VIDEO_PIX_FMT_BGGR8

#define VIDEO_PIX_FMT_BGGR8   video_fourcc('B', 'G', 'G', 'R') /* 8 BGBG.. GRGR.. */

#include <zephyr/drivers/video.h>

BGGR8 pixel format.

◆ VIDEO_PIX_FMT_GBRG8

#define VIDEO_PIX_FMT_GBRG8   video_fourcc('G', 'B', 'R', 'G') /* 8 GBGB.. RGRG.. */

#include <zephyr/drivers/video.h>

GBRG8 pixel format.

◆ VIDEO_PIX_FMT_GRBG8

#define VIDEO_PIX_FMT_GRBG8   video_fourcc('G', 'R', 'B', 'G') /* 8 GRGR.. BGBG.. */

#include <zephyr/drivers/video.h>

GRBG8 pixel format.

◆ VIDEO_PIX_FMT_JPEG

#define VIDEO_PIX_FMT_JPEG   video_fourcc('J', 'P', 'E', 'G') /* 8 JPEG */

#include <zephyr/drivers/video.h>

JPEG pixel format.

◆ VIDEO_PIX_FMT_RGB565

#define VIDEO_PIX_FMT_RGB565   video_fourcc('R', 'G', 'B', 'P') /* 16 RGB-5-6-5 */

#include <zephyr/drivers/video.h>

RGB565 pixel format.

◆ VIDEO_PIX_FMT_RGGB8

#define VIDEO_PIX_FMT_RGGB8   video_fourcc('R', 'G', 'G', 'B') /* 8 RGRG.. GBGB.. */

#include <zephyr/drivers/video.h>

RGGB8 pixel format.

◆ VIDEO_PIX_FMT_XRGB32

#define VIDEO_PIX_FMT_XRGB32   video_fourcc('B', 'X', '2', '4') /* 32 XRGB-8-8-8-8 */

#include <zephyr/drivers/video.h>

XRGB32 pixel format.

◆ VIDEO_PIX_FMT_XYUV32

#define VIDEO_PIX_FMT_XYUV32   video_fourcc('X', 'Y', 'U', 'V') /* 32 XYUV-8-8-8-8 */

#include <zephyr/drivers/video.h>

XYUV32 pixel format.

◆ VIDEO_PIX_FMT_YUYV

#define VIDEO_PIX_FMT_YUYV   video_fourcc('Y', 'U', 'Y', 'V') /* 16 Y0-Cb0 Y1-Cr0 */

#include <zephyr/drivers/video.h>

YUYV pixel format.