[media] vivid-tpg: split off the pattern drawing code
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 9 Mar 2015 14:52:43 +0000 (11:52 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 2 Apr 2015 23:49:36 +0000 (20:49 -0300)
commitecb9e91b2dfa3ef69c17c03b2e73ce935254fa65
tree5743ea1038a24d1ebf440f253be29966d4e2e54b
parentc6ff1c1b5ba0cff72f899e3b3ba0343b5a0e0024
[media] vivid-tpg: split off the pattern drawing code

The last part of the vivid-tpg refactoring: split off the pattern
drawing code into a function of its own. This greatly improves the
readability and maintainability of this code.

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