dmime: Implement band track IDirectMusicTrack_Play.
[wine.git] / include / bdatypes.h
blobfe594ac03d2dfae84d43267c7fc6c70dbcb187ca
1 /*
2 * Copyright 2013 André Hentschel
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef _BDATYPES_
20 #define _BDATYPES_
22 typedef struct _BDANODE_DESCRIPTOR
24 ULONG ulBdaNodeType;
25 GUID guidFunction;
26 GUID guidName;
27 } BDANODE_DESCRIPTOR, *PBDANODE_DESCRIPTOR;
29 typedef struct _BDA_SIGNAL_TIMEOUTS
31 ULONG ulCarrierTimeoutMs;
32 ULONG ulScanningTimeoutMs;
33 ULONG ulTuningTimeoutMs;
34 } BDA_SIGNAL_TIMEOUTS, *PBDA_SIGNAL_TIMEOUTS;
36 typedef struct _BDA_TEMPLATE_CONNECTION
38 ULONG FromNodeType;
39 ULONG FromNodePinType;
40 ULONG ToNodeType;
41 ULONG ToNodePinType;
42 } BDA_TEMPLATE_CONNECTION, *PBDA_TEMPLATE_CONNECTION;
44 typedef enum MEDIA_SAMPLE_CONTENT
46 MEDIA_TRANSPORT_PACKET,
47 MEDIA_ELEMENTARY_STREAM,
48 MEDIA_MPEG2_PSI,
49 MEDIA_TRANSPORT_PAYLOAD
50 } MEDIA_SAMPLE_CONTENT;
52 typedef struct
54 ULONG ulPID;
55 MEDIA_SAMPLE_CONTENT MediaSampleContent;
56 } PID_MAP;
58 typedef enum MUX_PID_TYPE
60 PID_OTHER = -1,
61 PID_ELEMENTARY_STREAM,
62 PID_MPEG2_SECTION_PSI_SI,
63 } MUX_PID_TYPE;
65 #include <pshpack2.h>
66 typedef struct _BDA_MUX_PIDLISTITEM
68 USHORT usPIDNumber;
69 USHORT usProgramNumber;
70 MUX_PID_TYPE ePIDType;
71 } BDA_MUX_PIDLISTITEM, *PBDA_MUX_PIDLISTITEM;
72 #include <poppack.h>
74 typedef enum BDA_CONDITIONALACCESS_REQUESTTYPE
76 CONDITIONALACCESS_ACCESS_UNSPECIFIED,
77 CONDITIONALACCESS_ACCESS_NOT_POSSIBLE,
78 CONDITIONALACCESS_ACCESS_POSSIBLE,
79 CONDITIONALACCESS_ACCESS_POSSIBLE_NO_STREAMING_DISRUPTION
80 } BDA_CONDITIONALACCESS_REQUESTTYPE;
82 typedef enum BDA_CONDITIONALACCESS_MMICLOSEREASON
84 CONDITIONALACCESS_UNSPECIFIED,
85 CONDITIONALACCESS_CLOSED_ITSELF,
86 CONDITIONALACCESS_TUNER_REQUESTED_CLOSE,
87 CONDITIONALACCESS_DIALOG_TIMEOUT,
88 CONDITIONALACCESS_DIALOG_FOCUS_CHANGE,
89 CONDITIONALACCESS_DIALOG_USER_DISMISSED,
90 CONDITIONALACCESS_DIALOG_USER_NOT_AVAILABLE
91 } BDA_CONDITIONALACCESS_MMICLOSEREASON;
93 typedef enum BDA_CONDITIONALACCESS_SESSION_RESULT
95 CONDITIONALACCESS_SUCCESSFULL,
96 CONDITIONALACCESS_ENDED_NOCHANGE,
97 CONDITIONALACCESS_ABORTED
98 } BDA_CONDITIONALACCESS_SESSION_RESULT;
100 typedef enum BDA_DISCOVERY_STATE
102 BDA_DISCOVERY_UNSPECIFIED,
103 BDA_DISCOVERY_REQUIRED,
104 BDA_DISCOVERY_COMPLETE
105 } BDA_DISCOVERY_STATE;
107 typedef enum ApplicationTypeType
109 SCTE28_ConditionalAccess,
110 SCTE28_POD_Host_Binding_Information,
111 SCTE28_IPService,
112 SCTE28_NetworkInterface_SCTE55_2,
113 SCTE28_NetworkInterface_SCTE55_1,
114 SCTE28_CopyProtection,
115 SCTE28_Diagnostic,
116 SCTE28_Undesignated,
117 SCTE28_Reserved,
118 } ApplicationTypeType;
120 typedef enum GuardInterval
122 BDA_GUARD_NOT_SET = -1,
123 BDA_GUARD_NOT_DEFINED,
124 BDA_GUARD_1_32,
125 BDA_GUARD_1_16,
126 BDA_GUARD_1_8,
127 BDA_GUARD_1_4,
128 BDA_GUARD_1_128,
129 BDA_GUARD_19_128,
130 BDA_GUARD_19_256,
131 BDA_GUARD_MAX,
132 } GuardInterval;
134 typedef enum TransmissionMode
136 BDA_XMIT_MODE_NOT_SET = -1,
137 BDA_XMIT_MODE_NOT_DEFINED,
138 BDA_XMIT_MODE_2K,
139 BDA_XMIT_MODE_8K,
140 BDA_XMIT_MODE_4K,
141 BDA_XMIT_MODE_2K_INTERLEAVED,
142 BDA_XMIT_MODE_4K_INTERLEAVED,
143 BDA_XMIT_MODE_1K,
144 BDA_XMIT_MODE_16K,
145 BDA_XMIT_MODE_32K,
146 BDA_XMIT_MODE_MAX,
147 } TransmissionMode;
149 typedef enum SpectralInversion
151 BDA_SPECTRAL_INVERSION_NOT_SET = -1,
152 BDA_SPECTRAL_INVERSION_NOT_DEFINED,
153 BDA_SPECTRAL_INVERSION_AUTOMATIC,
154 BDA_SPECTRAL_INVERSION_NORMAL,
155 BDA_SPECTRAL_INVERSION_INVERTED,
156 BDA_SPECTRAL_INVERSION_MAX
157 } SpectralInversion;
159 typedef enum BinaryConvolutionCodeRate
161 BDA_BCC_RATE_NOT_SET = -1,
162 BDA_BCC_RATE_NOT_DEFINED,
163 BDA_BCC_RATE_1_2,
164 BDA_BCC_RATE_2_3,
165 BDA_BCC_RATE_3_4,
166 BDA_BCC_RATE_3_5,
167 BDA_BCC_RATE_4_5,
168 BDA_BCC_RATE_5_6,
169 BDA_BCC_RATE_5_11,
170 BDA_BCC_RATE_7_8,
171 BDA_BCC_RATE_1_4,
172 BDA_BCC_RATE_1_3,
173 BDA_BCC_RATE_2_5,
174 BDA_BCC_RATE_6_7,
175 BDA_BCC_RATE_8_9,
176 BDA_BCC_RATE_9_10,
177 BDA_BCC_RATE_MAX,
178 } BinaryConvolutionCodeRate;
180 typedef enum Polarisation
182 BDA_POLARISATION_NOT_SET = -1,
183 BDA_POLARISATION_NOT_DEFINED,
184 BDA_POLARISATION_LINEAR_H,
185 BDA_POLARISATION_LINEAR_V,
186 BDA_POLARISATION_CIRCULAR_L,
187 BDA_POLARISATION_CIRCULAR_R,
188 BDA_POLARISATION_MAX,
189 } Polarisation;
191 typedef enum FECMethod
193 BDA_FEC_METHOD_NOT_SET = -1,
194 BDA_FEC_METHOD_NOT_DEFINED,
195 BDA_FEC_VITERBI,
196 BDA_FEC_RS_204_188,
197 BDA_FEC_LDPC,
198 BDA_FEC_BCH,
199 BDA_FEC_RS_147_130,
200 BDA_FEC_MAX,
201 } FECMethod;
203 typedef enum ModulationType
205 BDA_MOD_NOT_SET = -1,
206 BDA_MOD_NOT_DEFINED,
207 BDA_MOD_16QAM,
208 BDA_MOD_32QAM,
209 BDA_MOD_64QAM,
210 BDA_MOD_80QAM,
211 BDA_MOD_96QAM,
212 BDA_MOD_112QAM,
213 BDA_MOD_128QAM,
214 BDA_MOD_160QAM,
215 BDA_MOD_192QAM,
216 BDA_MOD_224QAM,
217 BDA_MOD_256QAM,
218 BDA_MOD_320QAM,
219 BDA_MOD_384QAM,
220 BDA_MOD_448QAM,
221 BDA_MOD_512QAM,
222 BDA_MOD_640QAM,
223 BDA_MOD_768QAM,
224 BDA_MOD_896QAM,
225 BDA_MOD_1024QAM,
226 BDA_MOD_QPSK,
227 BDA_MOD_BPSK,
228 BDA_MOD_OQPSK,
229 BDA_MOD_8VSB,
230 BDA_MOD_16VSB,
231 BDA_MOD_ANALOG_AMPLITUDE,
232 BDA_MOD_ANALOG_FREQUENCY,
233 BDA_MOD_8PSK,
234 BDA_MOD_RF,
235 BDA_MOD_16APSK,
236 BDA_MOD_32APSK,
237 BDA_MOD_NBC_QPSK,
238 BDA_MOD_NBC_8PSK,
239 BDA_MOD_DIRECTV,
240 BDA_MOD_ISDB_T_TMCC,
241 BDA_MOD_ISDB_S_TMCC,
242 BDA_MOD_MAX,
243 } ModulationType;
245 typedef enum RollOff
247 BDA_ROLL_OFF_NOT_SET = -1,
248 BDA_ROLL_OFF_NOT_DEFINED,
249 BDA_ROLL_OFF_20,
250 BDA_ROLL_OFF_25,
251 BDA_ROLL_OFF_35,
252 BDA_ROLL_OFF_MAX,
253 } RollOff;
255 typedef enum Pilot
257 BDA_PILOT_NOT_SET = -1,
258 BDA_PILOT_NOT_DEFINED,
259 BDA_PILOT_OFF,
260 BDA_PILOT_ON,
261 BDA_PILOT_MAX,
262 } Pilot;
264 #endif /* _BDATYPES_ */