f9e2dd316a397eaa16da5fd65f5c61268ebbb896
[platform/upstream/gst-plugins-good.git] / gst / avi / avi-ids.h
1 /* GStreamer
2  * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 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  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17  * Boston, MA 02111-1307, USA.
18  */
19
20 #ifndef __GST_AVI_H__
21 #define __GST_AVI_H__
22
23 #include <gst/gst.h>
24
25 typedef struct _gst_riff_avih {
26   guint32 us_frame;          /* microsec per frame */
27   guint32 max_bps;           /* byte/s overall */
28   guint32 pad_gran;          /* pad_granularity */
29   guint32 flags;
30 /* flags values */
31 #define GST_RIFF_AVIH_HASINDEX       0x00000010 /* has idx1 chunk */
32 #define GST_RIFF_AVIH_MUSTUSEINDEX   0x00000020 /* must use idx1 chunk to determine order */
33 #define GST_RIFF_AVIH_ISINTERLEAVED  0x00000100 /* AVI file is interleaved */
34 #define GST_RIFF_AVIH_WASCAPTUREFILE 0x00010000 /* specially allocated used for capturing real time video */
35 #define GST_RIFF_AVIH_COPYRIGHTED    0x00020000 /* contains copyrighted data */
36   guint32 tot_frames;        /* # of frames (all) */
37   guint32 init_frames;       /* initial frames (???) */
38   guint32 streams;
39   guint32 bufsize;           /* suggested buffer size */
40   guint32 width;
41   guint32 height;
42   guint32 scale;
43   guint32 rate;
44   guint32 start;
45   guint32 length;
46 } gst_riff_avih;
47
48 #endif /* __GST_AVI_H__ */