OSDN Git Service

modetest: Unify buffer allocation
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 20 Jul 2012 12:50:41 +0000 (14:50 +0200)
committerRob Clark <rob@ti.com>
Fri, 20 Jul 2012 15:30:46 +0000 (10:30 -0500)
commit3fdc1777ee156ebfa4281b49d8783adbbcae3ee1
tree1c8a948602e8fa2b3d2b8c915d6f05bab7654175
parentfaf26b689d4a2a6d1e851a1ea2fd657406eebfff
modetest: Unify buffer allocation

Merge the create_test_buffer() and create_grey_buffer() functions into a
single buffer allocation function that takes the pixel format and fill
pattern as parameters.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
tests/modetest/modetest.c