diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2023-05-03 10:34:28 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-06-09 17:14:17 +0200 |
commit | 86c256be5848b2515702832ce93f748d9ffbebea (patch) | |
tree | d130ada545995d32304e2ebc706864086c97113c /drivers/media/firewire | |
parent | media: AV1: Make sure that bit depth in correctly initialize (diff) | |
download | linux-86c256be5848b2515702832ce93f748d9ffbebea.tar.xz linux-86c256be5848b2515702832ce93f748d9ffbebea.zip |
media: v4l2-common: Add support for fractional bpp
Fraction bytes-per-pixel exist for some packed format. You will find
notably on Rockhip platform that 10bit data is stored fully packed,
meaning that there is 1.25 pixels per bytes. This can be represented
with the fraction 5/4 and can be used to scale the width into a
bytesperline.
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/firewire')
0 files changed, 0 insertions, 0 deletions