• Home
  • Raw
  • Download

Lines Matching refs:nvencoder

138     if (p_nvenc && ctx->nvencoder)  in nvenc_print_error()
139 details = p_nvenc->nvEncGetLastErrorString(ctx->nvencoder); in nvenc_print_error()
345 ret = p_nvenc->nvEncOpenEncodeSessionEx(&params, &ctx->nvencoder); in nvenc_open_session()
347 ctx->nvencoder = NULL; in nvenc_open_session()
361 ret = p_nvenc->nvEncGetEncodeGUIDCount(ctx->nvencoder, &count); in nvenc_check_codec_support()
370 ret = p_nvenc->nvEncGetEncodeGUIDs(ctx->nvencoder, guids, count, &count); in nvenc_check_codec_support()
400 …ret = p_nvenc->nvEncGetEncodeCaps(ctx->nvencoder, ctx->init_encode_params.encodeGUID, &params, &va… in nvenc_check_cap()
585 p_nvenc->nvEncDestroyEncoder(ctx->nvencoder); in nvenc_check_device()
586 ctx->nvencoder = NULL; in nvenc_check_device()
1278 nv_status = p_nvenc->nvEncGetEncodePresetConfigEx(ctx->nvencoder, in nvenc_setup_encoder()
1284 nv_status = p_nvenc->nvEncGetEncodePresetConfig(ctx->nvencoder, in nvenc_setup_encoder()
1367 nv_status = p_nvenc->nvEncInitializeEncoder(ctx->nvencoder, &ctx->init_encode_params); in nvenc_setup_encoder()
1375 … nv_status = p_nvenc->nvEncSetIOCudaStreams(ctx->nvencoder, &ctx->cu_stream, &ctx->cu_stream); in nvenc_setup_encoder()
1456 nv_status = p_nvenc->nvEncCreateInputBuffer(ctx->nvencoder, &allocSurf); in nvenc_alloc_surface()
1466 nv_status = p_nvenc->nvEncCreateBitstreamBuffer(ctx->nvencoder, &allocOut); in nvenc_alloc_surface()
1470 p_nvenc->nvEncDestroyInputBuffer(ctx->nvencoder, ctx->surfaces[idx].input_surface); in nvenc_alloc_surface()
1539 nv_status = p_nvenc->nvEncGetSequenceParams(ctx->nvencoder, &payload); in nvenc_setup_extradata()
1564 if (ctx->nvencoder) { in ff_nvenc_encode_close()
1572 p_nvenc->nvEncEncodePicture(ctx->nvencoder, &params); in ff_nvenc_encode_close()
1583 … p_nvenc->nvEncUnmapInputResource(ctx->nvencoder, ctx->registered_frames[i].in_map.mappedResource); in ff_nvenc_encode_close()
1585 p_nvenc->nvEncUnregisterResource(ctx->nvencoder, ctx->registered_frames[i].regptr); in ff_nvenc_encode_close()
1593 p_nvenc->nvEncDestroyInputBuffer(ctx->nvencoder, ctx->surfaces[i].input_surface); in ff_nvenc_encode_close()
1595 p_nvenc->nvEncDestroyBitstreamBuffer(ctx->nvencoder, ctx->surfaces[i].output_surface); in ff_nvenc_encode_close()
1603 if (ctx->nvencoder) { in ff_nvenc_encode_close()
1604 p_nvenc->nvEncDestroyEncoder(ctx->nvencoder); in ff_nvenc_encode_close()
1610 ctx->nvencoder = NULL; in ff_nvenc_encode_close()
1738 … nv_status = p_nvenc->nvEncUnregisterResource(ctx->nvencoder, ctx->registered_frames[i].regptr); in nvenc_find_free_reg_resource()
1798 ret = p_nvenc->nvEncRegisterResource(ctx->nvencoder, &reg); in nvenc_register_frame()
1834 …nv_status = p_nvenc->nvEncMapInputResource(ctx->nvencoder, &ctx->registered_frames[reg_idx].in_map… in nvenc_upload_frame()
1855 nv_status = p_nvenc->nvEncLockInputBuffer(ctx->nvencoder, &lockBufferParams); in nvenc_upload_frame()
1863 nv_status = p_nvenc->nvEncUnlockInputBuffer(ctx->nvencoder, nvenc_frame->input_surface); in nvenc_upload_frame()
1972 nv_status = p_nvenc->nvEncLockBitstream(ctx->nvencoder, &lock_params); in process_output_surface()
1981 p_nvenc->nvEncUnlockBitstream(ctx->nvencoder, tmpoutsurf->output_surface); in process_output_surface()
1987 nv_status = p_nvenc->nvEncUnlockBitstream(ctx->nvencoder, tmpoutsurf->output_surface); in process_output_surface()
1997 …nv_status = p_nvenc->nvEncUnmapInputResource(ctx->nvencoder, ctx->registered_frames[tmpoutsurf->re… in process_output_surface()
2145 ret = p_nvenc->nvEncReconfigureEncoder(ctx->nvencoder, &params); in reconfig_encoder()
2180 if ((!ctx->cu_context && !ctx->d3d11_device) || !ctx->nvencoder) in nvenc_send_frame()
2269 nv_status = p_nvenc->nvEncEncodePicture(ctx->nvencoder, &pic_params); in nvenc_send_frame()
2307 if ((!ctx->cu_context && !ctx->d3d11_device) || !ctx->nvencoder) in ff_nvenc_receive_packet()