]> git.baikalelectronics.ru Git - kernel.git/commit
[media] s5p-jpeg: Ensure correct capture format for Exynos4x12
authorJacek Anaszewski <j.anaszewski@samsung.com>
Fri, 22 Nov 2013 09:13:34 +0000 (06:13 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 18 Dec 2013 13:49:03 +0000 (11:49 -0200)
commit578be04d43164213b2920c83c14e4675333e1f4c
tree778a56b919c47883d1ab006ddd34dbdc919b1a15
parent92789dc4fb033e7ba9edeb1ccff47bf6c4e58333
[media] s5p-jpeg: Ensure correct capture format for Exynos4x12

Adjust capture format to the Exynos4x12 device limitations,
according to the subsampling value parsed from the source
JPEG image header. If the capture format was set to YUV with
subsampling lower than the one of the source JPEG image
the decoding process would not succeed.

Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/s5p-jpeg/jpeg-core.c