ReactOS 0.4.16-dev-340-g0540c21
aviriff.h File Reference
#include <pshpack2.h>
#include <poppack.h>
Include dependency graph for aviriff.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _riffchunk
 
struct  _rifflist
 
struct  _avimainheader
 
struct  _aviextheader
 
struct  _avistreamheader
 
struct  _avioldindex
 
struct  _avioldindex::_avioldindex_entry
 
union  _timecode
 
struct  _timecodedata
 
struct  _avimetaindex
 
struct  _avisuperindex
 
struct  _avisuperindex::_avisuperindex_entry
 
struct  _avistdindex_entry
 
struct  _avistdindex
 
struct  _avitimedindex_entry
 
struct  _avitimedindex
 
struct  _avitimecodeindex
 
struct  _avitcdlindex_entryA
 
struct  _avitcdlindex_entryW
 
struct  _avitcdlindexA
 
struct  _avitcdlindexW
 
struct  _avifieldindex_chunk
 
struct  _avifieldindex_chunk::_avifieldindex_entry
 

Macros

#define FCC(ch0, ch1, ch2, ch3)
 
#define RIFFROUND(cb)   ((cb) + ((cb)&1))
 
#define RIFFNEXT(pChunk)   (LPRIFFCHUNK)((LPBYTE)(pChunk)+sizeof(RIFFCHUNK)+RIFFROUND(((LPRIFFCHUNK)pChunk)->cb))
 
#define AVIF_HASINDEX   0x00000010
 
#define AVIF_MUSTUSEINDEX   0x00000020
 
#define AVIF_ISINTERLEAVED   0x00000100
 
#define AVIF_TRUSTCKTYPE   0x00000800
 
#define AVIF_WASCAPTUREFILE   0x00010000
 
#define AVIF_COPYRIGHTED   0x00020000
 
#define ckidMAINAVIHEADER   FCC('a','v','i','h')
 
#define ckidODML   FCC('o','d','m','l')
 
#define ckidAVIEXTHEADER   FCC('d','m','l','h')
 
#define ckidSTREAMLIST   FCC('s','t','r','l')
 
#define AVISF_DISABLED   0x00000001
 
#define AVISF_VIDEO_PALCHANGES   0x00010000
 
#define ckidSTREAMHEADER   FCC('s','t','r','h')
 
#define streamtypeVIDEO   FCC('v','i','d','s')
 
#define streamtypeAUDIO   FCC('a','u','d','s')
 
#define streamtypeMIDI   FCC('m','i','d','s')
 
#define streamtypeTEXT   FCC('t','x','t','s')
 
#define ckidSTREAMFORMAT   FCC('s','t','r','f')
 
#define ckidAVIOLDINDEX   FCC('i','d','x','1')
 
#define AVIIF_LIST   0x00000001
 
#define AVIIF_KEYFRAME   0x00000010
 
#define AVIIF_NO_TIME   0x00000100
 
#define AVIIF_COMPRESSOR   0x0FFF0000
 
#define TIMECODE_RATE_30DROP   0
 
#define TIMECODE_SMPTE_BINARY_GROUP   0x07
 
#define TIMECODE_SMPTE_COLOR_FRAME   0x08
 
#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
 
#define ckidAVISUPERINDEX   FCC('i','n','d','x')
 
#define AVISTDINDEX_DELTAFRAME   (0x80000000)
 
#define AVISTDINDEX_SIZEMASK   (~0x80000000)
 
#define AVITCDLINDEX_ENTRY   WINELIB_NAME_AW(AVITCDLINDEX_ENTRY)
 
#define AVITCDLINDEX   WINELIB_NAME_AW(AVITCDLINDEX)
 

Typedefs

typedef struct _riffchunk RIFFCHUNK
 
typedef struct _riffchunkLPRIFFCHUNK
 
typedef struct _rifflist RIFFLIST
 
typedef struct _rifflistLPRIFFLIST
 
typedef struct _avimainheader AVIMAINHEADER
 
typedef struct _aviextheader AVIEXTHEADER
 
typedef struct _avistreamheader AVISTREAMHEADER
 
typedef struct _avioldindex AVIOLDINDEX
 
typedef union _timecode TIMECODE
 
typedef struct _timecodedata TIMECODEDATA
 
typedef struct _avimetaindex AVIMETAINDEX
 
typedef struct _avisuperindex AVISUPERINDEX
 
