|
1 |
| -#if defined(CFG_EXAMPLE_VIDEO_DISABLE_MJPEG) |
2 |
| -// uncopmressed frame |
3 |
| -static const unsigned char frame_buffer[128 * (96 + 1) * 2] = { |
| 1 | +#if defined(CFG_EXAMPLE_VIDEO_READONLY) |
| 2 | +//--------------------------------------------------------------------+ |
| 3 | +// YUY2 Uncompressed Frame (fixed) |
| 4 | +//--------------------------------------------------------------------+ |
| 5 | +static const unsigned char framebuf_yuy2_readonly[128 * (96 + 1) * 2] = { |
4 | 6 | /* 0 */
|
5 | 7 | 0xeb, 0x80, 0xeb, 0x80, 0xeb, 0x80, 0xeb, 0x80, 0xeb, 0x80, 0xeb, 0x80, 0xeb, 0x80, 0xeb, 0x80,
|
6 | 8 | 0xeb, 0x80, 0xeb, 0x80, 0xeb, 0x80, 0xeb, 0x80, 0xeb, 0x80, 0xeb, 0x80, 0xeb, 0x80, 0xeb, 0x80,
|
@@ -1654,9 +1656,10 @@ static const unsigned char frame_buffer[128 * (96 + 1) * 2] = {
|
1654 | 1656 |
|
1655 | 1657 | #endif
|
1656 | 1658 |
|
1657 |
| -#if 1 |
| 1659 | +//--------------------------------------------------------------------+ |
| 1660 | +// MPEG Compressed Frame (fixed) |
| 1661 | +//--------------------------------------------------------------------+ |
1658 | 1662 |
|
1659 |
| -// mpeg compressed data (not CFG_EXAMPLE_VIDEO_DISABLE_MJPEG) |
1660 | 1663 | unsigned char color_bar_0_jpg[] = {
|
1661 | 1664 | 0xff, 0xd8, 0xff, 0xdb, 0x00, 0x43, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
1662 | 1665 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
@@ -1929,7 +1932,3 @@ unsigned char color_bar_7_jpg[] = {
|
1929 | 1932 | 0x42, 0x51, 0x59, 0x8c, 0xb1, 0x45, 0x00, 0x25, 0x15, 0x98, 0xc4, 0xa2, 0xb5, 0x32, 0x12, 0x8a,
|
1930 | 1933 | 0xcc, 0x63, 0x68, 0xad, 0x8d, 0x84, 0xa2, 0xb3, 0x18, 0x94, 0x56, 0xa6, 0x47, 0xff, 0xd9
|
1931 | 1934 | };
|
1932 |
| - |
1933 |
| - |
1934 |
| - |
1935 |
| -#endif |
0 commit comments