[media] s5p-fimc: Adjust pixel height alignments according to the IP revision
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 27 May 2011 16:12:23 +0000 (13:12 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 24 Nov 2011 23:03:03 +0000 (21:03 -0200)
commit9c63afcb02b4313838d83c3660e45544d9fc9976
treee33eaca2ddde2be8ac8aec4ff56208320abfe6e7
parent5cbf6f16ecc07e9f73107c1adf95013bce9f2cf6
[media] s5p-fimc: Adjust pixel height alignments according to the IP revision

Minimum vertical pixel size alignment for input and output DMA and
the scaler depend on color format, rotation, the IP instance and revision.

Make vertical pixel size of format and crop better fit for each SoC
revision and the IP instance by adding min_vsize_align attribute to
the FIMC variant data structure. It's now common for the DMA engines
and the scaler.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s5p-fimc/fimc-capture.c
drivers/media/video/s5p-fimc/fimc-core.c
drivers/media/video/s5p-fimc/fimc-core.h