typedef struct _avistdindex_entry AVISTDINDEX_ENTRY
 
typedef struct _avistdindex AVISTDINDEX
 
typedef struct _avitimedindex_entry AVITIMEDINDEX_ENTRY
 
typedef struct _avitimedindex AVITIMEDINDEX
 
typedef struct _avitimecodeindex AVITIMECODEINDEX
 
typedef struct _avitcdlindex_entryA AVITCDLINDEX_ENTRYA
 
typedef struct _avitcdlindex_entryW AVITCDLINDEX_ENTRYW
 
typedef struct _avitcdlindexA AVITCDLINDEXA
 
typedef struct _avitcdlindexW AVITCDLINDEXW
 
typedef struct _avifieldindex_chunk AVIFIELDINDEX
 
typedef struct _avifieldindex_chunkPAVIFIELDINDEX
 

Macro Definition Documentation

◆ AVI_INDEX_IS_DATA

#define AVI_INDEX_IS_DATA   0x80

Definition at line 176 of file aviriff.h.

◆ AVI_INDEX_OF_CHUNKS

#define AVI_INDEX_OF_CHUNKS   0x01

Definition at line 173 of file aviriff.h.

◆ AVI_INDEX_OF_INDEXES

#define AVI_INDEX_OF_INDEXES   0x00

Definition at line 172 of file aviriff.h.

◆ AVI_INDEX_OF_SUB_2FIELD

#define AVI_INDEX_OF_SUB_2FIELD   0x03

Definition at line 175 of file aviriff.h.

◆ AVI_INDEX_OF_TIMED_CHUNKS

#define AVI_INDEX_OF_TIMED_CHUNKS   0x02

Definition at line 174 of file aviriff.h.

◆ AVI_INDEX_SUB_2FIELD

#define AVI_INDEX_SUB_2FIELD   0x01

Definition at line 179 of file aviriff.h.

◆ AVI_INDEX_SUB_DEFAULT

#define AVI_INDEX_SUB_DEFAULT   0x00

Definition at line 178 of file aviriff.h.

◆ AVIF_COPYRIGHTED

#define AVIF_COPYRIGHTED   0x00020000

Definition at line 51 of file aviriff.h.

◆ AVIF_HASINDEX

#define AVIF_HASINDEX   0x00000010

Definition at line 46 of file aviriff.h.

◆ AVIF_ISINTERLEAVED

#define AVIF_ISINTERLEAVED   0x00000100

Definition at line 48 of file aviriff.h.

◆ AVIF_MUSTUSEINDEX

#define AVIF_MUSTUSEINDEX   0x00000020

Definition at line 47 of file aviriff.h.

◆ AVIF_TRUSTCKTYPE

#define AVIF_TRUSTCKTYPE   0x00000800

Definition at line 49 of file aviriff.h.

◆ AVIF_WASCAPTUREFILE

#define AVIF_WASCAPTUREFILE   0x00010000

Definition at line 50 of file aviriff.h.

◆ AVIIF_COMPRESSOR

#define AVIIF_COMPRESSOR   0x0FFF0000

Definition at line 133 of file aviriff.h.

◆ AVIIF_KEYFRAME

#define AVIIF_KEYFRAME   0x00000010

Definition at line 131 of file aviriff.h.

◆ AVIIF_LIST

#define AVIIF_LIST   0x00000001

Definition at line 130 of file aviriff.h.

◆ AVIIF_NO_TIME

#define AVIIF_NO_TIME   0x00000100

Definition at line 132 of file aviriff.h.

◆ AVISF_DISABLED

#define AVISF_DISABLED   0x00000001

Definition at line 84 of file aviriff.h.

◆ AVISF_VIDEO_PALCHANGES

#define AVISF_VIDEO_PALCHANGES   0x00010000

Definition at line 85 of file aviriff.h.

◆ AVISTDINDEX_DELTAFRAME

#define AVISTDINDEX_DELTAFRAME   (0x80000000)

Definition at line 211 of file aviriff.h.

◆ AVISTDINDEX_SIZEMASK

#define AVISTDINDEX_SIZEMASK   (~0x80000000)

Definition at line 212 of file aviriff.h.

◆ AVITCDLINDEX

#define AVITCDLINDEX   WINELIB_NAME_AW(AVITCDLINDEX)

Definition at line 307 of file aviriff.h.

◆ AVITCDLINDEX_ENTRY

