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

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

Definition at line 129 of file ReadJpg.h.

References ILOG_ERROR, ILOG_VAR, Impala::Util::IOBuffer::Read(), and ReadJpgFromMemory().

Referenced by Impala::Application::WindowTrecSearch::InitConfig(), ReadFile(), and ReadJpg().

00130 {
00131     ILOG_VAR(Impala.Core.Array.ReadJpg);
00132     char* buf = new char[memBufSize];
00133     size_t nrRead = buffer->Read(buf, memBufSize);
00134     if (nrRead >= memBufSize)
00135     {
00136         ILOG_ERROR("Buffer to small");
00137         delete buf;
00138         return;
00139     }
00140     ReadJpgFromMemory(dst, buf, memBufSize);
00141     delete buf;
00142 }

Here is the call graph for this function:


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