diff options
author | Dafna Hirschfeld | 2018-11-15 12:23:30 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2018-11-23 10:34:27 +0100 |
commit | aec89917542c60af06fb36e433dd92c4eb7d792a (patch) | |
tree | 73904c47598ea139758bedb40f48d47c54e6839a /drivers/media/platform/vicodec/vicodec-core.c | |
parent | media: vidioc-enum-fmt.rst: update list of valid buftypes (diff) | |
download | kernel-qcow2-linux-aec89917542c60af06fb36e433dd92c4eb7d792a.tar.gz kernel-qcow2-linux-aec89917542c60af06fb36e433dd92c4eb7d792a.tar.xz kernel-qcow2-linux-aec89917542c60af06fb36e433dd92c4eb7d792a.zip |
media: vicodec: prepare support for various number of planes
Add fields to the structs `fwht_raw_frame`, `v4l2_fwht_pixfmts`
to support various number of planes - formats
with alpha channel that have 4 planes and greyscale formats
that have 1 plane.
Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/vicodec/vicodec-core.c')
-rw-r--r-- | drivers/media/platform/vicodec/vicodec-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/vicodec/vicodec-core.c b/drivers/media/platform/vicodec/vicodec-core.c index 9b6416ba5901..b26ca043e8c3 100644 --- a/drivers/media/platform/vicodec/vicodec-core.c +++ b/drivers/media/platform/vicodec/vicodec-core.c @@ -61,7 +61,7 @@ struct pixfmt_info { }; static const struct v4l2_fwht_pixfmt_info pixfmt_fwht = { - V4L2_PIX_FMT_FWHT, 0, 3, 1, 1, 1, 1, 1 + V4L2_PIX_FMT_FWHT, 0, 3, 1, 1, 1, 1, 1, 0 }; static void vicodec_dev_release(struct device *dev) |