add z-image support

This commit is contained in:
leejet committed 2025-11-30 03:10:24 +08:00
1 parent ba8c92a6b8
commit d3f1bf4dd6
10 files changed
+908 -24

No files matched your search

+6
View File
@@ -1653,8 +1653,14 @@ void step_callback(int step, int frame_count, sd_image_t* image, bool is_noisy)
}
}
#include "z_image.hpp"
int main(int argc, const char* argv[]) {
SDParams params;
// params.verbose = true;
// sd_set_log_callback(sd_log_cb, (void*)&params);
// ZImage::ZImageRunner::load_from_file_and_test(argv[1]);
// return 1;
parse_args(argc, argv, params);
preview_path = params.preview_path;
if (params.video_frames > 4) {