media: v4l2-ioctl.c: add V4L2_PIX_FMT_FWHT_STATELESS to v4l_fill_fmtdesc
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 13 Mar 2019 14:44:20 +0000 (10:44 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 25 Mar 2019 18:02:57 +0000 (14:02 -0400)
Add V4L2_PIX_FMT_FWHT_STATELESS to the list of pixelformats that
v4l_fill_fmtdesc() understands.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/v4l2-core/v4l2-ioctl.c

index 038739584a84b57a5d2e925893238a5cc7ea1f1e..ac87c3e37280b16d0ff3f22aa527bc699b8958d3 100644 (file)
@@ -1337,6 +1337,7 @@ static void v4l_fill_fmtdesc(struct v4l2_fmtdesc *fmt)
                case V4L2_PIX_FMT_VP9:          descr = "VP9"; break;
                case V4L2_PIX_FMT_HEVC:         descr = "HEVC"; break; /* aka H.265 */
                case V4L2_PIX_FMT_FWHT:         descr = "FWHT"; break; /* used in vicodec */
+               case V4L2_PIX_FMT_FWHT_STATELESS:       descr = "FWHT Stateless"; break; /* used in vicodec */
                case V4L2_PIX_FMT_CPIA1:        descr = "GSPCA CPiA YUV"; break;
                case V4L2_PIX_FMT_WNVA:         descr = "WNVA"; break;
                case V4L2_PIX_FMT_SN9C10X:      descr = "GSPCA SN9C10X"; break;