localspl: Add unixname port extension.
[wine.git] / dlls / qcap / qcap_private.h
blob140e56539b56ba3b8813bab1fee5e920e09cd842
1 /*
2 * DirectShow capture
4 * Copyright (C) 2005 Rolf Kalbermatter
5 * Copyright 2005 Maarten Lankhorst
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef _QCAP_PRIVATE_H_DEFINED
22 #define _QCAP_PRIVATE_H_DEFINED
24 #define COBJMACROS
25 #define NONAMELESSSTRUCT
26 #define NONAMELESSUNION
27 #include "dshow.h"
28 #include "winternl.h"
29 #include "wine/unixlib.h"
30 #include "wine/debug.h"
31 #include "wine/strmbase.h"
33 HRESULT audio_record_create(IUnknown *outer, IUnknown **out) DECLSPEC_HIDDEN;
34 HRESULT avi_compressor_create(IUnknown *outer, IUnknown **out) DECLSPEC_HIDDEN;
35 HRESULT avi_mux_create(IUnknown *outer, IUnknown **out) DECLSPEC_HIDDEN;
36 HRESULT capture_graph_create(IUnknown *outer, IUnknown **out) DECLSPEC_HIDDEN;
37 HRESULT file_writer_create(IUnknown *outer, IUnknown **out) DECLSPEC_HIDDEN;
38 HRESULT smart_tee_create(IUnknown *outer, IUnknown **out) DECLSPEC_HIDDEN;
39 HRESULT vfw_capture_create(IUnknown *outer, IUnknown **out) DECLSPEC_HIDDEN;
41 typedef UINT64 video_capture_device_t;
43 struct create_params
45 unsigned int index;
46 video_capture_device_t *device;
49 struct destroy_params
51 video_capture_device_t device;
54 struct check_format_params
56 video_capture_device_t device;
57 const AM_MEDIA_TYPE *mt;
60 struct set_format_params
62 video_capture_device_t device;
63 const AM_MEDIA_TYPE *mt;
66 struct get_format_params
68 video_capture_device_t device;
69 AM_MEDIA_TYPE *mt;
70 VIDEOINFOHEADER *format;
73 struct get_media_type_params
75 video_capture_device_t device;
76 unsigned int index;
77 AM_MEDIA_TYPE *mt;
78 VIDEOINFOHEADER *format;
81 struct get_caps_params
83 video_capture_device_t device;
84 unsigned int index;
85 AM_MEDIA_TYPE *mt;
86 VIDEOINFOHEADER *format;
87 VIDEO_STREAM_CONFIG_CAPS *caps;
90 struct get_caps_count_params
92 video_capture_device_t device;
93 int *count;
96 struct get_prop_range_params
98 video_capture_device_t device;
99 VideoProcAmpProperty property;
100 LONG *min;
101 LONG *max;
102 LONG *step;
103 LONG *default_value;
104 LONG *flags;
107 struct get_prop_params
109 video_capture_device_t device;
110 VideoProcAmpProperty property;
111 LONG *value;
112 LONG *flags;
115 struct set_prop_params
117 video_capture_device_t device;
118 VideoProcAmpProperty property;
119 LONG value;
120 LONG flags;
123 struct read_frame_params
125 video_capture_device_t device;
126 void *data;
129 enum unix_funcs
131 unix_create,
132 unix_destroy,
133 unix_check_format,
134 unix_set_format,
135 unix_get_format,
136 unix_get_media_type,
137 unix_get_caps,
138 unix_get_caps_count,
139 unix_get_prop_range,
140 unix_get_prop,
141 unix_set_prop,
142 unix_read_frame,
145 #endif