summaryrefslogtreecommitdiff
path: root/softhddevice_service.h
diff options
context:
space:
mode:
authordurchflieger <>2012-04-30 14:47:08 +0200
committerJohns <johns98@gmx.net>2012-04-30 14:47:08 +0200
commitaca508114b4e34a9317f8d62ce24f8d52cbe416c (patch)
treea6deedeff288cabfc7704e409c6475e08475e5c5 /softhddevice_service.h
parent49ae1c72110534bb08814f8aa095fa99db19f4c7 (diff)
downloadvdr-plugin-softhddevice-aca508114b4e34a9317f8d62ce24f8d52cbe416c.tar.gz
vdr-plugin-softhddevice-aca508114b4e34a9317f8d62ce24f8d52cbe416c.tar.bz2
Adds VDR DFAtmo Plugin support.
Diffstat (limited to 'softhddevice_service.h')
-rw-r--r--softhddevice_service.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/softhddevice_service.h b/softhddevice_service.h
new file mode 100644
index 0000000..737f8b0
--- /dev/null
+++ b/softhddevice_service.h
@@ -0,0 +1,44 @@
+///
+/// @file softhddev_service.h @brief software HD device service header file.
+///
+/// Copyright (c) 2012 by durchflieger. All Rights Reserved.
+///
+/// Contributor(s):
+///
+/// License: AGPLv3
+///
+/// This program is free software: you can redistribute it and/or modify
+/// it under the terms of the GNU Affero General Public License as
+/// published by the Free Software Foundation, either version 3 of the
+/// License.
+///
+/// This program 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 Affero General Public License for more details.
+///
+/// $Id$
+//////////////////////////////////////////////////////////////////////////////
+
+#pragma once
+
+#define ATMO_GRAB_SERVICE "SoftHDDevice-AtmoGrabService-v1.0"
+
+enum
+{ GRAB_IMG_RGBA_FORMAT_B8G8R8A8 };
+
+typedef struct
+{
+ int structSize;
+
+ // request data
+ int analyseSize;
+ int clippedOverscan;
+
+ // reply data
+ int imgType;
+ int imgSize;
+ int width;
+ int height;
+ void *img;
+} SoftHDDevice_AtmoGrabService_v1_0_t;