summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2023-05-03 09:34:28 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-06-09 16:14:17 +0100
commit86c256be5848b2515702832ce93f748d9ffbebea (patch)
treed130ada545995d32304e2ebc706864086c97113c /virt
parent2ef3372355f63fc1a29310ce9064fb76fe0806ed (diff)
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 'virt')
0 files changed, 0 insertions, 0 deletions