#ifdef MTMD_VIDEO
return mtmd_support_vision(ctx);
#else
+ GGML_UNUSED(ctx);
return false;
#endif
}
return ctx;
#else
+ GGML_UNUSED(mctx);
+ GGML_UNUSED(path);
+ GGML_UNUSED(params);
LOG_ERR("%s: video is not supported in this build (MTMD_VIDEO is set to OFF)\n", __func__);
return nullptr;
#endif
return ctx;
#else
+ GGML_UNUSED(mctx);
+ GGML_UNUSED(buf);
+ GGML_UNUSED(len);
+ GGML_UNUSED(params);
LOG_ERR("%s: video is not supported in this build (MTMD_VIDEO is set to OFF)\n", __func__);
return nullptr;
#endif
ctx->stop_ffmpeg();
delete ctx;
#else
+ GGML_UNUSED(ctx);
LOG_ERR("%s: video is not supported in this build (MTMD_VIDEO is set to OFF)\n", __func__);
#endif
}
#ifdef MTMD_VIDEO
return ctx->info;
#else
+ GGML_UNUSED(ctx);
GGML_ASSERT(false && "video is not supported in this build (MTMD_VIDEO is set to OFF)");
#endif
}
if (!ctx) return -2;
return ctx->read_next(out_bitmap, out_text);
#else
+ GGML_UNUSED(ctx);
+ GGML_UNUSED(out_bitmap);
+ GGML_UNUSED(out_text);
GGML_ASSERT(false && "video is not supported in this build (MTMD_VIDEO is set to OFF)");
#endif
}