~steve-sk2/mingw-w64/oneiric

« back to all changes in this revision

Viewing changes to mingw-w64-headers/direct-x/include/dvdmedia.h

  • Committer: Bazaar Package Importer
  • Author(s): Stephen Kitt
  • Date: 2010-11-18 00:04:46 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101118000446-xe24b423su55onyl
Tags: 1.0+20101003-1
* New maintainer. (Closes: #594371.)
* New upstream snapshot:
  - Includes getopt.h. (Closes: #569914.)
* Build g++ for Win64. (Closes: #600451.)
* Standards-Version 3.9.1 (new packaging).
* Include patch from
  http://mingw-w64.svn.sourceforge.net/viewvc/mingw-w64?view=revision&revision=3715
  as suggested by Rafaël Carré.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
#include <_mingw_dxhelper.h>
 
23
 
 
24
#define AMCONTROL_USED 0x00000001
 
25
#define AMCONTROL_PAD_TO_4x3 0x00000002
 
26
#define AMCONTROL_PAD_TO_16x9 0x00000004
 
27
 
 
28
typedef struct tagVIDEOINFOHEADER2 {
 
29
    RECT rcSource;
 
30
    RECT rcTarget;
 
31
    DWORD dwBitRate;
 
32
    DWORD dwBitErrorRate;
 
33
    REFERENCE_TIME AvgTimePerFrame;
 
34
    DWORD dwInterlaceFlags;
 
35
    DWORD dwCopyProtectFlags;
 
36
    DWORD dwPictAspectRatioX;
 
37
    DWORD dwPictAspectRatioY;
 
38
    union {
 
39
        DWORD dwControlFlags;
 
40
        DWORD dwReserved1;
 
41
    } DUMMYUNIONNAME;
 
42
    DWORD dwReserved2;
 
43
    BITMAPINFOHEADER bmiHeader;
 
44
} VIDEOINFOHEADER2;
 
45
 
 
46
typedef struct tagMPEG2VIDEOINFO {
 
47
  VIDEOINFOHEADER2 hdr;
 
48
  DWORD            dwStartTimeCode;
 
49
  DWORD            cbSequenceHeader;
 
50
  DWORD            dwProfile;
 
51
  DWORD            dwLevel;
 
52
  DWORD            dwFlags;
 
53
  DWORD            dwSequenceHeader[1];
 
54
} MPEG2VIDEOINFO;
 
55
 
 
56
#endif /* __DVDMEDIA_H__ */