#include <avi.h>
Inheritance diagram for AVI2File:

Public Member Functions | |
| AVI2File () | |
| virtual | ~AVI2File () |
| virtual void | Init (int format, int sampleFrequency, int indexType) |
| Initialize the AVI structure to its initial state, either for PAL or NTSC format. | |
| virtual bool | WriteFrame (const Frame &frame) |
| Write a DV video frame. | |
| virtual void | WriteRIFF (void) |
| virtual void | setDVINFO (DVINFO &) |
Private Member Functions | |
| AVI2File (const AVI2File &) | |
| AVI2File & | operator= (const AVI2File &) |
Private Attributes | |
| BITMAPINFOHEADER | bitmapinfo |
| WAVEFORMATEX | waveformatex |
This file type contains both audio and video tracks. It is therefore more compatible to certain Windows programs, which expect any AVI having both audio and video tracks. The video tracks contain the raw DV data (as in type 1) and the extracted audio tracks.
Note that because the DV data contains audio information anyway, this means duplication of data and a slight increase of file size.
| AVI2File::AVI2File | ( | ) |
| AVI2File::~AVI2File | ( | ) | [virtual] |
| AVI2File::AVI2File | ( | const AVI2File & | ) | [private] |
| void AVI2File::Init | ( | int | format, | |
| int | sampleFrequency, | |||
| int | indexType | |||
| ) | [virtual] |
Initialize the AVI structure to its initial state, either for PAL or NTSC format.
Initialize the AVIFile attributes: mainHdr, indx, ix00, idx1
| format | pass AVI_PAL or AVI_NTSC | |
| sampleFrequency | the sample frequency of the audio content | |
| indexType | pass AVI_SMALL_INDEX or AVI_LARGE_INDEX |
Reimplemented from AVIFile.
| void AVI2File::setDVINFO | ( | DVINFO & | ) | [virtual] |
Reimplemented from AVIFile.
| bool AVI2File::WriteFrame | ( | const Frame & | frame | ) | [virtual] |
| void AVI2File::WriteRIFF | ( | void | ) | [virtual] |
Reimplemented from AVIFile.
BITMAPINFOHEADER AVI2File::bitmapinfo [private] |
WAVEFORMATEX AVI2File::waveformatex [private] |
1.4.7