mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-03-11 10:03:43 +00:00
Add Support for YUV420 and YVU variants. (#276)
* Add Support fo YUV420 and 410 and YVU variants. * Add new formats to the help messaging * Remove YUV410 supprt since M2M encoder on Pi cannot convert it * Cleanups requested by @mdevaev * Change to use u8 per @mdevaev
This commit is contained in:
@@ -72,6 +72,8 @@ static const struct {
|
||||
{"BGR24", V4L2_PIX_FMT_BGR24},
|
||||
{"MJPEG", V4L2_PIX_FMT_MJPEG},
|
||||
{"JPEG", V4L2_PIX_FMT_JPEG},
|
||||
{"YU12", V4L2_PIX_FMT_YUV420},
|
||||
{"YV12", V4L2_PIX_FMT_YVU420},
|
||||
};
|
||||
|
||||
static const struct {
|
||||
|
||||
Reference in New Issue
Block a user