diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2009-03-31 03:44:21 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-04-06 21:43:44 -0300 |
commit | 92a8337b380f0978ac81f096d6324d3ad689f83e (patch) | |
tree | 8a09a2d450f168a16e346167dd57d06c410049f1 /.gitignore | |
parent | fedd73ccce8c77b677f8a9090feab8f8c6c9b03c (diff) |
V4L/DVB (11319): pxa_camera: Enforce YUV422P frame sizes to be 16 multiples
Due to DMA constraints, the DMA chain always transfers bytes
from the QCI fifos to memory in 8 bytes units. In planar
formats, that could mean 0 padding between Y and U plane
(and between U and V plane), which is against YUV422P
standard.
Therefore, a frame size is required to be a multiple of 16
(so U plane size is a multiple of 8). It is enforced in
try_fmt() and set_fmt() primitives, be aligning height then
width on 4 multiples as need be, to reach a 16 multiple.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions