[media] vivid-tpg: move the 'extras' drawing to a separate function
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 9 Mar 2015 14:47:48 +0000 (11:47 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 2 Apr 2015 23:48:53 +0000 (20:48 -0300)
commitc6ff1c1b5ba0cff72f899e3b3ba0343b5a0e0024
treebe96eb5cbdcce1c787a7c73e6087a76c52b80eb6
parent07386b9ab1d2adcf83543dfee0e835db56ccb3d5
[media] vivid-tpg: move the 'extras' drawing to a separate function

This moves the drawing code for the extras (border, square, etc) to
a function of its own instead of having this in the main for loop.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vivid/vivid-tpg.c