aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/v4l2-core/v4l2-ioctl.c
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2015-06-05 03:45:38 -0300
committerMauro Carvalho Chehab <[email protected]>2015-06-06 07:34:52 -0300
commitafeef4ee23b4865d6c3bf294b5ac9d55dbff5b82 (patch)
tree57faa559191a8c0823b4a30ba07f8c67b31102e1 /drivers/media/v4l2-core/v4l2-ioctl.c
parent4d38cde776185a78b96f5e3a3e653450050600bd (diff)
[media] vivid-tpg: improve Y16 color setup
Currently the colors for the Y16 and Y16_BE pixelformats are in the range 0x0000-0xff00. So pure white (0xffff) is never created. Improve this by making white really white. For other colors the lsb remains 0 so vivid can be used to detect endian problems. Signed-off-by: Hans Verkuil <[email protected]> Reviewed-by: Ricardo Ribalda <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-ioctl.c')
0 files changed, 0 insertions, 0 deletions