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

Array2dVec3UInt8* Impala::Core::Array::ImageArchiveFile::ReadImage ( int  idx  )  [inline, virtual]

Reimplemented from Impala::Core::Array::ImageArchive.

Definition at line 71 of file ImageArchiveFile.h.

References GetImageData(), ILOG_ERROR, Impala::Core::Array::ReadImageFromMemory(), and Valid().

Referenced by Impala::Core::Stream::RgbDataSrcRaw::Init(), Impala::Core::Stream::RgbDataSrcRaw::ReadFrameData(), and Impala::Core::VideoSet::RgbDataSrcKeyframes::ReadImage().

00072     {
00073         if (!Valid())
00074         {
00075             ILOG_ERROR("Cannot ReadImage: archive not valid");
00076             return 0;
00077         }
00078 
00079         size_t blockSize = 0;
00080         UInt8* data = GetImageData(idx, blockSize);
00081         Array2dVec3UInt8* im = 0;
00082         ReadImageFromMemory(im, (char*) data, blockSize);
00083         delete data;
00084         return im;
00085     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:17:19 2011 for ImpalaSrc by  doxygen 1.5.1