diff options
| author | Laurent Pinchart <[email protected]> | 2013-06-18 21:41:59 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2013-08-18 08:49:07 -0300 |
| commit | 3f359a7cb1847900bc87b3498f72c1ee848942a7 (patch) | |
| tree | 8e3aa4ac57bca83681cef003de048886d51e578e /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 5045b495196a624c17a1ef271cbdaa6d3e2d1097 (diff) | |
[media] v4l: Fix colorspace conversion error in sample code
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 <[email protected]>
Acked-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions