Gnash  0.8.11dev
VideoConverterHaiku.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
3 //
4 // This program is free software; you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation; either version 3 of the License, or
7 // (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13 //
14 // You should have received a copy of the GNU General Public License
15 // along with this program; if not, write to the Free Software
16 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 
18 
19 #ifndef GNASH_VIDEOCONVERTERHAIKU_H
20 #define GNASH_VIDEOCONVERTERHAIKU_H
21 
22 #include "VideoConverter.h"
23 
24 
25 
26 
27 namespace gnash {
28 namespace media {
29 namespace haiku {
30 
32 
34 
35 public:
37 
39 
40  std::unique_ptr<ImgBuf> convert(const ImgBuf& src);
41 };
42 
43 } // gnash.media.haiku namespace
44 } // gnash.media namespace
45 } // gnash namespace
46 
47 #endif // __VIDEOCONVERTERHAIKU_H__
VideoConverterHaiku(ImgBuf::Type4CC srcFormat, ImgBuf::Type4CC dstFormat)
Base class for video image space conversion.
Definition: VideoConverterHaiku.cpp:33
std::uint32_t Type4CC
Definition: VideoConverter.h:45
Base class for video image space conversion.
Definition: VideoConverterHaiku.h:33
std::unique_ptr< ImgBuf > convert(const ImgBuf &src)
Convert a (video) image from one colorspace to another.
Definition: VideoConverterHaiku.cpp:45
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
Abstract base class for video image space conversion.
Definition: VideoConverter.h:88
~VideoConverterHaiku()
Definition: VideoConverterHaiku.cpp:39
Image buffer wrapper.
Definition: VideoConverter.h:43