Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/danihek/hellwal
/ functions
Functions
300 in github.com/danihek/hellwal
⨍
Functions
300
◇
Types & classes
3
↓ 144 callers
Function
stbi__get8
stb_image.h:1614
↓ 131 callers
Function
stbi__err
stb_image.h:978
↓ 44 callers
Function
stbi__rewind
stb_image.h:886
↓ 39 callers
Function
stbi__get16be
stb_image.h:1694
↓ 32 callers
Function
stbi__get32le
stb_image.h:1722
↓ 31 callers
Function
stbi__skip
stb_image.h:1644
↓ 30 callers
Function
stbi__get16le
stb_image.h:1714
↓ 20 callers
Function
stbi__get32be
stb_image.h:1704
↓ 20 callers
Function
stbi__malloc
stb_image.h:985
↓ 19 callers
Function
err
prints to stderr formatted output and exits with EXIT_FAILURE */
hellwal.c:826
↓ 17 callers
Function
log_c
prints formatted output to stdout with colors */
hellwal.c:865
↓ 16 callers
Function
stbi__at_eof
stb_image.h:1628
↓ 13 callers
Function
lighten_color
lighten a color by a factor */
hell_colors.h:312
↓ 12 callers
Function
stbi__grow_buffer_unsafe
stb_image.h:2075
↓ 12 callers
Function
stbi__zreceive
stb_image.h:4214
↓ 12 callers
Function
warn
prints to stderr formatted output, but not exits */
hellwal.c:849
↓ 11 callers
Function
palette_color
* Write color palette to buffer, hex or rgb by setting up type */
hellwal.c:1552
↓ 10 callers
Function
darken_color
darken a color by a factor */
hell_colors.h:318
↓ 10 callers
Function
stbi__blinn_8x8
fast 0..255 * 0..255 => 0..255 rounded multiplication
stb_image.h:3859
↓ 10 callers
Function
stbi__malloc_mad3
stb_image.h:1055
↓ 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,
stb_image.h:2919
↓ 8 callers
Function
stbi__clamp
take a -128..127 value and stbi__clamp it and convert to 0..255
stb_image.h:2416
↓ 8 callers
Function
stbi__convert_format
stb_image.h:1755
↓ 8 callers
Function
stbi__mad3sizes_valid
returns 1 if "a*b*c + add" has no negative terms/factors and doesn't overflow
stb_image.h:1031
↓ 7 callers
Function
stbi__compute_y
stb_image.h:1746
↓ 7 callers
Function
stbi__start_callbacks
initialize a callback-based context
stb_image.h:836
↓ 7 callers
Function
stbi__start_mem
initialize a memory-decode context
stb_image.h:826
↓ 6 callers
Function
stbi__fopen
stb_image.h:1337
↓ 6 callers
Function
stbi__hdr_test
stb_image.h:7097
↓ 6 callers
Function
stbi__mul2sizes_valid
returns 1 if the product is valid, 0 on overflow. negative factors are considered invalid.
stb_image.h:1014
↓ 6 callers
Function
stbi__start_file
stb_image.h:877
↓ 5 callers
Function
get_channel
Get channel */
hellwal.c:1074
↓ 5 callers
Function
print_color
Writes color as block to stdout - it does not perform new line by itself */
hellwal.c:794
↓ 5 callers
Function
stbi__cleanup_jpeg
clean up the temporary component buffers
stb_image.h:3843
↓ 5 callers
Function
stbi__do_zlib
stb_image.h:4510
↓ 5 callers
Function
stbi__getn
stb_image.h:1666
↓ 5 callers
Function
stbi__hdr_gettoken
stb_image.h:7109
↓ 5 callers
Function
stbi__jpeg_huff_decode
decode a jpeg huffman value from the bitstream
stb_image.h:2097
↓ 5 callers
Function
stbi__jpeg_reset
after a restart interval, stbi__jpeg_reset the entropy decoder and the dc prediction
stb_image.h:2936
↓ 5 callers
Function
stbi__malloc_mad2
mallocs with size overflow checking
stb_image.h:1048
↓ 5 callers
Function
stbi__zbuild_huffman
stb_image.h:4124
↓ 4 callers
Function
hell_parser_destroy
hell_parser.h:143
↓ 4 callers
Function
hell_parser_eof
hell_parser.h:272
↓ 4 callers
Function
is_between_01_float
hellwal.c:1032
↓ 4 callers
Function
load_file
* Loads content from file file to buffer, * returns buffer if succeded, otherwise NULL */
hellwal.c:1858
↓ 4 callers
Function
remove_whitespaces
removes whitespaces from buffer */
hellwal.c:979
↓ 4 callers
Function
stbi__bitcount
stb_image.h:5382
↓ 4 callers
Function
stbi__compute_y_16
stb_image.h:1803
↓ 4 callers
Function
stbi__extend_receive
combined JPEG 'receive' and JPEG 'extend', since baseline always extends everything it receives.
stb_image.h:2153
↓ 4 callers
Function
stbi__high_bit
returns 0..31 for the highest set bit
stb_image.h:5370
↓ 4 callers
Function
stbi__jpeg_get_bit
stb_image.h:2181
↓ 4 callers
Function
stbi__load_and_postprocess_8bit
stb_image.h:1260
↓ 4 callers
Function
stbi__load_gif_main_outofmem
stb_image.h:6952
↓ 4 callers
Function
stbi__readval
stb_image.h:6367
↓ 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.
stb_image.h:5395
↓ 4 callers
Function
stbi__tga_get_comp
returns STBI_rgb or whatever, 0 on error
stb_image.h:5739
↓ 4 callers
Function
stbi__vertical_flip
stb_image.h:1222
↓ 4 callers
Function
stbi__zget8
stb_image.h:4197
↓ 4 callers
Function
wcag_calculate_luminance
Calculate the WCAG's definition of relative luminance for a color. * https://www.w3.org/WAI/GL/wiki/Relative_luminance */
hell_colors.h:120
↓ 3 callers
Function
calculate_luminance
calculate how bright is color from RGB * https://en.wikipedia.org/wiki/Relative_luminance */
hell_colors.h:99
↓ 3 callers
Function
check_output_dir
* checks if output directory exists, * if not creates it */
hellwal.c:907
↓ 3 callers
Function
clamp_rgb
avoid exceeding max value for each */
hell_colors.h:291
↓ 3 callers
Function
clamp_uint8
avoid exceeding max value */
hell_colors.h:283
↓ 3 callers
Function
hex_to_rgb
hellwal.c:2382
↓ 3 callers
Function
is_color_palette_var
hellwal.c:2403
↓ 3 callers
Function
parse_color_type
hellwal.c:1931
↓ 3 callers
Function
process_template
load t->path file to buffer and replaces content between delim with colors from PALETTE colors */
hellwal.c:1946
↓ 3 callers
Function
stbi__addsizes_valid
return 1 if the sum is valid, 0 on overflow. negative terms are considered invalid.
stb_image.h:1002
↓ 3 callers
Function
stbi__convert_format16
stb_image.h:1812
↓ 3 callers
Function
stbi__decode_jpeg_header
stb_image.h:3365
↓ 3 callers
Function
stbi__free_jpeg_components
stb_image.h:3242
↓ 3 callers
Function
stbi__hdr_convert
stb_image.h:7131
↓ 3 callers
Function
stbi__info_main
stb_image.h:7632
↓ 3 callers
Function
stbi__is_16_main
stb_image.h:7674
↓ 3 callers
Function
stbi__load_and_postprocess_16bit
stb_image.h:1286
↓ 3 callers
Function
stbi__loadf_main
stb_image.h:1460
↓ 3 callers
Function
stbi__mad4sizes_valid
stb_image.h:1039
↓ 3 callers
Function
stbi__malloc_mad4
stb_image.h:1062
↓ 3 callers
Function
stbi__pic_is4
stb_image.h:6336
↓ 3 callers
Function
stbi__pnm_getinteger
stb_image.h:7567
↓ 3 callers
Function
stbi__pnm_info
stb_image.h:7581
↓ 3 callers
Function
stbi__pnm_skip_whitespace
stb_image.h:7548
↓ 3 callers
Function
stbi__zeof
stb_image.h:4192
↓ 3 callers
Function
stbi__zexpand
stb_image.h:4273
↓ 3 callers
Function
stbi__zhuffman_decode
stb_image.h:4243
↓ 3 callers
Function
wcag_luminance_channel
Converts an 8bit (0-255) rgb channel value to a format that can be used * to calculate the relative luminance of the color, according to the * WCAG'
hell_colors.h:110
↓ 2 callers
Function
adjust_luminance
adjust luminance of a color */
hell_colors.h:302
↓ 2 callers
Function
blend_colors
blend two colors together based on a blend factor */
hell_colors.h:334
↓ 2 callers
Function
clamp_float
avoid exceeding max value for float */
hellwal.c:930
↓ 2 callers
Function
hellwal_usage
prints usage to stdout */
hellwal.c:465
↓ 2 callers
Function
meets_min_text_contrast
Check if the contrast ratio between a color and the background satisfies the minimum * contrast standard for meaningful text (such as body text). *
hell_colors.h:186
↓ 2 callers
Function
print_palette
Writes palete to stdout */
hellwal.c:1536
↓ 2 callers
Function
print_term_colors_small
hellwal.c:778
↓ 2 callers
Function
process_theme
process theme, return color palette - return 0 on error */
hellwal.c:2416
↓ 2 callers
Function
rand_file
get random file from given path */
hellwal.c:936
↓ 2 callers
Function
saturate_color
saturate a color, based on a factor */
hell_colors.h:324
↓ 2 callers
Function
sort_palette_by_luminance
sort palette by luminance to spread out colors */
hellwal.c:1054
↓ 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.
stb_image.h:1070
↓ 2 callers
Function
stbi__bit_reverse
stb_image.h:4116
↓ 2 callers
Function
stbi__bmp_parse_header
stb_image.h:5448
next →
1–100 of 300, ranked by callers