diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2009-03-31 08:44:21 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-04-07 02:43:45 +0200 |
commit | 37f5aefd537d5f98b3fa9726362effeccf1d2161 (patch) | |
tree | c9a27e6f7f5ada15c3774b79b394030552bd4798 /Documentation/mn10300 | |
parent | V4L/DVB (11319): pxa_camera: Enforce YUV422P frame sizes to be 16 multiples (diff) | |
download | linux-37f5aefd537d5f98b3fa9726362effeccf1d2161.tar.xz linux-37f5aefd537d5f98b3fa9726362effeccf1d2161.zip |
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 'Documentation/mn10300')
0 files changed, 0 insertions, 0 deletions