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

OGLIMAGE* Impala::Visualization::VideoPlayer::OglImageReadFrame ( RgbDataSrc src  )  [inline, protected]

Definition at line 430 of file VideoPlayer.h.

References Impala::Core::Stream::RgbDataSrc::FrameHeight(), Impala::Core::Stream::RgbDataSrc::FrameWidth(), OglImdataDestroyFunc(), OglImdataFunc(), and ReadFrameIntoOglImage().

Referenced by OpenVideo().

00431     {
00432             int imW = src->FrameWidth();
00433             int imH = src->FrameHeight();
00434 
00435             Array2dVec3UInt8* ar =
00436                 new Array2dVec3UInt8(imW, imH, 0, 0, 0, false);
00437 
00438             OGLIMAGE* oglIm = oglSys.OglImage(GL_RGB, imW, imH);
00439             oglIm->imDataFunc = OglImdataFunc;
00440         oglIm->onDestroy = OglImdataDestroyFunc;
00441             oglIm->imageHandle = ar;
00442         ReadFrameIntoOglImage(src,oglIm,0);
00443             return oglIm;
00444     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:25:28 2011 for ImpalaSrc by  doxygen 1.5.1