aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vimc/vimc-sensor.c
diff options
context:
space:
mode:
authorEzequiel Garcia <[email protected]>2019-03-28 18:07:04 +0000
committerMauro Carvalho Chehab <[email protected]>2019-04-22 14:33:06 +0000
commitf44b969aa3cddabe86e9aff411889643298e8d59 (patch)
tree681cea20e3e60f1b1f89e94455d955ebfac86ace /drivers/media/platform/vimc/vimc-sensor.c
parentmedia: rockchip/vpu: Rename pixel format helpers (diff)
downloadkernel-f44b969aa3cddabe86e9aff411889643298e8d59.tar.gz
kernel-f44b969aa3cddabe86e9aff411889643298e8d59.zip
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 <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-sensor.c')
0 files changed, 0 insertions, 0 deletions