[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libcvd-members] libcvd/test dvbuffer3_bayerrgb.cxx
From: |
Gerhard Reitmayr |
Subject: |
[libcvd-members] libcvd/test dvbuffer3_bayerrgb.cxx |
Date: |
Wed, 01 Apr 2009 11:00:00 +0000 |
CVSROOT: /cvsroot/libcvd
Module name: libcvd
Changes by: Gerhard Reitmayr <gerhard> 09/04/01 10:59:59
Added files:
test : dvbuffer3_bayerrgb.cxx
Log message:
forgot to check in test program
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libcvd/test/dvbuffer3_bayerrgb.cxx?cvsroot=libcvd&rev=1.1
Patches:
Index: dvbuffer3_bayerrgb.cxx
===================================================================
RCS file: dvbuffer3_bayerrgb.cxx
diff -N dvbuffer3_bayerrgb.cxx
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ dvbuffer3_bayerrgb.cxx 1 Apr 2009 10:59:59 -0000 1.1
@@ -0,0 +1,35 @@
+/*
+ This file is part of the CVD Library.
+
+ Copyright (C) 2005 The Authors
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+*/
+#include <cvd/byte.h>
+#include <cvd/rgb.h>
+#include <cvd/Linux/dvbuffer3.h>
+#include <cvd/colourspacebuffer.h>
+
+using namespace CVD;
+
+typedef Rgb<byte> pix;
+
+VideoBuffer<pix>* get_vbuf()
+{
+ return new ColourspaceBuffer_managed<pix,bayer_rggb>(new
DVBuffer3<bayer_rggb>(0, ImageRef(720,480), 60));
+}
+
+#include "test/videoprog.cxx"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libcvd-members] libcvd/test dvbuffer3_bayerrgb.cxx,
Gerhard Reitmayr <=