mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 20:23:57 +08:00
1e6dd65e17
The Virtual Video Device Driver (aka vivi) is a device that can be used to: 1) test core v4l functionalities; 2) be a prototype for newer development. Vivi were developed using the best practices for v4l driver. When loaded, it provides a video device that generates a standard color bar, with a timestamp placed at top left corner. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
408 lines
4.3 KiB
C
408 lines
4.3 KiB
C
static unsigned char rom8x16_bits[] = {
|
|
/* Character 0 (0x30):
|
|
ht=16, width=8
|
|
+--------+
|
|
| |
|
|
| |
|
|
| ***** |
|
|
|** ** |
|
|
|** ** |
|
|
|** *** |
|
|
|** **** |
|
|
|**** ** |
|
|
|*** ** |
|
|
|** ** |
|
|
|** ** |
|
|
| ***** |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
+--------+ */
|
|
0x00,
|
|
0x00,
|
|
0x7c,
|
|
0xc6,
|
|
0xc6,
|
|
0xce,
|
|
0xde,
|
|
0xf6,
|
|
0xe6,
|
|
0xc6,
|
|
0xc6,
|
|
0x7c,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
|
|
/* Character 1 (0x31):
|
|
ht=16, width=8
|
|
+--------+
|
|
| |
|
|
| |
|
|
| ** |
|
|
| **** |
|
|
| ** |
|
|
| ** |
|
|
| ** |
|
|
| ** |
|
|
| ** |
|
|
| ** |
|
|
| ** |
|
|
| ****** |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
+--------+ */
|
|
0x00,
|
|
0x00,
|
|
0x18,
|
|
0x78,
|
|
0x18,
|
|
0x18,
|
|
0x18,
|
|
0x18,
|
|
0x18,
|
|
0x18,
|
|
0x18,
|
|
0x7e,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
|
|
/* Character 2 (0x32):
|
|
ht=16, width=8
|
|
+--------+
|
|
| |
|
|
| |
|
|
| ***** |
|
|
|** ** |
|
|
|** ** |
|
|
| ** |
|
|
| ** |
|
|
| ** |
|
|
| ** |
|
|
| ** |
|
|
|** ** |
|
|
|******* |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
+--------+ */
|
|
0x00,
|
|
0x00,
|
|
0x7c,
|
|
0xc6,
|
|
0xc6,
|
|
0x06,
|
|
0x0c,
|
|
0x18,
|
|
0x30,
|
|
0x60,
|
|
0xc6,
|
|
0xfe,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
|
|
/* Character 3 (0x33):
|
|
ht=16, width=8
|
|
+--------+
|
|
| |
|
|
| |
|
|
| ***** |
|
|
|** ** |
|
|
| ** |
|
|
| ** |
|
|
| **** |
|
|
| ** |
|
|
| ** |
|
|
| ** |
|
|
|** ** |
|
|
| ***** |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
+--------+ */
|
|
0x00,
|
|
0x00,
|
|
0x7c,
|
|
0xc6,
|
|
0x06,
|
|
0x06,
|
|
0x3c,
|
|
0x06,
|
|
0x06,
|
|
0x06,
|
|
0xc6,
|
|
0x7c,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
|
|
/* Character 4 (0x34):
|
|
ht=16, width=8
|
|
+--------+
|
|
| |
|
|
| |
|
|
| ** |
|
|
| *** |
|
|
| **** |
|
|
| ** ** |
|
|
|** ** |
|
|
|** ** |
|
|
|******* |
|
|
| ** |
|
|
| ** |
|
|
| **** |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
+--------+ */
|
|
0x00,
|
|
0x00,
|
|
0x0c,
|
|
0x1c,
|
|
0x3c,
|
|
0x6c,
|
|
0xcc,
|
|
0xcc,
|
|
0xfe,
|
|
0x0c,
|
|
0x0c,
|
|
0x1e,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
|
|
/* Character 5 (0x35):
|
|
ht=16, width=8
|
|
+--------+
|
|
| |
|
|
| |
|
|
|******* |
|
|
|** |
|
|
|** |
|
|
|** |
|
|
|****** |
|
|
| ** |
|
|
| ** |
|
|
| ** |
|
|
|** ** |
|
|
| ***** |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
+--------+ */
|
|
0x00,
|
|
0x00,
|
|
0xfe,
|
|
0xc0,
|
|
0xc0,
|
|
0xc0,
|
|
0xfc,
|
|
0x06,
|
|
0x06,
|
|
0x06,
|
|
0xc6,
|
|
0x7c,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
|
|
/* Character 6 (0x36):
|
|
ht=16, width=8
|
|
+--------+
|
|
| |
|
|
| |
|
|
| ***** |
|
|
|** ** |
|
|
|** |
|
|
|** |
|
|
|****** |
|
|
|** ** |
|
|
|** ** |
|
|
|** ** |
|
|
|** ** |
|
|
| ***** |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
+--------+ */
|
|
0x00,
|
|
0x00,
|
|
0x7c,
|
|
0xc6,
|
|
0xc0,
|
|
0xc0,
|
|
0xfc,
|
|
0xc6,
|
|
0xc6,
|
|
0xc6,
|
|
0xc6,
|
|
0x7c,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
|
|
/* Character 7 (0x37):
|
|
ht=16, width=8
|
|
+--------+
|
|
| |
|
|
| |
|
|
|******* |
|
|
|** ** |
|
|
| ** |
|
|
| ** |
|
|
| ** |
|
|
| ** |
|
|
| ** |
|
|
| ** |
|
|
| ** |
|
|
| ** |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
+--------+ */
|
|
0x00,
|
|
0x00,
|
|
0xfe,
|
|
0xc6,
|
|
0x06,
|
|
0x0c,
|
|
0x18,
|
|
0x30,
|
|
0x30,
|
|
0x30,
|
|
0x30,
|
|
0x30,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
|
|
/* Character 8 (0x38):
|
|
ht=16, width=8
|
|
+--------+
|
|
| |
|
|
| |
|
|
| ***** |
|
|
|** ** |
|
|
|** ** |
|
|
|** ** |
|
|
| ***** |
|
|
|** ** |
|
|
|** ** |
|
|
|** ** |
|
|
|** ** |
|
|
| ***** |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
+--------+ */
|
|
0x00,
|
|
0x00,
|
|
0x7c,
|
|
0xc6,
|
|
0xc6,
|
|
0xc6,
|
|
0x7c,
|
|
0xc6,
|
|
0xc6,
|
|
0xc6,
|
|
0xc6,
|
|
0x7c,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
|
|
/* Character 9 (0x39):
|
|
ht=16, width=8
|
|
+--------+
|
|
| |
|
|
| |
|
|
| ***** |
|
|
|** ** |
|
|
|** ** |
|
|
|** ** |
|
|
|** ** |
|
|
| ****** |
|
|
| ** |
|
|
| ** |
|
|
|** ** |
|
|
| ***** |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
+--------+ */
|
|
0x00,
|
|
0x00,
|
|
0x7c,
|
|
0xc6,
|
|
0xc6,
|
|
0xc6,
|
|
0xc6,
|
|
0x7e,
|
|
0x06,
|
|
0x06,
|
|
0xc6,
|
|
0x7c,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
/* Character : (0x3a):
|
|
ht=16, width=8
|
|
+--------+
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| ** |
|
|
| ** |
|
|
| |
|
|
| |
|
|
| ** |
|
|
| ** |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
+--------+ */
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x0c,
|
|
0x0c,
|
|
0x00,
|
|
0x00,
|
|
0x0c,
|
|
0x0c,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
};
|