Skip to content

Commit 435e295

Browse files
thecapn32hfruchet-st
authored andcommitted
include: driver: video: add h264 pixel format support
Add H264 pixel format support. Signed-off-by: Mohammad Massoudi <[email protected]>
1 parent 16f4d6c commit 435e295

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

include/zephyr/drivers/video.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1768,6 +1768,16 @@ int64_t video_get_csi_link_freq(const struct device *dev, uint8_t bpp, uint8_t l
17681768
*/
17691769
#define VIDEO_PIX_FMT_JPEG VIDEO_FOURCC('J', 'P', 'E', 'G')
17701770

1771+
/**
1772+
* H264 with start code
1773+
*/
1774+
#define VIDEO_PIX_FMT_H264 VIDEO_FOURCC('H', '2', '6', '4')
1775+
1776+
/**
1777+
* H264 without start code
1778+
*/
1779+
#define VIDEO_PIX_FMT_H264_NO_SC VIDEO_FOURCC('A', 'V', 'C', '1')
1780+
17711781
/**
17721782
* @}
17731783
*/

0 commit comments

Comments
 (0)