Home
last modified time | relevance | path

Searched refs:nb_surfaces_used (Results 1 - 3 of 3) sorted by relevance

/third_party/ffmpeg/libavutil/
H A Dhwcontext_d3d11va.c76 int nb_surfaces_used; member
169 if (s->nb_surfaces <= s->nb_surfaces_used) { in wrap_texture_buf()
171 s->nb_surfaces_used + 1, in wrap_texture_buf()
177 s->nb_surfaces = s->nb_surfaces_used + 1; in wrap_texture_buf()
180 frames_hwctx->texture_infos[s->nb_surfaces_used].texture = tex; in wrap_texture_buf()
181 frames_hwctx->texture_infos[s->nb_surfaces_used].index = index; in wrap_texture_buf()
182 s->nb_surfaces_used++; in wrap_texture_buf()
237 if (s->nb_surfaces_used >= texDesc.ArraySize) { in d3d11va_pool_alloc()
243 return wrap_texture_buf(ctx, hwctx->texture, s->nb_surfaces_used); in d3d11va_pool_alloc()
H A Dhwcontext_dxva2.c61 int nb_surfaces_used; member
134 if (s->nb_surfaces_used < hwctx->nb_surfaces) { in dxva2_pool_alloc()
135 s->nb_surfaces_used++; in dxva2_pool_alloc()
136 return av_buffer_create((uint8_t*)s->surfaces_internal[s->nb_surfaces_used - 1], in dxva2_pool_alloc()
H A Dhwcontext_qsv.c85 int nb_surfaces_used; member
320 if (s->nb_surfaces_used < hwctx->nb_surfaces) { in qsv_pool_alloc()
321 s->nb_surfaces_used++; in qsv_pool_alloc()
322 return av_buffer_create((uint8_t*)(s->surfaces_internal + s->nb_surfaces_used - 1), in qsv_pool_alloc()

Completed in 5 milliseconds