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

virtual Impala::Core::Stream::RgbDataSrcLavc_old::~RgbDataSrcLavc_old (  )  [inline, virtual]

Definition at line 84 of file RgbDataSrcLavc_old.h.

References mCodecCtx, Impala::Core::Stream::RgbDataSrc::mData, mFormatCtx, mFrame, mFrameRGB, mPacket, and mSwsContext.

00085     {
00086         // Free the RGB image data
00087         delete [] mData;
00088 
00089         if (mPacket != 0)
00090             delete mPacket;
00091 
00092         av_free(mFrameRGB);
00093 
00094         // Free the YUV frame
00095         av_free(mFrame);
00096 
00097         // free the image conversion context
00098         sws_freeContext(mSwsContext);
00099 
00100         // Close the codec
00101         avcodec_close(mCodecCtx);
00102 
00103         // Close the video file
00104         av_close_input_file(mFormatCtx);
00105     }


Generated on Thu Jan 13 09:20:33 2011 for ImpalaSrc by  doxygen 1.5.1