#include <RgbDataSrcInfo.h>
Inheritance diagram for Impala::Core::Stream::RgbDataSrcInfo:
Public Member Functions | |
RgbDataSrcInfo (int src, CString srcName, Util::Database *db, CString infoName="", bool newImpl=false) | |
virtual | ~RgbDataSrcInfo () |
virtual bool | ReadFrameData ()=0 |
virtual bool | CurIsIFrame () |
virtual bool | Valid () const |
Int64 | DumpHashValue (char *&buffer, const int maxChars, int bytesWritten, CString hash) const |
Int64 | DumpIndexHashes (char *buffer, const int maxChars) const |
Static Public Attributes | |
static const String | DUMMY_FRAME_HASH |
static const String | MISSING_FRAME_HASH |
Protected Member Functions | |
String | ReplaceWhite (String result) |
String | GetInfoFilePath (bool toWrite, bool silent=true) const |
Util::IOBuffer * | GetInfoIOBuffer (bool toWrite, bool silent=true) const |
void | InitInfo () |
bool | ReadInfo (bool silent=false) |
void | DumpIndex () |
void | WriteInfo () |
void | AddIndex (int fr, int key, UInt64 pos, CString hash) |
int | GetSeekableFrame (int fr) const |
void | SetKey (int fr, int key) |
UInt64 | GetPos (int fr) const |
int | GetFrameFromHash (String hash) const |
void | SetPos (int fr, UInt64 pos) |
virtual String | FrameHash () const |
virtual String | FrameHash (int fr) const |
virtual const int | BadFrames () const |
virtual bool | FrameValid (int frameNr) const |
bool | MarkBadFrame (int frameNr) |
Protected Attributes | |
Util::Database * | mDb |
IndexTableType * | mIndex |
Private Types | |
typedef Table::TableTem< Column::ColumnTem< Int32 >, Column::ColumnTem< Int32 >, Column::ColumnTem< UInt64 >, Column::FixedStringColumn > | IndexTableType |
typedef Column::FixedStringColumn::ColElemType | FixedString |
Private Attributes | |
String | mFormatStr |
String | mInfoPath |
String | mInfoVersion |
bool | mIndexInPlace |
std::vector< int > | mBadFrameNrs |
Persistency::RgbDataSrcLocator | mLoc |
ILOG_VAR_DEC | |
Static Private Attributes | |
static const int | BUFFER_SIZE = 100000 |
Definition at line 27 of file RgbDataSrcInfo.h.