diff options
author | Ezequiel Garcia <ezequiel@collabora.com> | 2019-03-28 14:07:04 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-04-22 10:33:06 -0400 |
commit | f44b969aa3cddabe86e9aff411889643298e8d59 (patch) | |
tree | 681cea20e3e60f1b1f89e94455d955ebfac86ace /drivers/media/platform/vimc/vimc-common.h | |
parent | 9fb10beb8a57f6fa9fdb592652f213df6b98600a (diff) |
media: Introduce helpers to fill pixel format structs
Add two new API helpers, v4l2_fill_pixfmt and v4l2_fill_pixfmt_mp,
to be used by drivers to calculate plane sizes and bytes per lines.
Note that driver-specific padding and alignment are not
taken into account, and must be done by drivers using this API.
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-common.h')
0 files changed, 0 insertions, 0 deletions