Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YavorGIvanov/sam.cpp
/ functions
Functions
316 in github.com/YavorGIvanov/sam.cpp
⨍
Functions
316
◇
Types & classes
36
↓ 144 callers
Function
stbi__get8
examples/stb_image.h:1612
↓ 129 callers
Function
stbi__err
examples/stb_image.h:976
↓ 44 callers
Function
stbi__rewind
examples/stb_image.h:884
↓ 39 callers
Function
stbi__get16be
examples/stb_image.h:1692
↓ 32 callers
Function
stbi__get32le
examples/stb_image.h:1720
↓ 31 callers
Function
stbi__skip
examples/stb_image.h:1642
↓ 30 callers
Function
stbi__get16le
examples/stb_image.h:1712
↓ 24 callers
Function
STBI__CASE
examples/stb_image.h:4738
↓ 20 callers
Function
stbi__get32be
examples/stb_image.h:1702
↓ 20 callers
Function
stbi__malloc
examples/stb_image.h:983
↓ 16 callers
Function
stbi__at_eof
examples/stb_image.h:1626
↓ 12 callers
Function
stbi__grow_buffer_unsafe
examples/stb_image.h:2073
↓ 12 callers
Function
stbi__zreceive
examples/stb_image.h:4211
↓ 10 callers
Function
stbi__blinn_8x8
fast 0..255 * 0..255 => 0..255 rounded multiplication
examples/stb_image.h:3857
↓ 10 callers
Function
stbi__malloc_mad3
examples/stb_image.h:1053
↓ 9 callers
Function
stbi__get_marker
if there's a pending marker from the entropy stream, return that otherwise, fetch from the stream and get a marker. if there's no marker, return 0xff,
examples/stb_image.h:2917
↓ 9 callers
Function
stbiw__jpg_processDU
examples/stb_image_write.h:1328
↓ 9 callers
Function
stbiw__jpg_writeBits
examples/stb_image_write.h:1253
↓ 8 callers
Method
n_img_embd
sam.cpp:52
↓ 8 callers
Function
stbi__clamp
take a -128..127 value and stbi__clamp it and convert to 0..255
examples/stb_image.h:2414
↓ 8 callers
Function
stbi__convert_format
examples/stb_image.h:1753
↓ 8 callers
Function
stbi__mad3sizes_valid
returns 1 if "a*b*c + add" has no negative terms/factors and doesn't overflow
examples/stb_image.h:1029
↓ 8 callers
Function
stbiw__putc
examples/stb_image_write.h:394
↓ 7 callers
Function
stbi__compute_y
examples/stb_image.h:1744
↓ 7 callers
Function
stbi__start_callbacks
initialize a callback-based context
examples/stb_image.h:834
↓ 7 callers
Function
stbi__start_mem
initialize a memory-decode context
examples/stb_image.h:824
↓ 6 callers
Function
stbi__fopen
examples/stb_image.h:1335
↓ 6 callers
Function
stbi__hdr_test
examples/stb_image.h:7096
↓ 6 callers
Function
stbi__mul2sizes_valid
returns 1 if the product is valid, 0 on overflow. negative factors are considered invalid.
examples/stb_image.h:1012
↓ 6 callers
Function
stbi__start_file
examples/stb_image.h:875
↓ 5 callers
Method
n_img_size
sam.cpp:49
↓ 5 callers
Function
sam_decode_mask_transformer_attn
sam.cpp:1446
↓ 5 callers
Function
stbi__cleanup_jpeg
clean up the temporary component buffers
examples/stb_image.h:3841
↓ 5 callers
Function
stbi__do_zlib
examples/stb_image.h:4488
↓ 5 callers
Function
stbi__getn
examples/stb_image.h:1664
↓ 5 callers
Function
stbi__hdr_gettoken
examples/stb_image.h:7108
↓ 5 callers
Function
stbi__jpeg_huff_decode
decode a jpeg huffman value from the bitstream
examples/stb_image.h:2095
↓ 5 callers
Function
stbi__jpeg_reset
after a restart interval, stbi__jpeg_reset the entropy decoder and the dc prediction
examples/stb_image.h:2934
↓ 5 callers
Function
stbi__paeth
examples/stb_image.h:4636
↓ 5 callers
Function
stbi__start_write_callbacks
initialize a callback-based context
examples/stb_image_write.h:276
↓ 5 callers
Function
stbi__zbuild_huffman
examples/stb_image.h:4122
↓ 5 callers
Function
stbiw__write1
examples/stb_image_write.h:399
↓ 4 callers
Function
stbi__bitcount
examples/stb_image.h:5381
↓ 4 callers
Function
stbi__compute_y_16
examples/stb_image.h:1801
↓ 4 callers
Function
stbi__end_write_file
examples/stb_image_write.h:339
↓ 4 callers
Function
stbi__extend_receive
combined JPEG 'receive' and JPEG 'extend', since baseline always extends everything it receives.
examples/stb_image.h:2151
↓ 4 callers
Function
stbi__high_bit
returns 0..31 for the highest set bit
examples/stb_image.h:5369
↓ 4 callers
Function
stbi__jpeg_get_bit
examples/stb_image.h:2179
↓ 4 callers
Function
stbi__load_and_postprocess_8bit
examples/stb_image.h:1258
↓ 4 callers
Function
stbi__load_gif_main_outofmem
examples/stb_image.h:6951
↓ 4 callers
Function
stbi__malloc_mad2
mallocs with size overflow checking
examples/stb_image.h:1046
↓ 4 callers
Function
stbi__readval
examples/stb_image.h:6366
↓ 4 callers
Function
stbi__shiftsigned
extract an arbitrarily-aligned N-bit value (N=bits) from v, and then make it 8-bits long and fractionally extend it to full full range.
examples/stb_image.h:5394
↓ 4 callers
Function
stbi__start_write_file
examples/stb_image_write.h:332
↓ 4 callers
Function
stbi__tga_get_comp
returns STBI_rgb or whatever, 0 on error
examples/stb_image.h:5738
↓ 4 callers
Function
stbi__vertical_flip
examples/stb_image.h:1220
↓ 4 callers
Function
stbi__zget8
examples/stb_image.h:4194
↓ 4 callers
Function
stbiw__write_flush
examples/stb_image_write.h:386
↓ 3 callers
Function
createGLTexture
examples/main.cpp:195
↓ 3 callers
Function
ggml_disconnect_node_from_graph
sam.cpp:302
↓ 3 callers
Method
is_global_attn
sam.cpp:68
↓ 3 callers
Method
n_enc_head_dim
sam.cpp:48
↓ 3 callers
Method
n_window_size
sam.cpp:50
↓ 3 callers
Function
sam_layer_norm_2d
sam.cpp:1102
↓ 3 callers
Function
stbi__addsizes_valid
return 1 if the sum is valid, 0 on overflow. negative terms are considered invalid.
examples/stb_image.h:1000
↓ 3 callers
Function
stbi__convert_format16
examples/stb_image.h:1810
↓ 3 callers
Function
stbi__decode_jpeg_header
examples/stb_image.h:3363
↓ 3 callers
Function
stbi__free_jpeg_components
examples/stb_image.h:3240
↓ 3 callers
Function
stbi__hdr_convert
examples/stb_image.h:7130
↓ 3 callers
Function
stbi__info_main
examples/stb_image.h:7631
↓ 3 callers
Function
stbi__is_16_main
examples/stb_image.h:7673
↓ 3 callers
Function
stbi__load_and_postprocess_16bit
examples/stb_image.h:1284
↓ 3 callers
Function
stbi__loadf_main
examples/stb_image.h:1458
↓ 3 callers
Function
stbi__mad4sizes_valid
examples/stb_image.h:1037
↓ 3 callers
Function
stbi__malloc_mad4
examples/stb_image.h:1060
↓ 3 callers
Function
stbi__pic_is4
examples/stb_image.h:6335
↓ 3 callers
Function
stbi__pnm_getinteger
examples/stb_image.h:7566
↓ 3 callers
Function
stbi__pnm_info
examples/stb_image.h:7580
↓ 3 callers
Function
stbi__pnm_skip_whitespace
examples/stb_image.h:7547
↓ 3 callers
Function
stbi__zeof
examples/stb_image.h:4189
↓ 3 callers
Function
stbi__zexpand
examples/stb_image.h:4259
↓ 3 callers
Function
stbi__zhuffman_decode
examples/stb_image.h:4240
↓ 3 callers
Function
stbiw__encode_png_line
@OPTIMIZE: provide an option that always forces left-predict or paeth predict
examples/stb_image_write.h:1092
↓ 3 callers
Function
stbiw__outfile
examples/stb_image_write.h:478
↓ 3 callers
Function
stbiw__paeth
examples/stb_image_write.h:1083
↓ 3 callers
Function
stbiw__wpcrc
examples/stb_image_write.h:1077
↓ 3 callers
Function
stbiw__write3
examples/stb_image_write.h:406
↓ 3 callers
Function
stbiw__write_pixel
examples/stb_image_write.h:418
↓ 2 callers
Function
ImGui_BeginFrame
examples/main.cpp:173
↓ 2 callers
Function
ImGui_EndFrame
examples/main.cpp:179
↓ 2 callers
Function
downscale_img_to_screen
examples/main.cpp:77
↓ 2 callers
Function
ggml_graph_compute_helper
sam.cpp:19
↓ 2 callers
Function
load_image_from_file
examples/main.cpp:108
↓ 2 callers
Method
n_patch_size
sam.cpp:51
↓ 2 callers
Function
print_usage
examples/main.cpp:130
↓ 2 callers
Function
sam_build_fast_graph
sam.cpp:1927
↓ 2 callers
Function
sam_compute_embd_img
sam.cpp:1986
↓ 2 callers
Function
sam_decode_mask_mlp_relu_3
sam.cpp:1503
↓ 2 callers
Function
sam_encode_image
sam.cpp:1125
↓ 2 callers
Function
stbi__addints_valid
returns 1 if the sum of two signed ints is valid (between -2^31 and 2^31-1 inclusive), 0 on overflow.
examples/stb_image.h:1068
next →
1–100 of 316, ranked by callers