OSDN Git Service

7a43f01ab865115371ee55558525994d199554ad
[mingw/mingw-org-wsl.git] / include / vptype.h
1 /**
2  * @file vptype.h
3  * @copy 2012 MinGW.org project
4  *
5  * Permission is hereby granted, free of charge, to any person obtaining a
6  * copy of this software and associated documentation files (the "Software"),
7  * to deal in the Software without restriction, including without limitation
8  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9  * and/or sell copies of the Software, and to permit persons to whom the
10  * Software is furnished to do so, subject to the following conditions:
11  * 
12  * The above copyright notice and this permission notice (including the next
13  * paragraph) shall be included in all copies or substantial portions of the
14  * Software.
15  * 
16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22  * DEALINGS IN THE SOFTWARE.
23  */
24 #ifndef _VPTYPE_H
25 #define _VPTYPE_H
26 #pragma GCC system_header
27
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31
32 /*--- DirectShow Reference - DirectShow Enumerated Types */
33 typedef enum _AMVP_MODE {
34         AMVP_MODE_WEAVE,
35         AMVP_MODE_BOBINTERLEAVED,
36         AMVP_MODE_BOBNONINTERLEAVED,
37         AMVP_MODE_SKIPEVEN,
38         AMVP_MODE_SKIPODD
39 } AMVP_MODE;
40 typedef enum _AMVP_SELECT_FORMAT_BY {
41         AMVP_DO_NOT_CARE,
42         AMVP_BEST_BANDWIDTH,
43         AMVP_INPUT_SAME_AS_OUTPUT
44 } AMVP_SELECT_FORMAT_BY;
45 /*--- DirectShow Reference - DirectShow Structures */
46 typedef struct _AMVPDIMINFO{
47         DWORD dwFieldWidth;
48         DWORD dwFieldHeight;
49         DWORD dwVBIWidth;
50         DWORD dwVBIHeight;
51         RECT rcValidRegion;
52 } AMVPDIMINFO,*LPAMVPDIMINFO;
53 typedef struct _AMVPDATAINFO{
54         DWORD dwSize;
55         DWORD dwMicrosecondsPerField;
56         AMVPDIMINFO amvpDimInfo;
57         DWORD dwPictAspectRatioX;
58         DWORD dwPictAspectRatioY;
59         BOOL bEnableDoubleClock;
60         BOOL bEnableVACT;
61         BOOL bDataIsInterlaced;
62         LONG lHalfLinesOdd;
63         BOOL bFieldPolarityInverted;
64         DWORD dwNumLinesInVREF;
65         LONG lHalfLinesEven;
66         DWORD dwReserved1;
67 } AMVPDATAINFO,*LPAMVPDATAINFO;
68 typedef struct _AMVPSIZE{
69         DWORD dwWidth;
70         DWORD dwHeight;
71 } AMVPSIZE,*LPAMVPSIZE;
72
73 #ifdef __cplusplus
74 }
75 #endif
76 #endif