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

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

Definition at line 313 of file KfrMotionExtractor.h.

References BYTE.

00314     {
00315         //memset(mvseq, 0, sizeof(BYTE)*bWidth * bHeight * 2 * (window->WindowSize()-1) );
00316 
00317         for (int w=0; w<N; w++)
00318         {
00319             printf("MVF (%dx%d) for window %d:\n",bWidth,bHeight,w);
00320             for (int j=0; j<bHeight; j++)
00321             {
00322                 for (int i=0; i<bWidth; i++)
00323                 {
00324                     BYTE sx = mvseq[sizeof(BYTE)*bWidth*bHeight*2* w + (j*bWidth + i)*2 +0];
00325                     BYTE sy = mvseq[sizeof(BYTE)*bWidth*bHeight*2* w + (j*bWidth + i)*2 +1];
00326                     printf("(%d,%d) ",sx,sy);
00327                 }
00328                 printf("\n");
00329             }
00330             printf("\n");
00331         }
00332     }


Generated on Thu Jan 13 09:22:01 2011 for ImpalaSrc by  doxygen 1.5.1