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

void Impala::Core::Feature::Bitmap::SaveRgb2BitmapFile ( const char *  file,
BYTE *  rgb_data,
int  width,
int  height 
) [inline]

Definition at line 28 of file Bitmap.h.

References BYTE, RGB2BGR(), and WriteRgbBufferToBitmap().

Referenced by Impala::Core::VideoSet::KfrMotionExtractor::HandleNewFrame(), and Impala::Core::Feature::Grid::RetrievalGridBuffers().

00029     {
00030         char filename[256];
00031         strcpy(filename,file);
00032         int bufsize = sizeof(BYTE)* width * height * 3;
00033         BYTE* buf = new BYTE [bufsize];
00034         memset(buf,0,bufsize);
00035         RGB2BGR(rgb_data,buf,width,height);
00036 
00037         WriteRgbBufferToBitmap(buf,width,height, filename);
00038         delete []buf;
00039     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:08:38 2010 for ImpalaSrc by  doxygen 1.5.1