![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cAVIFileIndex.h>
Public Member Functions | |
| cAVIFileIndex () | |
| ~cAVIFileIndex () | |
| void | AddFrame (const AVIINDEXENTRY &indexentry) |
| const AVIINDEXENTRY * | FindFrame (RIFF_SIZE_t dwChunkOffset) const |
| HRESULT | FlushIndexChunk (cStreamOutput *pSink) |
| ITERATE_t | get_FramesTotal () const noexcept |
| size_t | get_ChunkSize () const noexcept |
Static Public Attributes | |
| static const FOURCC | k_fccVideoB = ((DWORD)(BYTE)( '0' ) | ((DWORD)(BYTE)( '0' ) << 8) | ((DWORD)(BYTE)( 'd' ) << 16) | ((DWORD)(BYTE)( 'b' ) << 24 )) |
| static const FOURCC | k_fccVideoC = ((DWORD)(BYTE)( '0' ) | ((DWORD)(BYTE)( '0' ) << 8) | ((DWORD)(BYTE)( 'd' ) << 16) | ((DWORD)(BYTE)( 'c' ) << 24 )) |
| static const FOURCC | k_fccAudio = ((DWORD)(BYTE)( '0' ) | ((DWORD)(BYTE)( '1' ) << 8) | ((DWORD)(BYTE)( 'w' ) << 16) | ((DWORD)(BYTE)( 'b' ) << 24 )) |
Create an index (of frames) for an AVI file/stream
| GrayLib::cAVIFileIndex::cAVIFileIndex | ( | ) |
| GrayLib::cAVIFileIndex::~cAVIFileIndex | ( | ) |
| void GrayLib::cAVIFileIndex::AddFrame | ( | const AVIINDEXENTRY & | indexentry | ) |
Add a single index to the array. update index.
| const AVIINDEXENTRY * GrayLib::cAVIFileIndex::FindFrame | ( | RIFF_SIZE_t | dwChunkOffset | ) | const |
Find the dwChunkOffset in m_IndexQ for finding KeyFrame.
| HRESULT GrayLib::cAVIFileIndex::FlushIndexChunk | ( | cStreamOutput * | pSink | ) |
Write index to pSink. Release memory that index took.
|
inlinenoexcept |
NOT including the chunk overhead or LIST FOURCC.
|
inlinenoexcept |
|
static |
|
static |
|
static |