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

Function alloc_dummy_frame

libavcodec/mpegvideo_dec.c:271–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271static int av_cold alloc_dummy_frame(MpegEncContext *s, MPVWorkPicture *dst)
272{
273 MPVPicture *pic;
274 int ret = alloc_picture(s, dst, 1);
275 if (ret < 0)
276 return ret;
277
278 pic = dst->ptr;
279 pic->dummy = 1;
280
281 ff_thread_progress_report(&pic->progress, INT_MAX);
282
283 return 0;
284}
285
286static void color_frame(AVFrame *frame, int luma)
287{

Callers 1

Calls 2

alloc_pictureFunction · 0.70

Tested by

no test coverage detected