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

static void* Impala::Visualization::VideoPlayer::OglImdataFunc ( OGLIMAGE *  oglIm  )  [inline, static, protected]

Definition at line 407 of file VideoPlayer.h.

References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CH(), Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CPB(), and Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CW().

Referenced by OglImageReadFrame().

00408     {
00409             // Obtain our 'im' stored as 'imageHandle'
00410         Array2dVec3UInt8* ar = (Array2dVec3UInt8 *) oglIm->imageHandle;
00411 
00412         // Set oglIm dimensions to our 'im' dimensions
00413             oglIm->w = ar->CW();
00414             oglIm->h = ar->CH();
00415         // RvB: Saver to do this after texture loading rather than here
00416             //oglIm->changed = 0;
00417 
00418             return (void *) ar->CPB(0, 0); // Pointer to the image pixels
00419     }

Here is the call graph for this function:


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