Searched refs:unused_surface_queue (Results 1 – 2 of 2) sorted by relevance
164 AVFifoBuffer *unused_surface_queue; member
1477 av_fifo_generic_write(ctx->unused_surface_queue, &tmp_surface, sizeof(tmp_surface), NULL); in nvenc_alloc_surface()1495 ctx->unused_surface_queue = av_fifo_alloc(ctx->nb_surfaces * sizeof(NvencSurface*)); in nvenc_setup_surfaces()1496 if (!ctx->unused_surface_queue) in nvenc_setup_surfaces()1578 av_fifo_freep(&ctx->unused_surface_queue); in ff_nvenc_encode_close()1684 if (!(av_fifo_size(ctx->unused_surface_queue) > 0)) in get_free_frame()1688 av_fifo_generic_read(ctx->unused_surface_queue, &tmp_surf, sizeof(tmp_surf), NULL); in get_free_frame()2339 av_fifo_generic_write(ctx->unused_surface_queue, &tmp_out_surf, sizeof(tmp_out_surf), NULL); in ff_nvenc_receive_packet()