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

Function vp8_replace_frame

libavcodec/vp8.c:2869–2875  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2867
2868#if HAVE_THREADS
2869static void vp8_replace_frame(VP8Frame *dst, const VP8Frame *src)
2870{
2871 ff_progress_frame_replace(&dst->tf, &src->tf);
2872 av_refstruct_replace(&dst->seg_map, src->seg_map);
2873 av_refstruct_replace(&dst->hwaccel_picture_private,
2874 src->hwaccel_picture_private);
2875}
2876
2877#define REBASE(pic) ((pic) ? (pic) - &s_src->frames[0] + &s->frames[0] : NULL)
2878

Callers 1

Calls 2

av_refstruct_replaceFunction · 0.85

Tested by

no test coverage detected