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

void Impala::Core::VideoSet::KfrMotionExtractor::DumpMVFseq ( BYTE *  mvseq,
int  bWidth,
int  bHeight,
int  N 
) [inline]

Definition at line 306 of file KfrMotionExtractor.h.

References BYTE.

00307     {
00308         //memset(mvseq, 0, sizeof(BYTE)*bWidth * bHeight * 2 * (window->WindowSize()-1) );
00309 
00310         for (int w=0; w<N; w++)
00311         {
00312             printf("MVF (%dx%d) for window %d:\n",bWidth,bHeight,w);
00313             for (int j=0; j<bHeight; j++)
00314             {
00315                 for (int i=0; i<bWidth; i++)
00316                 {
00317                     BYTE sx = mvseq[sizeof(BYTE)*bWidth*bHeight*2* w + (j*bWidth + i)*2 +0];
00318                     BYTE sy = mvseq[sizeof(BYTE)*bWidth*bHeight*2* w + (j*bWidth + i)*2 +1];
00319                     printf("(%d,%d) ",sx,sy);
00320                 }
00321                 printf("\n");
00322             }
00323             printf("\n");
00324         }
00325     }


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