2 * Copyright (C) 2008 Maarten Lankhorst
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 __DVDMEDIA_H__
20 #define __DVDMEDIA_H__
22 #define AMCONTROL_USED 0x00000001
23 #define AMCONTROL_PAD_TO_4x3 0x00000002
24 #define AMCONTROL_PAD_TO_16x9 0x00000004
26 typedef struct tagVIDEOINFOHEADER2
{
31 REFERENCE_TIME AvgTimePerFrame
;
32 DWORD dwInterlaceFlags
;
33 DWORD dwCopyProtectFlags
;
34 DWORD dwPictAspectRatioX
;
35 DWORD dwPictAspectRatioY
;
41 BITMAPINFOHEADER bmiHeader
;
44 typedef struct tagMPEG2VIDEOINFO
{
46 DWORD dwStartTimeCode
;
47 DWORD cbSequenceHeader
;
51 DWORD dwSequenceHeader
[1];
54 #endif /* __DVDMEDIA_H__ */