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

template<class ArrayT>
bool Impala::Core::Array::WriteJpg ( ArrayT *  src,
Util::IOBuffer *  buffer,
size_t  memBufSize = 10000000 
) [inline]

Definition at line 97 of file WriteJpg.h.

References Impala::Util::IOBuffer::Write(), and WriteJpgToMemory().

Referenced by WriteFile(), and WriteJpg().

00098 {
00099     char* buf = new char[memBufSize];
00100     size_t outSize;
00101     if (!WriteJpgToMemory(src, buf, memBufSize, &outSize))
00102     {
00103         delete buf;
00104         return false;
00105     }
00106     buffer->Write(buf, outSize);
00107     delete buf;
00108     return true;
00109 }

Here is the call graph for this function:


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