MCPcopy Create free account

hub / github.com/danihek/hellwal / functions

Functions300 in github.com/danihek/hellwal

↓ 144 callersFunctionstbi__get8
stb_image.h:1614
↓ 131 callersFunctionstbi__err
stb_image.h:978
↓ 44 callersFunctionstbi__rewind
stb_image.h:886
↓ 39 callersFunctionstbi__get16be
stb_image.h:1694
↓ 32 callersFunctionstbi__get32le
stb_image.h:1722
↓ 31 callersFunctionstbi__skip
stb_image.h:1644
↓ 30 callersFunctionstbi__get16le
stb_image.h:1714
↓ 20 callersFunctionstbi__get32be
stb_image.h:1704
↓ 20 callersFunctionstbi__malloc
stb_image.h:985
↓ 19 callersFunctionerr
prints to stderr formatted output and exits with EXIT_FAILURE */
hellwal.c:826
↓ 17 callersFunctionlog_c
prints formatted output to stdout with colors */
hellwal.c:865
↓ 16 callersFunctionstbi__at_eof
stb_image.h:1628
↓ 13 callersFunctionlighten_color
lighten a color by a factor */
hell_colors.h:312
↓ 12 callersFunctionstbi__grow_buffer_unsafe
stb_image.h:2075
↓ 12 callersFunctionstbi__zreceive
stb_image.h:4214
↓ 12 callersFunctionwarn
prints to stderr formatted output, but not exits */
hellwal.c:849
↓ 11 callersFunctionpalette_color
* Write color palette to buffer, hex or rgb by setting up type */
hellwal.c:1552
↓ 10 callersFunctiondarken_color
darken a color by a factor */
hell_colors.h:318
↓ 10 callersFunctionstbi__blinn_8x8
fast 0..255 * 0..255 => 0..255 rounded multiplication
stb_image.h:3859
↓ 10 callersFunctionstbi__malloc_mad3
stb_image.h:1055
↓ 9 callersFunctionstbi__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 callersFunctionstbi__clamp
take a -128..127 value and stbi__clamp it and convert to 0..255
stb_image.h:2416
↓ 8 callersFunctionstbi__convert_format
stb_image.h:1755
↓ 8 callersFunctionstbi__mad3sizes_valid
returns 1 if "a*b*c + add" has no negative terms/factors and doesn't overflow
stb_image.h:1031
↓ 7 callersFunctionstbi__compute_y
stb_image.h:1746
↓ 7 callersFunctionstbi__start_callbacks
initialize a callback-based context
stb_image.h:836
↓ 7 callersFunctionstbi__start_mem
initialize a memory-decode context
stb_image.h:826
↓ 6 callersFunctionstbi__fopen
stb_image.h:1337
↓ 6 callersFunctionstbi__hdr_test
stb_image.h:7097
↓ 6 callersFunctionstbi__mul2sizes_valid
returns 1 if the product is valid, 0 on overflow. negative factors are considered invalid.
stb_image.h:1014
↓ 6 callersFunctionstbi__start_file
stb_image.h:877
↓ 5 callersFunctionget_channel
Get channel */
hellwal.c:1074
↓ 5 callersFunctionprint_color
Writes color as block to stdout - it does not perform new line by itself */
hellwal.c:794
↓ 5 callersFunctionstbi__cleanup_jpeg
clean up the temporary component buffers
stb_image.h:3843
↓ 5 callersFunctionstbi__do_zlib
stb_image.h:4510
↓ 5 callersFunctionstbi__getn
stb_image.h:1666
↓ 5 callersFunctionstbi__hdr_gettoken
stb_image.h:7109
↓ 5 callersFunctionstbi__jpeg_huff_decode
decode a jpeg huffman value from the bitstream
stb_image.h:2097
↓ 5 callersFunctionstbi__jpeg_reset
after a restart interval, stbi__jpeg_reset the entropy decoder and the dc prediction
stb_image.h:2936
↓ 5 callersFunctionstbi__malloc_mad2
mallocs with size overflow checking
stb_image.h:1048
↓ 5 callersFunctionstbi__zbuild_huffman
stb_image.h:4124
↓ 4 callersFunctionhell_parser_destroy
hell_parser.h:143
↓ 4 callersFunctionhell_parser_eof
hell_parser.h:272
↓ 4 callersFunctionis_between_01_float
hellwal.c:1032
↓ 4 callersFunctionload_file
* Loads content from file file to buffer, * returns buffer if succeded, otherwise NULL */
hellwal.c:1858
↓ 4 callersFunctionremove_whitespaces
removes whitespaces from buffer */
hellwal.c:979
↓ 4 callersFunctionstbi__bitcount
stb_image.h:5382
↓ 4 callersFunctionstbi__compute_y_16
stb_image.h:1803
↓ 4 callersFunctionstbi__extend_receive
combined JPEG 'receive' and JPEG 'extend', since baseline always extends everything it receives.
stb_image.h:2153
↓ 4 callersFunctionstbi__high_bit
returns 0..31 for the highest set bit
stb_image.h:5370
↓ 4 callersFunctionstbi__jpeg_get_bit
stb_image.h:2181
↓ 4 callersFunctionstbi__load_and_postprocess_8bit
stb_image.h:1260
↓ 4 callersFunctionstbi__load_gif_main_outofmem
stb_image.h:6952
↓ 4 callersFunctionstbi__readval
stb_image.h:6367
↓ 4 callersFunctionstbi__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 callersFunctionstbi__tga_get_comp
returns STBI_rgb or whatever, 0 on error
stb_image.h:5739
↓ 4 callersFunctionstbi__vertical_flip
stb_image.h:1222
↓ 4 callersFunctionstbi__zget8
stb_image.h:4197
↓ 4 callersFunctionwcag_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 callersFunctioncalculate_luminance
calculate how bright is color from RGB * https://en.wikipedia.org/wiki/Relative_luminance */
hell_colors.h:99
↓ 3 callersFunctioncheck_output_dir
* checks if output directory exists, * if not creates it */
hellwal.c:907
↓ 3 callersFunctionclamp_rgb
avoid exceeding max value for each */
hell_colors.h:291
↓ 3 callersFunctionclamp_uint8
avoid exceeding max value */
hell_colors.h:283
↓ 3 callersFunctionhex_to_rgb
hellwal.c:2382
↓ 3 callersFunctionis_color_palette_var
hellwal.c:2403
↓ 3 callersFunctionparse_color_type
hellwal.c:1931
↓ 3 callersFunctionprocess_template
load t->path file to buffer and replaces content between delim with colors from PALETTE colors */
hellwal.c:1946
↓ 3 callersFunctionstbi__addsizes_valid
return 1 if the sum is valid, 0 on overflow. negative terms are considered invalid.
stb_image.h:1002
↓ 3 callersFunctionstbi__convert_format16
stb_image.h:1812
↓ 3 callersFunctionstbi__decode_jpeg_header
stb_image.h:3365
↓ 3 callersFunctionstbi__free_jpeg_components
stb_image.h:3242
↓ 3 callersFunctionstbi__hdr_convert
stb_image.h:7131
↓ 3 callersFunctionstbi__info_main
stb_image.h:7632
↓ 3 callersFunctionstbi__is_16_main
stb_image.h:7674
↓ 3 callersFunctionstbi__load_and_postprocess_16bit
stb_image.h:1286
↓ 3 callersFunctionstbi__loadf_main
stb_image.h:1460
↓ 3 callersFunctionstbi__mad4sizes_valid
stb_image.h:1039
↓ 3 callersFunctionstbi__malloc_mad4
stb_image.h:1062
↓ 3 callersFunctionstbi__pic_is4
stb_image.h:6336
↓ 3 callersFunctionstbi__pnm_getinteger
stb_image.h:7567
↓ 3 callersFunctionstbi__pnm_info
stb_image.h:7581
↓ 3 callersFunctionstbi__pnm_skip_whitespace
stb_image.h:7548
↓ 3 callersFunctionstbi__zeof
stb_image.h:4192
↓ 3 callersFunctionstbi__zexpand
stb_image.h:4273
↓ 3 callersFunctionstbi__zhuffman_decode
stb_image.h:4243
↓ 3 callersFunctionwcag_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 callersFunctionadjust_luminance
adjust luminance of a color */
hell_colors.h:302
↓ 2 callersFunctionblend_colors
blend two colors together based on a blend factor */
hell_colors.h:334
↓ 2 callersFunctionclamp_float
avoid exceeding max value for float */
hellwal.c:930
↓ 2 callersFunctionhellwal_usage
prints usage to stdout */
hellwal.c:465
↓ 2 callersFunctionmeets_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 callersFunctionprint_palette
Writes palete to stdout */
hellwal.c:1536
↓ 2 callersFunctionprint_term_colors_small
hellwal.c:778
↓ 2 callersFunctionprocess_theme
process theme, return color palette - return 0 on error */
hellwal.c:2416
↓ 2 callersFunctionrand_file
get random file from given path */
hellwal.c:936
↓ 2 callersFunctionsaturate_color
saturate a color, based on a factor */
hell_colors.h:324
↓ 2 callersFunctionsort_palette_by_luminance
sort palette by luminance to spread out colors */
hellwal.c:1054
↓ 2 callersFunctionstbi__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 callersFunctionstbi__bit_reverse
stb_image.h:4116
↓ 2 callersFunctionstbi__bmp_parse_header
stb_image.h:5448
next →1–100 of 300, ranked by callers