| 1 | /* |
| 2 | This file is part of the CVD Library. |
| 3 | |
| 4 | Copyright (C) 2005 The Authors |
| 5 | |
| 6 | This library is free software, see LICENSE file for details |
| 7 | */ |
| 8 | #include <cvd/Linux/dvbuffer3.h> |
| 9 | |
| 10 | using namespace CVD; |
| 11 | |
| 12 | typedef unsigned char pix; |
| 13 | #define DATA_TYPE GL_LUMINANCE |
| 14 | |
| 15 | VideoBuffer<pix>* get_vbuf() |
| 16 | { |
| 17 | return new DVBuffer3<pix>(0, ImageRef(640, 480)); |
| 18 | } |
| 19 | |
| 20 | #include "test/videoprog.cxx" |