summaryrefslogtreecommitdiffstats
path: root/include/media/v4l2-fh.h
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel@collabora.com>2019-03-28 14:07:04 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-04-22 10:33:06 -0400
commitf44b969aa3cddabe86e9aff411889643298e8d59 (patch)
tree681cea20e3e60f1b1f89e94455d955ebfac86ace /include/media/v4l2-fh.h
parent9fb10beb8a57f6fa9fdb592652f213df6b98600a (diff)
downloadlinux-f44b969aa3cddabe86e9aff411889643298e8d59.tar.bz2
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 'include/media/v4l2-fh.h')
0 files changed, 0 insertions, 0 deletions