6 #ifndef _INC_cAVIFileWriter_H
7 #define _INC_cAVIFileWriter_H
13 #include "../AV/cAVSink.h"
14 #include "../File/cRIFF.h"
27 static const int k_SuggestedBufferSec = 4;
54 virtual HRESULT OnHeaderClose()
override;
56 virtual HRESULT OnClose()
override;
#define GRAYLIB_LINK
Definition: GrayLibBase.h:35
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
Definition: cAVIFileIndex.h:83
Definition: cAVIFileWriter.h:20
MainAVIHeader m_avimh
Build this up to patch at the end.
Definition: cAVIFileWriter.h:39
cAVIFileIndex m_Index
index all the frames we get. Video + Audio. write this last.
Definition: cAVIFileWriter.h:42
UINT32 m_nAudioFrames
Patch this on file close.
Definition: cAVIFileWriter.h:35
bool m_bVideoCompressed
Definition: cAVIFileWriter.h:30
STREAM_POS_t m_nAudioHeader
Offset to the audio header. for patch on close.
Definition: cAVIFileWriter.h:34
RIFF_SIZE_t m_nMoviChunkSize
Total m_nDataSize of the FOURCC_movi chunk in the file as we build it.
Definition: cAVIFileWriter.h:41
STREAM_POS_t m_nVideoHeader
Offset to the video header. for patch on close.
Definition: cAVIFileWriter.h:32
cRIFFHeadX m_headRIFF
Definition: cAVIFileWriter.h:37
cRIFFHeadX m_headLIST
'movi' or 'hdrl'
Definition: cAVIFileWriter.h:38
bool m_bWriteOptional
write the optional parts. 'JUNK'+'strn'
Definition: cAVIFileWriter.h:29
UINT32 m_nVideoFrames
Patch this on file close.
Definition: cAVIFileWriter.h:33
Definition: cAVSink.h:130
Definition: cRIFFFormat.h:99
Definition: cRIFFFormat.h:143
Definition: cSurfaceInfo.h:308
Definition: cStream.h:126
UINT32 RIFF_SIZE_t
32 bit Size limit for any chunk
Definition: cRIFFFormat.h:17
ULONG_PTR STREAM_POS_t
NOT same as FILE_SIZE_t in 32 bit. Why not ?
Definition: cOSHandle.h:54
Definition: cAVIFileIndex.h:27