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

Impala::Core::Stream::Lavc::VideoAccessObject::VideoAccessObject ( CString  srcAddress  )  [inline]

Definition at line 43 of file VideoAccessObject.h.

References ILOG_INFO, InitCodecContext(), InitFFMPEG(), InitFormatContext(), InitFrames(), InitStreams(), mFormatCtx, mFrame, mIsValid, mPacket, mRgbFrame, mRgbFrameData, mSrcAddress, mSwsContext, mVideoCodecCtx, and mVideoStream.

00044     {
00045         mIsValid = false;
00046 
00047         mFormatCtx = 0;
00048         mVideoStream = 0;
00049         mVideoCodecCtx = 0;
00050         mPacket = 0;
00051         mFrame = 0;
00052         mRgbFrame = 0;
00053         mRgbFrameData = 0;
00054         mSwsContext = 0;
00055 
00056         mSrcAddress = srcAddress;
00057 
00058         ILOG_INFO("libavcodec version  : " << 
00059             (int)(LIBAVCODEC_VERSION_INT>>16) << "." << 
00060             (int)((LIBAVCODEC_VERSION_INT>>8)&0xFF) << "." << 
00061             (int)(LIBAVCODEC_VERSION_INT&0xFF));
00062 
00063         ILOG_INFO("libavformat version : " << 
00064             (int)(LIBAVFORMAT_VERSION_INT>>16) << "." << 
00065             (int)((LIBAVFORMAT_VERSION_INT>>8)&0xFF) << "." << 
00066             (int)(LIBAVFORMAT_VERSION_INT&0xFF));
00067 
00068         ILOG_INFO("libavutil version   : " << 
00069             (int)(LIBAVUTIL_VERSION_INT>>16) << "." << 
00070             (int)((LIBAVUTIL_VERSION_INT>>8)&0xFF) << "." << 
00071             (int)(LIBAVUTIL_VERSION_INT&0xFF));
00072 
00073         ILOG_INFO("libswscale version  : " << 
00074             (int)(LIBSWSCALE_VERSION_INT>>16) << "." << 
00075             (int)((LIBSWSCALE_VERSION_INT>>8)&0xFF) << "." << 
00076             (int)(LIBSWSCALE_VERSION_INT&0xFF));
00077 
00078         ILOG_INFO("Accessing video source: " << srcAddress);
00079 
00080         if (!InitFFMPEG() ||
00081             !InitFormatContext() ||
00082             !InitStreams() ||
00083             !InitCodecContext() ||
00084             !InitFrames())
00085         {
00086             return;
00087         }
00088 
00089         mIsValid = true;
00090     }

Here is the call graph for this function:


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