Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Impala::Core::Stream::RgbDataSrcInfo Class Reference

#include <RgbDataSrcInfo.h>

Inheritance diagram for Impala::Core::Stream::RgbDataSrcInfo:

Inheritance graph
[legend]
Collaboration diagram for Impala::Core::Stream::RgbDataSrcInfo:

Collaboration graph
[legend]
List of all members.

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::IOBufferGetInfoIOBuffer (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 GetHash () const
virtual String GetHash (int fr) const
virtual const int BadFrames () const
virtual bool FrameValid (int frameNr) const
bool MarkBadFrame (int frameNr)

Protected Attributes

Util::DatabasemDb
IndexTableTypemIndex

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 HASH_SIZE = 32
static const int BUFFER_SIZE = 100000

Detailed Description

Definition at line 25 of file RgbDataSrcInfo.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 11:17:21 2010 for ImpalaSrc by  doxygen 1.5.1