gstreamer: Map R8/R16 pixel format
This enables monochrome support in libcamerasrc. Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
1dd3bd9d7d
commit
05894d2652
1 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,10 @@ static struct {
|
|||
{ GST_VIDEO_FORMAT_ENCODED, formats::SGRBG8 },
|
||||
{ GST_VIDEO_FORMAT_ENCODED, formats::SRGGB8 },
|
||||
|
||||
/* Monochrome */
|
||||
{ GST_VIDEO_FORMAT_GRAY8, formats::R8 },
|
||||
{ GST_VIDEO_FORMAT_GRAY16_LE, formats::R16 },
|
||||
|
||||
/* RGB16 */
|
||||
{ GST_VIDEO_FORMAT_RGB16, formats::RGB565 },
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue