git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5045b49
)
[media] v4l: Fix colorspace conversion error in sample code
author
Laurent Pinchart
<laurent.pinchart@ideasonboard.com>
Wed, 19 Jun 2013 00:41:59 +0000
(21:41 -0300)
committer
Mauro Carvalho Chehab
<m.chehab@samsung.com>
Sun, 18 Aug 2013 11:49:07 +0000
(08:49 -0300)
The sample code erroneously scales the y1, pb and pr variables from the
[0.0 .. 1.0] and [-0.5 .. 0.5] ranges to [0 .. 255] and [-128 .. 127].
Fix it.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
No differences found