Gnash
0.8.11dev
libmedia
haiku
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
33
class
VideoConverterHaiku
:
public
VideoConverter
{
34
35
public
:
36
VideoConverterHaiku
(
ImgBuf::Type4CC
srcFormat,
ImgBuf::Type4CC
dstFormat);
37
38
~VideoConverterHaiku
();
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__
gnash::media::haiku::VideoConverterHaiku::VideoConverterHaiku
VideoConverterHaiku(ImgBuf::Type4CC srcFormat, ImgBuf::Type4CC dstFormat)
Base class for video image space conversion.
Definition:
VideoConverterHaiku.cpp:33
gnash::media::ImgBuf::Type4CC
std::uint32_t Type4CC
Definition:
VideoConverter.h:45
gnash::media::haiku::VideoConverterHaiku
Base class for video image space conversion.
Definition:
VideoConverterHaiku.h:33
gnash::media::haiku::VideoConverterHaiku::convert
std::unique_ptr< ImgBuf > convert(const ImgBuf &src)
Convert a (video) image from one colorspace to another.
Definition:
VideoConverterHaiku.cpp:45
gnash
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition:
dbus_ext.cpp:40
gnash::media::VideoConverter
Abstract base class for video image space conversion.
Definition:
VideoConverter.h:88
gnash::media::haiku::VideoConverterHaiku::~VideoConverterHaiku
~VideoConverterHaiku()
Definition:
VideoConverterHaiku.cpp:39
VideoConverter.h
gnash::media::ImgBuf
Image buffer wrapper.
Definition:
VideoConverter.h:43
Generated by
1.8.12