ReactOS 0.4.17-dev-966-gf06eace
dvdmedia.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2008 Maarten Lankhorst
3 *
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.
8 *
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.
13 *
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
17 */
18
19#ifndef __DVDMEDIA_H__
20#define __DVDMEDIA_H__
21
22#define AMCONTROL_USED 0x00000001
23#define AMCONTROL_PAD_TO_4x3 0x00000002
24#define AMCONTROL_PAD_TO_16x9 0x00000004
25#define AMCONTROL_COLORINFO_PRESENT 0x00000080
26
27typedef struct tagVIDEOINFOHEADER2 {
37 union {
44
45typedef struct tagMPEG2VIDEOINFO {
54
55#define AMINTERLACE_IsInterlaced 0x0001
56#define AMINTERLACE_1FieldPerSample 0x0002
57#define AMINTERLACE_Field1First 0x0004
58#define AMINTERLACE_UNUSED 0x0008
59#define AMINTERLACE_FieldPatField1Only 0x0000
60#define AMINTERLACE_FieldPatField2Only 0x0010
61#define AMINTERLACE_FieldPatBothRegular 0x0020
62#define AMINTERLACE_FieldPatBothIrregular 0x0030
63#define AMINTERLACE_FieldPatternMask 0x0030
64#define AMINTERLACE_DisplayModeBobOnly 0x0000
65#define AMINTERLACE_DisplayModeWeaveOnly 0x0040
66#define AMINTERLACE_DisplayModeBobOrWeave 0x0080
67#define AMINTERLACE_DisplayModeMask 0x00c0
68
69#endif /* __DVDMEDIA_H__ */
LONGLONG REFERENCE_TIME
Definition: dmusicks.h:9
struct tagMPEG2VIDEOINFO MPEG2VIDEOINFO
struct tagVIDEOINFOHEADER2 VIDEOINFOHEADER2
unsigned long DWORD
Definition: ntddk_ex.h:95
Definition: dcommon.idl:28
DWORD cbSequenceHeader
Definition: dvdmedia.h:48
VIDEOINFOHEADER2 hdr
Definition: dvdmedia.h:46
DWORD dwSequenceHeader[1]
Definition: dvdmedia.h:52
DWORD dwStartTimeCode
Definition: dvdmedia.h:47
DWORD dwCopyProtectFlags
Definition: dvdmedia.h:34
DWORD dwPictAspectRatioX
Definition: dvdmedia.h:35
DWORD dwInterlaceFlags
Definition: dvdmedia.h:33
DWORD dwBitErrorRate
Definition: dvdmedia.h:31
union tagVIDEOINFOHEADER2::@3539 DUMMYUNIONNAME
DWORD dwPictAspectRatioY
Definition: dvdmedia.h:36
REFERENCE_TIME AvgTimePerFrame
Definition: dvdmedia.h:32
DWORD dwControlFlags
Definition: dvdmedia.h:38
BITMAPINFOHEADER bmiHeader
Definition: dvdmedia.h:42