aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJacek Anaszewski <[email protected]>2013-11-25 06:58:10 -0300
committerMauro Carvalho Chehab <[email protected]>2013-12-18 06:12:32 -0200
commitcc690904247fdbb169e2544cbbbd4ebd2c05f8cb (patch)
tree5528eb98cb09974923164658f8edbee7b985457e /tools
parentc97ba28b0f17d88ef072e3536aa160df6d48431d (diff)
[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 <[email protected]> Signed-off-by: Kyungmin Park <[email protected]> Acked-by: Hans Verkuil <[email protected]> Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions