File: softhddevice_service.h

package info (click to toggle)
vdr-plugin-softhddevice 0.6.0+git20160108-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,800 kB
  • sloc: ansic: 14,641; cpp: 2,609; makefile: 145; sh: 13
file content (65 lines) | stat: -rw-r--r-- 1,544 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
///
///	@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: c7c2d5e8b724515d7c767668aab717b27f4e4068 $
//////////////////////////////////////////////////////////////////////////////

#pragma once

#define ATMO_GRAB_SERVICE	"SoftHDDevice-AtmoGrabService-v1.0"
#define ATMO1_GRAB_SERVICE	"SoftHDDevice-AtmoGrabService-v1.1"
#define OSD_3DMODE_SERVICE	"SoftHDDevice-Osd3DModeService-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;

typedef struct
{
    int Mode;
} SoftHDDevice_Osd3DModeService_v1_0_t;

typedef struct
{
    // request/reply data

    int width;
    int height;

    // reply data

    int size;

    void *img;
} SoftHDDevice_AtmoGrabService_v1_1_t;