#define AVITCDLINDEX_ENTRY   WINELIB_NAME_AW(AVITCDLINDEX_ENTRY)

Definition at line 306 of file aviriff.h.

◆ ckidAVIEXTHEADER

#define ckidAVIEXTHEADER   FCC('d','m','l','h')

Definition at line 72 of file aviriff.h.

◆ ckidAVIOLDINDEX

#define ckidAVIOLDINDEX   FCC('i','d','x','1')

Definition at line 127 of file aviriff.h.

◆ ckidAVISUPERINDEX

#define ckidAVISUPERINDEX   FCC('i','n','d','x')

Definition at line 194 of file aviriff.h.

◆ ckidMAINAVIHEADER

#define ckidMAINAVIHEADER   FCC('a','v','i','h')

Definition at line 53 of file aviriff.h.

◆ ckidODML

#define ckidODML   FCC('o','d','m','l')

Definition at line 71 of file aviriff.h.

◆ ckidSTREAMFORMAT

#define ckidSTREAMFORMAT   FCC('s','t','r','f')

Definition at line 125 of file aviriff.h.

◆ ckidSTREAMHEADER

#define ckidSTREAMHEADER   FCC('s','t','r','h')

Definition at line 88 of file aviriff.h.

◆ ckidSTREAMLIST

#define ckidSTREAMLIST   FCC('s','t','r','l')

Definition at line 81 of file aviriff.h.

◆ FCC

#define FCC (   ch0,
  ch1,
  ch2,
  ch3 
)
Value:
( (DWORD)(BYTE)(ch0) | ( (DWORD)(BYTE)(ch1) << 8 ) | \
( (DWORD)(BYTE)(ch2) << 16 ) | ( (DWORD)(BYTE)(ch3) << 24 ) )
unsigned long DWORD
Definition: ntddk_ex.h:95
#define DWORD
Definition: nt_native.h:44
unsigned char BYTE
Definition: xxhash.c:193

Definition at line 38 of file aviriff.h.

◆ RIFFNEXT

#define RIFFNEXT (   pChunk)    (LPRIFFCHUNK)((LPBYTE)(pChunk)+sizeof(RIFFCHUNK)+RIFFROUND(((LPRIFFCHUNK)pChunk)->cb))

Definition at line 43 of file aviriff.h.

◆ RIFFROUND

#define RIFFROUND (   cb)    ((cb) + ((cb)&1))

Definition at line 42 of file aviriff.h.

◆ streamtypeAUDIO

#define streamtypeAUDIO   FCC('a','u','d','s')

Definition at line 93 of file aviriff.h.

◆ streamtypeMIDI

#define streamtypeMIDI   FCC('m','i','d','s')

Definition at line 94 of file aviriff.h.

◆ streamtypeTEXT

#define streamtypeTEXT   FCC('t','x','t','s')

Definition at line 95 of file aviriff.h.

◆ streamtypeVIDEO

#define streamtypeVIDEO   FCC('v','i','d','s')

Definition at line 92 of file aviriff.h.

◆ TIMECODE_RATE_30DROP

#define TIMECODE_RATE_30DROP   0

Definition at line 159 of file aviriff.h.

◆ TIMECODE_SMPTE_BINARY_GROUP

#define TIMECODE_SMPTE_BINARY_GROUP   0x07

Definition at line 162 of file aviriff.h.

◆ TIMECODE_SMPTE_COLOR_FRAME

#define TIMECODE_SMPTE_COLOR_FRAME   0x08

Definition at line 163 of file aviriff.h.

Typedef Documentation

◆ AVIEXTHEADER

◆ AVIFIELDINDEX

◆ AVIMAINHEADER

◆ AVIMETAINDEX

◆ AVIOLDINDEX

◆ AVISTDINDEX

◆ AVISTDINDEX_ENTRY

◆ AVISTREAMHEADER

◆ AVISUPERINDEX

◆ AVITCDLINDEX_ENTRYA

◆ AVITCDLINDEX_ENTRYW

◆ AVITCDLINDEXA

◆ AVITCDLINDEXW

◆ AVITIMECODEINDEX

◆ AVITIMEDINDEX

◆ AVITIMEDINDEX_ENTRY

◆ LPRIFFCHUNK

◆ LPRIFFLIST

◆ PAVIFIELDINDEX

◆ RIFFCHUNK

◆ RIFFLIST

◆ TIMECODE

typedef union _timecode TIMECODE

◆ TIMECODEDATA