summaryrefslogtreecommitdiffstats
path: root/drivers/media/firewire
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2023-05-03 10:34:28 +0200
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-06-09 17:14:17 +0200
commit86c256be5848b2515702832ce93f748d9ffbebea (patch)
treed130ada545995d32304e2ebc706864086c97113c /drivers/media/firewire
parentmedia: AV1: Make sure that bit depth in correctly initialize (diff)
downloadlinux-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