aviriff.h revision af062818b47340eef15700d2f0211576ba3506ee
/*
* Copyright (C) 2003 Robert Shearman
* Copyright (C) 2008 Maarten Lankhorst
*
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* All definitions here are packed structures of on-disk formats */
#include <pshpack2.h>
typedef struct _riffchunk
{
} RIFFCHUNK, * LPRIFFCHUNK;
typedef struct _rifflist
{
} RIFFLIST, * LPRIFFLIST;
#define RIFFNEXT(pChunk) (LPRIFFCHUNK)((LPBYTE)(pChunk)+sizeof(RIFFCHUNK)+RIFFROUND(((LPRIFFCHUNK)pChunk)->cb))
/* flags for dwFlags member of AVIMAINHEADER */
#define AVIF_HASINDEX 0x00000010
#define AVIF_MUSTUSEINDEX 0x00000020
#define AVIF_ISINTERLEAVED 0x00000100
#define AVIF_TRUSTCKTYPE 0x00000800
#define AVIF_WASCAPTUREFILE 0x00010000
#define AVIF_COPYRIGHTED 0x00020000
typedef struct _avimainheader
{
typedef struct _aviextheader
{
} AVIEXTHEADER;
/* flags for dwFlags member of AVISTREAMHEADER */
#define AVISF_DISABLED 0x00000001
#define AVISF_VIDEO_PALCHANGES 0x00010000
#ifndef ckidSTREAMHEADER
#endif
#ifndef streamtypeVIDEO
#endif
typedef struct _avistreamheader
{
struct
{
short int left;
short int top;
short int right;
short int bottom;
} rcFrame;
#ifndef ckidSTREAMFORMAT
#endif
/* flags for dwFlags member of _avioldindex_entry */
#define AVIIF_LIST 0x00000001
#define AVIIF_KEYFRAME 0x00000010
#define AVIIF_NO_TIME 0x00000100
#define AVIIF_COMPRESSOR 0x0FFF0000
typedef struct _avioldindex
{
struct _avioldindex_entry
{
} aIndex[ANYSIZE_ARRAY];
} AVIOLDINDEX;
typedef union _timecode
{
struct
{
} TIMECODE;
#define TIMECODE_RATE_30DROP 0
/* flags for dwSMPTEflags member of TIMECODEDATA */
#define TIMECODE_SMPTE_BINARY_GROUP 0x07
#define TIMECODE_SMPTE_COLOR_FRAME 0x08
typedef struct _timecodedata
{
} TIMECODEDATA;
#define AVI_INDEX_OF_INDEXES 0x00
#define AVI_INDEX_OF_CHUNKS 0x01
#define AVI_INDEX_OF_TIMED_CHUNKS 0x02
#define AVI_INDEX_OF_SUB_2FIELD 0x03
#define AVI_INDEX_IS_DATA 0x80
#define AVI_INDEX_SUB_DEFAULT 0x00
#define AVI_INDEX_SUB_2FIELD 0x01
typedef struct _avimetaindex
{
} AVIMETAINDEX;
typedef struct _avisuperindex {
struct _avisuperindex_entry {
} aIndex[ANYSIZE_ARRAY];
#define AVISTDINDEX_DELTAFRAME (0x80000000)
#define AVISTDINDEX_SIZEMASK (~0x80000000)
typedef struct _avistdindex_entry {
typedef struct _avistdindex {
} AVISTDINDEX;
typedef struct _avitimedindex_entry {
typedef struct _avitimedindex {
/* DWORD adwTrailingFill[ANYSIZE_ARRAY]; */
typedef struct _avitimecodeindex {
typedef struct _avitcdlindex_entryA {
typedef struct _avitcdlindex_entryW {
typedef struct _avitcdlindexA {
/* DWORD adwTrailingFill[ANYSIZE_ARRAY]; */
typedef struct _avitcdlindexW {
/* DWORD adwTrailingFill[ANYSIZE_ARRAY]; */
typedef struct _avifieldindex_chunk {
struct _avifieldindex_entry {
} aIndex[ANYSIZE_ARRAY];
} AVIFIELDINDEX, * PAVIFIELDINDEX;
#include <poppack.h>