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 }
|