~ubuntu-branches/ubuntu/hardy/avidemux/hardy

« back to all changes in this revision

Viewing changes to avidemux/ADM_library/avifmt2.h

  • Committer: Bazaar Package Importer
  • Author(s): Matvey Kozhev
  • Date: 2007-12-18 13:53:04 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20071218135304-cdqec2lg2bglyz15
Tags: 1:2.4~preview3-0.0ubuntu1
* Upload to Ubuntu. (LP: #163287, LP: #126572)
* debian/changelog: re-added Ubuntu releases.
* debian/control:
  - Require debhelper >= 5.0.51 (for dh_icons) and imagemagick.
  - Build-depend on libsdl1.2-dev instead of libsdl-dev.
  - Build against newer libx264-dev. (LP: #138854)
  - Removed libamrnb-dev, not in Ubuntu yet.
* debian/rules:
  - Install all icon sizes, using convert (upstream installs none).
  - Added missing calls to dh_installmenu, dh_installman, dh_icons and
    dh_desktop.
* debian/menu, debian/avidemux-qt.menu:
  - Corrected package and executable names.
* debian/avidemux-common.install: Install icons.
* debian/avidemux.common.manpages: Install man/avidemux.1.
* debian/links, debian/avidemux-cli.links, debian/avidemux-gtk.links:
  - Link manpages to avidemux.1.gz.
* debian/install, debian/avidemux-qt.install, debian/avidemux-gtk.desktop,
  debian/avidemux-qt.desktop: Install desktop files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
                          avifmt2.h  -  description
3
 
                             -------------------
4
 
    begin                : Thu Nov 1 2001
5
 
    copyright            : (C) 2001 by mean
6
 
    email                : fixounet@free.fr
7
 
 
8
 
        This part of header is ripped directly from wine project
9
 
  See http://winehq.com to see more of their great work
10
 
 
11
 
 ***************************************************************************/
12
 
 
13
 
/***************************************************************************
14
 
 *                                                                         *
15
 
 *   This program is free software; you can redistribute it and/or modify  *
16
 
 *   it under the terms of the GNU General Public License as published by  *
17
 
 *   the Free Software Foundation; either version 2 of the License, or     *
18
 
 *   (at your option) any later version.                                   *
19
 
 *                                                                         *
20
 
 ***************************************************************************/
21
 
#ifndef __AVIFMT2__
22
 
#define __AVIFMT2__
23
 
 
24
 
#if !defined( WIN32_CLASH) || !defined(CYG_MANGLING)
25
 
typedef struct
26
 
{
27
 
    uint32_t            biSize;
28
 
    uint32_t    biWidth;
29
 
    uint32_t    biHeight;
30
 
    uint16_t            biPlanes;
31
 
    uint16_t            biBitCount;
32
 
    uint32_t            biCompression;
33
 
    uint32_t            biSizeImage;
34
 
    uint32_t    biXPelsPerMeter;
35
 
    uint32_t    biYPelsPerMeter;
36
 
    uint32_t            biClrUsed;
37
 
    uint32_t            biClrImportant;
38
 
} BITMAPINFOHEADER, *PBITMAPINFOHEADER, *LPBITMAPINFOHEADER;
39
 
typedef struct {
40
 
        BITMAPINFOHEADER bmiHeader;
41
 
        int     bmiColors[1];
42
 
} BITMAPINFO, *LPBITMAPINFO;
43
 
#endif //win32clash
44
 
 
45
 
void printBih(BITMAPINFOHEADER *bi);
46
 
/* Borrowed from vdub
47
 
        Thanks to avery lee */
48
 
#define AVI_INDEX_OF_CHUNKS 0X01
49
 
 
50
 
 
51
 
 
52
 
typedef struct _avistdindex_chunk {
53
 
/*      uint32_t                fcc;                                    // �ix##�
54
 
        DWORD                   cb;
55
 
*/
56
 
        uint16_t        wLongsPerEntry;         // must be sizeof(aIndex[0])/sizeof(DWORD)
57
 
        uint8_t         bIndexSubType;                  // must be 0
58
 
        uint8_t         bIndexType;                     // must be AVI_INDEX_OF_CHUNKS
59
 
        uint32_t        nEntriesInUse;          //
60
 
        uint32_t        dwChunkId;                      // �##dc� or �##db� or �##wb� etc..
61
 
/*      QUADWORD        qwBaseOffset;           // all dwOffsets in aIndex array are
62
 
                                                                                                                // relative to this
63
 
*/
64
 
        uint32_t  qw1,qw2;                      // MN.
65
 
        uint32_t        dwReserved3;                            // must be 0
66
 
        
67
 
} AVISTDINDEX, * PAVISTDINDEX;
68
 
 
69
 
 
70
 
 
71
 
#define AVI_KEY_FRAME 0x10
72
 
 #define AVI_B_FRAME             0x4000  // hopefully it is not used..
73
 
#endif
74
 
 
75
 
#include "ADM_audio/ADM_audiodef.h"
76
 
 
77
 
void Endian_AviMainHeader(MainAVIHeader *m);
78
 
void Endian_BitMapInfo( BITMAPINFOHEADER *b);
79
 
void Endian_AviStreamHeader(AVIStreamHeader *s);
80
 
void Endian_WavHeader(WAVHeader *w);
81
 
//void Endian_BitMapHeader( BITMAPHEADER *b);
82