Home
last modified time | relevance | path

Searched refs:allocSurf (Results 1 – 1 of 1) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dnvenc.c1442 NV_ENC_CREATE_INPUT_BUFFER allocSurf = { 0 }; in nvenc_alloc_surface() local
1451 allocSurf.version = NV_ENC_CREATE_INPUT_BUFFER_VER; in nvenc_alloc_surface()
1452 allocSurf.width = avctx->width; in nvenc_alloc_surface()
1453 allocSurf.height = avctx->height; in nvenc_alloc_surface()
1454 allocSurf.bufferFmt = ctx->surfaces[idx].format; in nvenc_alloc_surface()
1456 nv_status = p_nvenc->nvEncCreateInputBuffer(ctx->nvencoder, &allocSurf); in nvenc_alloc_surface()
1461 ctx->surfaces[idx].input_surface = allocSurf.inputBuffer; in nvenc_alloc_surface()
1462 ctx->surfaces[idx].width = allocSurf.width; in nvenc_alloc_surface()
1463 ctx->surfaces[idx].height = allocSurf.height; in nvenc_alloc_surface()