[media] vivid: add support for single buffer planar formats
Make vivid aware of the difference of planes and buffers. Note that this does not yet add support for hor/vert downsampled formats. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
このコミットが含まれているのは:
@@ -234,7 +234,7 @@ const struct vivid_fmt *vivid_get_format(struct vivid_dev *dev, u32 pixelformat)
|
||||
for (k = 0; k < ARRAY_SIZE(vivid_formats); k++) {
|
||||
fmt = &vivid_formats[k];
|
||||
if (fmt->fourcc == pixelformat)
|
||||
if (fmt->planes == 1 || dev->multiplanar)
|
||||
if (fmt->buffers == 1 || dev->multiplanar)
|
||||
return fmt;
|
||||
}
|
||||
|
||||
|
新しいイシューから参照
ユーザーをブロックする