feat: make ffi for same shape (#1635)

This commit is contained in:
Cyberhan123 authored and GitHub committed 2026-07-01 00:30:16 +08:00
1 parent f0271076ad
commit ccda89e09c
3 files changed
+26 -6

No files matched your search

+1 -1
View File
@@ -484,7 +484,7 @@ SD_API upscaler_ctx_t* new_upscaler_ctx(const char* esrgan_path,
const char* params_backend);
SD_API void free_upscaler_ctx(upscaler_ctx_t* upscaler_ctx);
SD_API sd_image_t upscale(upscaler_ctx_t* upscaler_ctx,
SD_API sd_image_t* upscale(upscaler_ctx_t* upscaler_ctx,
sd_image_t input_image,
uint32_t upscale_factor);