1
0
mirror of https://github.com/jojo61/vdr-plugin-softhdcuvid.git synced 2023-10-10 13:37:41 +02:00
vdr-plugin-softhdcuvid/softhddevice_service.h

62 lines
1.5 KiB
C
Raw Normal View History

2018-08-19 11:45:46 +02:00
///
/// @file softhddev_service.h @brief software HD device service header file.
2018-08-19 11:45:46 +02:00
///
/// Copyright (c) 2012 by durchflieger. All Rights Reserved.
2018-08-19 11:45:46 +02:00
///
/// Contributor(s):
2018-08-19 11:45:46 +02:00
///
/// License: AGPLv3
2018-08-19 11:45:46 +02:00
///
/// 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.
2018-08-19 11:45:46 +02:00
///
/// 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.
2018-08-19 11:45:46 +02:00
///
/// $Id: c7c2d5e8b724515d7c767668aab717b27f4e4068 $
2018-08-19 11:45:46 +02:00
//////////////////////////////////////////////////////////////////////////////
#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"
2018-08-19 11:45:46 +02:00
enum { GRAB_IMG_RGBA_FORMAT_B8G8R8A8 };
2018-08-19 11:45:46 +02:00
typedef struct {
2018-08-19 11:45:46 +02:00
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 {
2018-08-19 11:45:46 +02:00
int Mode;
} SoftHDDevice_Osd3DModeService_v1_0_t;
typedef struct {
2018-08-19 11:45:46 +02:00
// request/reply data
int width;
int height;
// reply data
int size;
void *img;
} SoftHDDevice_AtmoGrabService_v1_1_t;