OpenVINO Whisper Encoder Wrapper (openvino/whisper-openvino-encoder.h)

whisper.cpp · src/openvino/whisper-openvino-encoder.h · c · MIT
ai, voice, integration, tag:openvino, tag:encoder, tag:acceleration

C API for initializing, freeing, and running OpenVINO-based Whisper encoder inference. Reuse when integrating OpenVINO acceleration into whisper.cpp.

// Source: https://github.com/ggml-org/whisper.cpp | License: MIT | Copyright 2023-2026 The ggml authors
// Provided via justclaw.it.com; keep this notice with the code.
// Wrapper of the OpenVINO Whisper Encoder model
//

#if __cplusplus
extern "C" {
#endif

struct whisper_openvino_context;

// initialize openvino encoder, given path to model xml, device ("CPU", "GPU", etc.), and
// path to cache_dir. Returns null upon failure.
struct whisper_openvino_context * whisper_openvino_init(const char * path_model,
                                                        const char * device,
                                                        const char * cache_dir);

// clean up a ctx previously returned from whisper_openvino_init()
void whisper_openvino_free(struct whisper_openvino_context *

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key