alistair23-linux/drivers/media/platform/s5p-jpeg
Jacek Anaszewski cc69090424 [media] s5p-jpeg: Fix erroneous condition while validating bytesperline value
The aim of the condition is ensuring that the bytesperline
value set by the user space application is proper for the
given format and adjusting it if isn't. As the depth value
of the format description entry is expressed in bits then
the bytesperline value needs to be divided, not multiplied,
by that value to get the number of bytes required to store
single line of image samples.

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>
2013-12-18 06:12:32 -02:00
..
jpeg-core.c [media] s5p-jpeg: Fix erroneous condition while validating bytesperline value 2013-12-18 06:12:32 -02:00
jpeg-core.h [media] s5p-jpeg: Use mem-to-mem ioctl helpers 2013-12-04 15:44:23 -02:00
jpeg-hw.h
jpeg-regs.h
Makefile [media] s5p makefiles: don't override other selections on obj-[ym] 2013-06-20 05:46:00 -03:00