Definition at line 43 of file VideoAccessObject.h. References ILOG_INFO, InitCodecContext(), InitFFMPEG(), InitFormatContext(), InitFrames(), InitStreams(), mFormatCtx, mFrame, mFrameValid, mIsValid, mPacket, mRgbBuffer, mRgbFrame, 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 mFrameValid = false; 00053 mRgbFrame = 0; 00054 mRgbBuffer = 0; 00055 mSwsContext = 0; 00056 00057 mSrcAddress = srcAddress; 00058 00059 ILOG_INFO("libavcodec version : " << 00060 (int)(LIBAVCODEC_VERSION_INT>>16) << "." << 00061 (int)((LIBAVCODEC_VERSION_INT>>8)&0xFF) << "." << 00062 (int)(LIBAVCODEC_VERSION_INT&0xFF)); 00063 00064 ILOG_INFO("libavformat version : " << 00065 (int)(LIBAVFORMAT_VERSION_INT>>16) << "." << 00066 (int)((LIBAVFORMAT_VERSION_INT>>8)&0xFF) << "." << 00067 (int)(LIBAVFORMAT_VERSION_INT&0xFF)); 00068 00069 //ILOG_INFO("libavutil version : " << 00070 // (int)(LIBAVUTIL_VERSION_INT>>16) << "." << 00071 // (int)((LIBAVUTIL_VERSION_INT>>8)&0xFF) << "." << 00072 // (int)(LIBAVUTIL_VERSION_INT&0xFF)); 00073 00074 ILOG_INFO("libswscale version : " << 00075 (int)(LIBSWSCALE_VERSION_INT>>16) << "." << 00076 (int)((LIBSWSCALE_VERSION_INT>>8)&0xFF) << "." << 00077 (int)(LIBSWSCALE_VERSION_INT&0xFF)); 00078 00079 ILOG_INFO("Accessing video source: " << srcAddress); 00080 00081 if (!InitFFMPEG() || 00082 !InitFormatContext() || 00083 !InitStreams() || 00084 !InitCodecContext() || 00085 !InitFrames()) 00086 { 00087 return; 00088 } 00089 00090 mIsValid = true; 00091 }
Here is the call graph for this function:
|