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

bool Impala::Core::VideoSet::Mpeg7Doc::CheckKnownFraction (  )  [inline, private]

Definition at line 704 of file Mpeg7Doc.h.

References ILOG_ERROR, mFractions, mFrameRateDen, mFrameRateNum, and mVideoFileName.

Referenced by Fraction2Frame(), Frame2Fraction(), Mpeg7Doc(), and ReadData().

00705     {
00706         if ((mFrameRateNum != 0) && (mFrameRateDen != 0))
00707         {
00708             mFractions = mFrameRateNum;
00709             return true;
00710         }
00711 
00712         if (mFractions == 25)
00713         {
00714             mFrameRateNum = 25;
00715             mFrameRateDen = 1;
00716             return true;
00717         }
00718         if (mFractions == 30000)
00719         {
00720             mFrameRateNum = 30000;
00721             mFrameRateDen = 1001;
00722             return true;
00723         }
00724 
00725         ILOG_ERROR("Unknown fraction " << mFractions << " in " <<
00726                    mVideoFileName);
00727         mFrameRateNum = mFractions;
00728         mFrameRateDen = 1;
00729         return false;
00730     }


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