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

Function decoded_frames_pop

libavcodec/pthread_frame.c:213–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213static void decoded_frames_pop(DecodedFrames *df, AVFrame *dst)
214{
215 AVFrame *tmp_frame = df->f[0];
216 av_frame_move_ref(dst, tmp_frame);
217 memmove(df->f, df->f + 1, (df->nb_f - 1) * sizeof(*df->f));
218 df->f[--df->nb_f] = tmp_frame;
219}
220
221static void decoded_frames_flush(DecodedFrames *df)
222{

Callers 1

ff_thread_receive_frameFunction · 0.85

Calls 1

av_frame_move_refFunction · 0.85

Tested by

no test coverage detected