Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
H A Dnvenc.c1548 NV_ENC_CREATE_INPUT_BUFFER allocSurf = { 0 }; in nvenc_alloc_surface() local
1557 allocSurf.version = NV_ENC_CREATE_INPUT_BUFFER_VER; in nvenc_alloc_surface()
1558 allocSurf.width = avctx->width; in nvenc_alloc_surface()
1559 allocSurf.height = avctx->height; in nvenc_alloc_surface()
1560 allocSurf.bufferFmt = ctx->surfaces[idx].format; in nvenc_alloc_surface()
1562 nv_status = p_nvenc->nvEncCreateInputBuffer(ctx->nvencoder, &allocSurf); in nvenc_alloc_surface()
1567 ctx->surfaces[idx].input_surface = allocSurf.inputBuffer; in nvenc_alloc_surface()
1568 ctx->surfaces[idx].width = allocSurf.width; in nvenc_alloc_surface()
1569 ctx->surfaces[idx].height = allocSurf.height; in nvenc_alloc_surface()

Completed in 3 milliseconds