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

template<class ArrayT>
void Impala::Core::Array::ReadPng ( ArrayT *&  dst,
Util::IOBuffer *  buffer,
size_t  memBufSize = 10000000 
) [inline]

Definition at line 202 of file ReadPng.h.

References ILOG_VAR, ILOG_WARN, Impala::Util::IOBuffer::Read(), and ReadPngFromMemory().

Referenced by ReadFile(), and ReadPng().

00203 {
00204     ILOG_VAR(Impala.Core.Array.ReadPng);
00205     char* buf = new char[memBufSize];
00206     size_t nrRead = buffer->Read(buf, memBufSize);
00207     if (nrRead >= memBufSize)
00208     {
00209         ILOG_WARN("ReadPng: buffer to small");
00210         delete buf;
00211         return;
00212     }
00213     ReadPngFromMemory(dst, buf, memBufSize);
00214     delete buf;
00215 }

Here is the call graph for this function:


Generated on Fri Mar 19 10:58:10 2010 for ImpalaSrc by  doxygen 1.5.1