Definition at line 56 of file RgbDataSrcDX.h. References ILOG_ERROR, Impala::Core::Stream::RgbDataSrc::mFrameHeight, Impala::Core::Stream::RgbDataSrc::mFrameWidth, Impala::Core::Stream::RgbDataSrc::mLastFrame, mSrcHandle, and Impala::Core::Stream::RgbDataSrc::mSrcName. Referenced by RgbDataSrcDX(). 00057 { 00058 if (!(mSrcHandle = HxDXLoadVideo(mSrcName.c_str()))) 00059 { 00060 ILOG_ERROR("Unable to HxDXLoadVideo " << mSrcName); 00061 return; 00062 } 00063 mFrameWidth = HxDXGetFrameWidth(mSrcHandle); 00064 mFrameHeight = HxDXGetFrameHeight(mSrcHandle); 00065 mLastFrame = HxDXGetLength(mSrcHandle) - 1; 00066 }
|