File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,13 @@ struct clip_image_size {
3030 int height ;
3131};
3232
33+ struct clip_image_f32 ;
3334struct clip_image_u8_batch ;
3435struct clip_image_f32_batch ;
3536
3637struct clip_context_params {
3738 bool use_gpu ;
38- ggml_log_level verbosity ;
39+ enum ggml_log_level verbosity ;
3940};
4041
4142// deprecated, use clip_init
@@ -84,7 +85,7 @@ CLIP_API void clip_image_f32_batch_free(struct clip_image_f32_batch * batch);
8485CLIP_API size_t clip_image_f32_batch_n_images (const struct clip_image_f32_batch * batch ); // equivalent to batch->size()
8586CLIP_API size_t clip_image_f32_batch_nx (const struct clip_image_f32_batch * batch , int idx ); // equivalent to batch[idx]->nx
8687CLIP_API size_t clip_image_f32_batch_ny (const struct clip_image_f32_batch * batch , int idx ); // equivalent to batch[idx]->ny
87- CLIP_API clip_image_f32 * clip_image_f32_get_img (const struct clip_image_f32_batch * batch , int idx ); // equivalent to batch[idx]->data
88+ CLIP_API struct clip_image_f32 * clip_image_f32_get_img (const struct clip_image_f32_batch * batch , int idx ); // equivalent to batch[idx]->data
8889
8990/**
9091 * Build image from pixels decoded by other libraries instead of stb_image.h for better performance.
You can’t perform that action at this time.
0 commit comments