Skip to content

Commit c3ba659

Browse files
authored
Apply suggestions from code review
1 parent f583083 commit c3ba659

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/llava/clip.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,9 @@ CLIP_API void clip_image_f32_free(struct clip_image_f32 * img);
7474
CLIP_API void clip_image_u8_batch_free (struct clip_image_u8_batch * batch);
7575
CLIP_API void clip_image_f32_batch_free(struct clip_image_f32_batch * batch);
7676

77-
/** build image from pixels decoded by other libraries instead of stb_image.h for better performance.
78-
* The memory layout is RGBRGBRGB..., input buffer length must be 3*nx*ny bytes
77+
/**
78+
* Build image from pixels decoded by other libraries instead of stb_image.h for better performance.
79+
* The memory layout is RGBRGBRGB..., input buffer length must be 3*nx*ny bytes
7980
*/
8081
CLIP_API void clip_build_img_from_pixels(const unsigned char * rgb_pixels, int nx, int ny, struct clip_image_u8 * img);
8182

0 commit comments

Comments
 (0)