Searched refs:nv_status (Results 1 – 1 of 1) sorted by relevance
1254 NVENCSTATUS nv_status = NV_ENC_SUCCESS; in nvenc_setup_encoder() local1278 nv_status = p_nvenc->nvEncGetEncodePresetConfigEx(ctx->nvencoder, in nvenc_setup_encoder()1284 nv_status = p_nvenc->nvEncGetEncodePresetConfig(ctx->nvencoder, in nvenc_setup_encoder()1289 if (nv_status != NV_ENC_SUCCESS) in nvenc_setup_encoder()1290 return nvenc_print_error(avctx, nv_status, "Cannot get the preset configuration"); in nvenc_setup_encoder()1367 nv_status = p_nvenc->nvEncInitializeEncoder(ctx->nvencoder, &ctx->init_encode_params); in nvenc_setup_encoder()1368 if (nv_status != NV_ENC_SUCCESS) { in nvenc_setup_encoder()1370 return nvenc_print_error(avctx, nv_status, "InitializeEncoder failed"); in nvenc_setup_encoder()1375 … nv_status = p_nvenc->nvEncSetIOCudaStreams(ctx->nvencoder, &ctx->cu_stream, &ctx->cu_stream); in nvenc_setup_encoder()1376 if (nv_status != NV_ENC_SUCCESS) { in nvenc_setup_encoder()[all …]