Basic test pattern support for video output devices
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 6 Aug 2010 13:10:37 +0000 (15:10 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 6 Aug 2010 13:15:50 +0000 (15:15 +0200)
commitec31eb9d2562b6cc2af0d4eee8aeeed4fa2399eb
treeec5fce67523dcec8a4cbdfb5209b31f44fc71976
parent5916c4de4d03290cd313f2bab9720ad9cd023992
Basic test pattern support for video output devices

Instead of filling video output buffers with 0s, generate and user a
test pattern.

If the -F argument is given, the test pattern is read from the specified
file. The file size must be at equal to or bigger than the image size.

If the -F argument is not given, a basic test pattern is generated
automatically. Every byte is set to the sum of its X and Y coordinates.

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