Skip to content

Commit 02203f7

Browse files
authored
Apply suggestions from code review
1 parent 23ba56e commit 02203f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/llava/clip.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ CLIP_API void clip_image_f32_free(struct clip_image_f32 * img);
7373
CLIP_API void clip_image_u8_batch_free (struct clip_image_u8_batch * batch);
7474
CLIP_API void clip_image_f32_batch_free(struct clip_image_f32_batch * batch);
7575

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

7979
CLIP_API bool clip_image_load_from_file(const char * fname, struct clip_image_u8 * img);

0 commit comments

Comments
 (0)