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:45 -0300 |
commit | 37f5aefd537d5f98b3fa9726362effeccf1d2161 (patch) | |
tree | c9a27e6f7f5ada15c3774b79b394030552bd4798 /drivers/ide/setup-pci.c | |
parent | 92a8337b380f0978ac81f096d6324d3ad689f83e (diff) |
V4L/DVB (11320): pxa_camera: Remove YUV planar formats hole
All planes were PAGE aligned (ie. 4096 bytes aligned). This
is not consistent with YUV422 format, which requires Y, U
and V planes glued together. The new implementation forces
the alignement on 8 bytes (DMA requirement), which is almost
always the case (granted by width x height being a multiple
of 8).
The test cases include tests in both YUV422 and RGB565 :
- a picture of size 111 x 111 (cross RAM pages example)
- a picture of size 1023 x 4 in (under 1 RAM page)
- a picture of size 1024 x 4 in (exactly 1 RAM page)
- a picture of size 1025 x 4 in (over 1 RAM page)
- a picture of size 1280 x 1024 (many RAM pages)
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 'drivers/ide/setup-pci.c')
0 files changed, 0 insertions, 0 deletions