MCPcopy Create free account
hub / github.com/biometrics/openbr / release

Method release

openbr/plugins/gallery/keyframes.cpp:212–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210 }
211
212 void release()
213 {
214 if (avSwsCtx) sws_freeContext(avSwsCtx);
215 if (frame) av_free(frame);
216 if (cvt_frame) av_free(cvt_frame);
217 if (avCodecCtx) avcodec_close(avCodecCtx);
218 if (avFormatCtx) avformat_close_input(&avFormatCtx);
219 if (buffer) av_free(buffer);
220 avFormatCtx = NULL;
221 avCodecCtx = NULL;
222 avSwsCtx = NULL;
223 avCodec = NULL;
224 frame = NULL;
225 cvt_frame = NULL;
226 buffer = NULL;
227 }
228
229 void write(const Template &t)
230 {

Callers 15

projectMethod · 0.45
projectMethod · 0.45
initMethod · 0.45
transmitTFormMethod · 0.45
projectMethod · 0.45
CaffeBaseTransformClass · 0.45
projectMethod · 0.45
projectMethod · 0.45
projectMethod · 0.45
compareMethod · 0.45
pp5.cppFile · 0.45
projectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected