mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Adds VDR SeduAtmo Plugin support.
This commit is contained in:
parent
3d5e59a6e5
commit
63c22a13cf
@ -1,6 +1,11 @@
|
|||||||
User johns
|
User horchi
|
||||||
Date:
|
Date:
|
||||||
|
|
||||||
|
Adds VDR SeduAtmo Plugin support.
|
||||||
|
|
||||||
|
User johns
|
||||||
|
Date: Tue Jan 1 15:21:28 CET 2013
|
||||||
|
|
||||||
Support multiple streams with ScaleVideo.
|
Support multiple streams with ScaleVideo.
|
||||||
Makes 4:3 and 16:9 display format configurable.
|
Makes 4:3 and 16:9 display format configurable.
|
||||||
Don't use DVB display format.
|
Don't use DVB display format.
|
||||||
|
@ -2409,6 +2409,27 @@ bool cPluginSoftHdDevice::Service(const char *id, void *data)
|
|||||||
r->height = height;
|
r->height = height;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (strcmp(id, ATMO1_GRAB_SERVICE) == 0) {
|
||||||
|
SoftHDDevice_AtmoGrabService_v1_1_t *r;
|
||||||
|
|
||||||
|
if (!data) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (SuspendMode != NOT_SUSPENDED) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
r = (SoftHDDevice_AtmoGrabService_v1_1_t *) data;
|
||||||
|
r->img = VideoGrabService(&r->size, &r->width, &r->height);
|
||||||
|
if (!r->img) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define ATMO_GRAB_SERVICE "SoftHDDevice-AtmoGrabService-v1.0"
|
#define ATMO_GRAB_SERVICE "SoftHDDevice-AtmoGrabService-v1.0"
|
||||||
|
#define ATMO1_GRAB_SERVICE "SoftHDDevice-AtmoGrabService-v1.1"
|
||||||
#define OSD_3DMODE_SERVICE "SoftHDDevice-Osd3DModeService-v1.0"
|
#define OSD_3DMODE_SERVICE "SoftHDDevice-Osd3DModeService-v1.0"
|
||||||
|
|
||||||
enum
|
enum
|
||||||
@ -48,3 +49,17 @@ typedef struct
|
|||||||
{
|
{
|
||||||
int Mode;
|
int Mode;
|
||||||
} SoftHDDevice_Osd3DModeService_v1_0_t;
|
} 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;
|
||||||
|
Loading…
Reference in New Issue
Block a user