summaryrefslogtreecommitdiff
path: root/include/qhy/virtualwdm.h
blob: 2e48cf22063ff73f34d22e183cc43b67d9cd8b54 (plain)
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
/*
 QHYCCD SDK
 
 Copyright (c) 2014 QHYCCD.
 All Rights Reserved.
 
 This program 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; either version 2 of the License, or (at your option)
 any later version.
 
 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 General Public License for
 more details.
 
 You should have received a copy of the GNU General Public License along with
 this program; if not, write to the Free Software Foundation, Inc., 59
 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 The full GNU General Public License is included in this distribution in the
 file called LICENSE.
 */

#include "qhybase.h"
#include "stdint.h"

#ifdef WIN32

EXPORTC uint32_t STDCALL VirutalCamInit(qhyccd_handle *h);

EXPORTC uint32_t STDCALL VirualCamRelease();

EXPORTC uint32_t STDCALL VirualCamPlayVideoDevice(int32_t no);

EXPORTC uint32_t STDCALL VirualCamPlayBuffer(uint8_t *buffer,uint32_t width,uint32_t height);

EXPORTC uint32_t STDCALL VirualCamAddOverlay(bool on,uint8_t *buffer,uint32_t width,uint32_t height);

EXPORTC uint32_t STDCALL VirualCamAddText(bool on,char *oltext,char *ftname,int32_t ftsize,int32_t ftstyle,int32_t ftcolor,int32_t bkcolor,int32_t px,int32_t py,int32_t bktype,int32_t whichone);

EXPORTC uint32_t STDCALL VirualCamStopPlay();

EXPORTC uint32_t STDCALL VirualCamChnageDefaultSettings(uint32_t fps,uint8_t videosize);

EXPORTC uint32_t STDCALL VirtualCamGet_CurrentVideoDuration(uint32_t *duration);

EXPORTC uint32_t STDCALL VirtualCamGet_CurrentVideoPosition(uint32_t *position);

EXPORTC uint32_t STDCALL VirtualCamGet_IsPlaying(bool *isplaying);

#endif