Lines Matching refs:frames
309 AVFrame **frames;
312 frames = av_calloc(ctx->initial_pool_size, sizeof(*frames));
313 if (!frames)
317 frames[i] = av_frame_alloc();
318 if (!frames[i])
321 ret = av_hwframe_get_buffer(ref, frames[i], 0);
328 av_frame_free(&frames[i]);
329 av_freep(&frames);
372 /* preallocate the frames in the pool, if requested */
850 // if the caller provided dst frames context, it should be preserved