MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / av_frame_clone

Function av_frame_clone

libavutil/frame.c:483–494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481}
482
483AVFrame *av_frame_clone(const AVFrame *src)
484{
485 AVFrame *ret = av_frame_alloc();
486
487 if (!ret)
488 return NULL;
489
490 if (av_frame_ref(ret, src) < 0)
491 av_frame_free(&ret);
492
493 return ret;
494}
495
496void av_frame_unref(AVFrame *frame)
497{

Callers 15

ffat_encodeFunction · 0.85
vorbis_encode_frameFunction · 0.85
omx_encode_frameFunction · 0.85
lcevc_send_frameFunction · 0.85
amv_encode_pictureFunction · 0.85
ff_libwebp_get_frameFunction · 0.85
wrapped_avframe_encodeFunction · 0.85
opus_encode_frameFunction · 0.85
filter_frameFunction · 0.85

Calls 3

av_frame_allocFunction · 0.85
av_frame_refFunction · 0.85
av_frame_freeFunction · 0.85

Tested by 3

init_filterFunction · 0.68
activateFunction · 0.68
plot_spectrum_columnFunction · 0.68