[media] s5p-fimc: Fix bytesperline and plane payload setup
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 8 Apr 2011 12:11:43 +0000 (09:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 19 Apr 2011 19:01:53 +0000 (16:01 -0300)
commit045030fa16648449b416d4fc8dcc54bfefd6f4aa
tree293ee918e8b1a754906b8122756ababc5a5756e6
parentc4a627333f0d952c5e10c02609493fa63b5c7b28
[media] s5p-fimc: Fix bytesperline and plane payload setup

Make sure the sizeimage for 3-planar color formats is
width * height * 3/2 and the bytesperline is same for each
plane in case of a multi-planar format.

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