commit | afad4dd50acbe6457413ec6a68708433d9824d37 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Tue Jan 27 13:46:17 2015 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Thu Jan 29 18:03:19 2015 -0200 |
tree | 835a43b4e5a9af0406da01ab2f55eca33d2a1478 | |
parent | cb88d7384e5e05f90c1daa7750bdb467fd026261 [diff] |
[media] vivid: Y offset should depend on quant. range When converting to or from Y'CbCr and R'G'B' the Y offset depends on the quantization range: it's 0 for full and 16 for limited range. But in the code it was hardcoded to 16. This messed up the brightness of the generated pattern. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>