summaryrefslogtreecommitdiff
path: root/scaler.h
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2009-10-12 20:13:56 +0200
committerChristian Gmeiner <christian.gmeiner@gmail.com>2009-10-12 20:13:56 +0200
commitaacb17750c711065a3bcf5307f40b7c25e1e49f6 (patch)
treee2714de0f24464fd43bf5123bd590965f8e121c5 /scaler.h
parent3d6200f096559e5cebead403b5b151bff2f7ccef (diff)
downloadvdr-plugin-dxr3-aacb17750c711065a3bcf5307f40b7c25e1e49f6.tar.gz
vdr-plugin-dxr3-aacb17750c711065a3bcf5307f40b7c25e1e49f6.tar.bz2
add stub cBitmap scaler
Diffstat (limited to 'scaler.h')
-rw-r--r--scaler.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/scaler.h b/scaler.h
new file mode 100644
index 0000000..0ef336f
--- /dev/null
+++ b/scaler.h
@@ -0,0 +1,39 @@
+/*
+ * _ _ _ _ _____
+ * __ ____| |_ __ _ __ | |_ _ __ _(_)_ __ __| |_ ___ _|___ /
+ * \ \ / / _` | '__|____| '_ \| | | | |/ _` | | '_ \ _____ / _` \ \/ / '__||_ \
+ * \ V / (_| | | |_____| |_) | | |_| | (_| | | | | |_____| (_| |> <| | ___) |
+ * \_/ \__,_|_| | .__/|_|\__,_|\__, |_|_| |_| \__,_/_/\_\_| |____/
+ * |_| |___/
+ *
+ * Copyright (C) 2009 Christian Gmeiner
+ *
+ * This file is part of vdr-plugin-dxr3.
+ *
+ * vdr-plugin-dxr3 is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation version 2.
+ *
+ * vdr-plugin-dxr3 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with dxr3-plugin. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+#ifndef SCALER_H
+#define SCALER_H
+
+#include <stdint.h>
+#include <vdr/osd.h>
+
+class cScaler {
+public:
+ static cBitmap *scaleBitmap(cBitmap *src, uint32_t width, uint32_t height);
+};
+
+
+#endif /*SCALER_H*/