summaryrefslogtreecommitdiff
path: root/drivers/media/platform/exynos4-is/fimc-is-regs.c
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2014-03-26 19:48:39 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-16 16:24:53 -0200
commit90b4c9c65ab41d4d20ab5121dd0a536f84565ad5 (patch)
treed8d0583295666e000329122b2101ba9b06369191 /drivers/media/platform/exynos4-is/fimc-is-regs.c
parent4710b752e029f3f82dd4a84d9dc61fe72c97bf82 (diff)
downloadlwn-90b4c9c65ab41d4d20ab5121dd0a536f84565ad5.tar.gz
lwn-90b4c9c65ab41d4d20ab5121dd0a536f84565ad5.zip
[media] exynos4-is: fimc: Roundup imagesize to row size for tiled formats
For tiled format, we need to allocated a multiple of the row size. A good example is for 1280x720, wich get adjusted to 1280x736. In tiles, this mean Y plane is 20x23 and UV plane 20x12. Because of the rounding, the previous code would only have enough space to fit half of the last row. [mchehab@s-opensource.com: fix coding style] Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/exynos4-is/fimc-is-regs.c')
0 files changed, 0 insertions, 0 deletions