commit | 7a20f3985fb6eb74c93e5f36cf1d375a3b013d77 | [log] [tgz] |
---|---|---|
author | Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | Sat Jul 16 06:26:23 2016 -0300 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Fri Oct 21 15:50:58 2016 -0200 |
tree | c57f4298d19ff346d881a7898a586ac7b61a4ccd | |
parent | ca2b32da5988159d4d997aac9e4a87447046aedf [diff] |
[media] vivid: Fix YUV555 and YUV565 handling precalculate_color() had a optimization that avoided duplicated conversion for YUV formats. This optimization did not take into consideration YUV444, YUV555, YUV565 or limited range quantization. This patch keeps the optimization, but fixes the wrong handling. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>