template<class ArrayT>
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:
|