Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ARM-software/astc-encoder
/ functions
Functions
1,420 in github.com/ARM-software/astc-encoder
⨍
Functions
1,420
◇
Types & classes
151
↓ 1 callers
Function
kmeans_update
* @brief Compute new cluster centers based on their center of gravity. * * @param blk The image block color data to compress.
Source/astcenc_find_best_partitioning.cpp:210
↓ 1 callers
Function
load_cimage
See header for documentation. */
Source/astcenccli_image_load_store.cpp:2599
↓ 1 callers
Method
load_from_file
Load a reference result set from a CSV file on disk. Args: file_path: The input file path.
Test/testlib/resultset.py:244
↓ 1 callers
Function
load_jpeg_image
Source/ThirdParty/stb_image.h:3865
↓ 1 callers
Function
load_ktx_compressed_image
* @brief Load a KTX compressed image using the local custom loader. * * @param filename The name of the file to load. * @param[out] i
Source/astcenccli_image_load_store.cpp:1294
↓ 1 callers
Function
load_uncomp_file
* @brief Load a non-astc image file from memory. * * @param filename The file to load, or a pattern for array loads. * @param di
Source/astcenccli_toplevel.cpp:341
↓ 1 callers
Function
luminance_alpha_delta_unpack
* @brief Unpack an LDR LA color that uses delta encoding. * * @param input The packed endpoints (L0, L1, A0, A1). * @param[out] output0
Source/astcenc_color_unquantize.cpp:264
↓ 1 callers
Function
luminance_alpha_unpack
* @brief Unpack an LDR LA color that uses direct encoding. * * @param input The packed endpoints (L0, L1, A0, A1). * @param[out] output0
Source/astcenc_color_unquantize.cpp:244
↓ 1 callers
Function
luminance_delta_unpack
* @brief Unpack an LDR L color that uses delta encoding. * * Output alpha is 255. * * @param input The packed endpoints (L0, L1). * @par
Source/astcenc_color_unquantize.cpp:221
↓ 1 callers
Function
luminance_unpack
* @brief Unpack an LDR L color that uses direct encoding. * * Output alpha is 255. * * @param input The packed endpoints. * @param[out]
Source/astcenc_color_unquantize.cpp:201
↓ 1 callers
Function
main
The main function. Return: int: The process return code.
Test/astc_test_python.py:115
↓ 1 callers
Function
main
The main function. Return: int: The process return code.
Test/astc_profile_valgrind.py:211
↓ 1 callers
Function
main
The main function. Return: The process return code.
Test/astc_test_functional.py:2263
↓ 1 callers
Function
main
The main function. Return: int: The process return code.
Test/astc_test_image.py:458
↓ 1 callers
Function
main
The main function. Return: The process return code.
Test/astc_test_image_dl.py:160
↓ 1 callers
Function
main
The main function. Return: The process return code.
Test/astc_size_binary.py:145
↓ 1 callers
Function
make_landscape
Modify an existing image on disk to make it landscape aspect. Args: file_path: The path of the image on disk.
Test/astc_test_image_dl.py:55
↓ 1 callers
Function
make_montage
Make a single mosaic montage consisting of all of the Kodak images. Args: src_dir_path: The directory path of the Kodak images on di
Test/astc_test_image_dl.py:87
↓ 1 callers
Function
max
* @brief Return the max vector of two vectors. */
Source/astcenc_vecmathlib_avx2_8.h:457
↓ 1 callers
Function
merge_endpoints
* @brief Merge two planes of endpoints into a single vector. * * @param ep_plane1 The endpoints for plane 1. * @param ep_plane2
Source/astcenc_compress_symbolic.cpp:37
↓ 1 callers
Function
min
* @brief Return the min vector of two vectors. */
Source/astcenc_vecmathlib_sve_8.h:443
↓ 1 callers
Function
min
* @brief Return the min vector of two vectors. */
Source/astcenc_vecmathlib_rvv_n.h:475
↓ 1 callers
Function
one_partition_find_best_combination_for_bitcount
* @brief For one partition compute the best format and quantization for a given bit count. * * @param best_combined_error The best error for
Source/astcenc_pick_best_endpoint_format.cpp:678
↓ 1 callers
Function
parse_command_line
Parse the command line. Return: The parsed command line.
Test/astc_profile_valgrind.py:178
↓ 1 callers
Function
parse_command_line
Parse the command line. Return: Namespace: The parsed command line container.
Test/astc_test_image.py:336
↓ 1 callers
Function
parse_command_line
Parse the command line. Return: The parsed command line.
Test/astc_size_binary.py:127
↓ 1 callers
Function
parse_commandline_options
* @brief Parse the command line. * * @param argc Command line argument count. * @param[in] argv Command line argument vector.
Source/astcenccli_toplevel.cpp:464
↓ 1 callers
Method
parse_output
Parse the log output for PSNR and performance metrics. Args: image: The test image that was compressed. outp
Test/testlib/encoder.py:121
↓ 1 callers
Function
partition_mismatch2
* @brief Compute bit-mismatch for partitioning in 2-partition mode. * * @param a The texel assignment bitvector for the block. * @param b The t
Source/astcenc_find_best_partitioning.cpp:253
↓ 1 callers
Function
partition_mismatch3
* @brief Compute bit-mismatch for partitioning in 3-partition mode. * * @param a The texel assignment bitvector for the block. * @param b The t
Source/astcenc_find_best_partitioning.cpp:273
↓ 1 callers
Function
partition_mismatch4
* @brief Compute bit-mismatch for partitioning in 4-partition mode. * * @param a The texel assignment bitvector for the block. * @param b The t
Source/astcenc_find_best_partitioning.cpp:314
↓ 1 callers
Function
prepare_angular_tables
See header for documentation. */
Source/astcenc_weight_align.cpp:72
↓ 1 callers
Function
print_astcenc_config
* @brief Print the config settings in a human readable form. * * @param[in] cli_config Command line config. * @param[in] config Codec confi
Source/astcenccli_toplevel.cpp:1229
↓ 1 callers
Function
print_diagnostic_images
* @brief Print a set of diagnostic images showing aspects of the encoding. * * @param context The context to use. * @param image The
Source/astcenccli_toplevel.cpp:1587
↓ 1 callers
Function
print_error
Source/astcenccli_entry2.cpp:49
↓ 1 callers
Function
pthread_create
* @brief Proxy Windows @c CreateThread underneath a pthreads-like wrapper. */
Source/astcenccli_platform_dependents.cpp:62
↓ 1 callers
Function
pthread_join
* @brief Proxy Windows @c WaitForSingleObject underneath a pthreads-like wrapper. */
Source/astcenccli_platform_dependents.cpp:129
↓ 1 callers
Function
quantize_hdr_alpha
* @brief Quantize a HDR A color using either delta or direct RGBA encoding. * * @param alpha0 The input unquantized color0 endpoint. *
Source/astcenc_color_quantize.cpp:1820
↓ 1 callers
Function
quantize_hdr_luminance_large_range
* @brief Quantize a HDR L color using the large range encoding. * * @param color0 The input unquantized color0 endpoint. * @param
Source/astcenc_color_quantize.cpp:1644
↓ 1 callers
Function
quantize_hdr_rgb_alpha
* @brief Quantize a HDR RGBA color using either delta or direct RGBA encoding. * * @param color0 The input unquantized color0 endpoint.
Source/astcenc_color_quantize.cpp:1898
↓ 1 callers
Function
quantize_hdr_rgb_ldr_alpha
* @brief Quantize a HDR RGB + LDR A color using direct RGBA encoding. * * @param color0 The input unquantized color0 endpoint. * @param
Source/astcenc_color_quantize.cpp:1619
↓ 1 callers
Function
quantize_hdr_rgbo
* @brief Quantize a HDR RGB color using RGB + offset. * * @param color The input unquantized color endpoint and offset. * @param[out]
Source/astcenc_color_quantize.cpp:925
↓ 1 callers
Function
quantize_luminance
* @brief Quantize a LDR L color. * * @param color0 The input unquantized color0 endpoint. * @param color1 The input unquant
Source/astcenc_color_quantize.cpp:795
↓ 1 callers
Function
quantize_luminance_alpha
* @brief Quantize a LDR LA color. * * @param color0 The input unquantized color0 endpoint. * @param color1 The input unquan
Source/astcenc_color_quantize.cpp:823
↓ 1 callers
Function
quantize_rgba
* @brief Quantize an LDR RGBA color. * * Since this is a fall-back encoding, we cannot actually fail but must produce a sensible result. * For this
Source/astcenc_color_quantize.cpp:208
↓ 1 callers
Function
quantize_rgbs_alpha
* @brief Quantize an LDR RGBA color using scale encoding. * * @param color0 The input unquantized color0 alpha endpoint. * @param c
Source/astcenc_color_quantize.cpp:771
↓ 1 callers
Function
rank_hot_functions
Generate a summary of hot functions in a callgrind_annotate log. Args: lines: The output of callgrind_annotate. Return:
Test/astc_profile_valgrind.py:41
↓ 1 callers
Function
recompute_ideal_colors_1plane
See header for documentation. */
Source/astcenc_ideal_endpoints_and_weights.cpp:1146
↓ 1 callers
Function
recompute_ideal_colors_2planes
See header for documentation. */
Source/astcenc_ideal_endpoints_and_weights.cpp:1369
↓ 1 callers
Function
retrieve_kodak_set
Download the public domain Kodak image set. To make test set mosaics easier to build we rotate images to make everything landscape.
Test/astc_test_image_dl.py:118
↓ 1 callers
Function
reverseLutFromBitmap
Source/ThirdParty/tinyexr.h:3204
↓ 1 callers
Function
rgb_delta_unpack
* @brief Unpack an LDR RGB color that uses delta encoding. * * Output alpha set to 255. * * @param input0 The packed endpoint 0 color. *
Source/astcenc_color_unquantize.cpp:94
↓ 1 callers
Function
rgb_scale_alpha_unpack
* @brief Unpack an LDR RGBA color that uses scaled encoding. * * Note only the RGB channels use the scaled encoding, alpha uses direct. * * @param
Source/astcenc_color_unquantize.cpp:155
↓ 1 callers
Function
rgb_scale_unpack
* @brief Unpack an LDR RGB color that uses scaled encoding. * * Output alpha is 255. * * @param input0 The packed endpoint 0 color. * @pa
Source/astcenc_color_unquantize.cpp:179
↓ 1 callers
Function
rgb_unpack
* @brief Unpack an LDR RGB color that uses direct encoding. * * Output alpha set to 255. * * @param input0 The packed endpoint 0 color. *
Source/astcenc_color_unquantize.cpp:133
↓ 1 callers
Function
rleCompress
Source/ThirdParty/tinyexr.h:1674
↓ 1 callers
Function
rleUncompress
Source/ThirdParty/tinyexr.h:1725
↓ 1 callers
Function
rtna_shift32
Source/astcenc_mathlib_softfloat.cpp:70
↓ 1 callers
Function
rtne_shift32
Source/astcenc_mathlib_softfloat.cpp:59
↓ 1 callers
Function
rtup_shift32
Source/astcenc_mathlib_softfloat.cpp:78
↓ 1 callers
Function
run_pass
Run Valgrind on a single binary. Args: image: The path of the image to compress. encoder: The encoder variant to use.
Test/astc_profile_valgrind.py:100
↓ 1 callers
Method
run_test
Run the test N times. Args: image: The test image to compress. block_size: The block size to use.
Test/testlib/encoder.py:220
↓ 1 callers
Function
run_test_image
Execute one test image in the test set. Args: encoder: The encoder to test. reference: The reference test results to compare
Test/astc_test_image.py:196
↓ 1 callers
Function
run_test_set
Execute all tests in the test set. Args: encoder: The encoder to test. reference: The reference test results to compare agai
Test/astc_test_image.py:236
↓ 1 callers
Method
save_to_file
Save this result set to a CSV file. Args: file_path: The output file path.
Test/testlib/resultset.py:188
↓ 1 callers
Function
select_partition
* @brief Select texel assignment for a single coordinate. * * @param seed The seed - the partition index from the block. * @param x
Source/astcenc_partition_tables.cpp:142
↓ 1 callers
Function
set_group_affinity
* @brief Manually set CPU group and thread affinity. * * This is needed on Windows 10 or older to allow benefit from large core count * systems wit
Source/astcenccli_platform_dependents.cpp:88
↓ 1 callers
Method
set_ref_1plane
* @brief Set a 1 plane weight quant as active. * * @param weight_quant The quant method to set. */
Source/astcenc_internal.h:476
↓ 1 callers
Method
set_ref_2plane
* @brief Set a 2 plane weight quant as active. * * @param weight_quant The quant method to set. */
Source/astcenc_internal.h:497
↓ 1 callers
Method
set_relative_to_reference
Set relative results compared to an existing reference score. Args: reference: The reference result to compare against.
Test/testlib/resultset.py:106
↓ 1 callers
Method
set_status
Set the result status. Args: result: The test result status to set.
Test/testlib/resultset.py:97
↓ 1 callers
Function
sf16_to_sf32
convert from FP16 to FP32. */
Source/astcenc_mathlib_softfloat.cpp:88
↓ 1 callers
Function
sf32_to_sf16
Conversion routine that converts from FP32 to FP16. It supports denormals and all rounding modes. If a NaN is given as input, it is quietened. */
Source/astcenc_mathlib_softfloat.cpp:144
↓ 1 callers
Function
stbi__bitreverse16
Source/ThirdParty/stb_image.h:4107
↓ 1 callers
Function
stbi__bmp_info
Source/ThirdParty/stb_image.h:7335
↓ 1 callers
Function
stbi__bmp_load
Source/ThirdParty/stb_image.h:5531
↓ 1 callers
Function
stbi__bmp_test
Source/ThirdParty/stb_image.h:5361
↓ 1 callers
Function
stbi__bmp_test_raw
Source/ThirdParty/stb_image.h:5346
↓ 1 callers
Function
stbi__build_fast_ac
build a table that decodes both magnitude and value of small ACs in one go.
Source/ThirdParty/stb_image.h:2050
↓ 1 callers
Function
stbi__compute_huffman_codes
Source/ThirdParty/stb_image.h:4359
↓ 1 callers
Function
stbi__compute_transparency
Source/ThirdParty/stb_image.h:4906
↓ 1 callers
Function
stbi__compute_transparency16
Source/ThirdParty/stb_image.h:4931
↓ 1 callers
Function
stbi__convert_16_to_8
Source/ThirdParty/stb_image.h:1190
↓ 1 callers
Function
stbi__convert_8_to_16
Source/ThirdParty/stb_image.h:1206
↓ 1 callers
Function
stbi__cpuid3
Source/ThirdParty/stb_image.h:732
↓ 1 callers
Function
stbi__create_png_image
Source/ThirdParty/stb_image.h:4861
↓ 1 callers
Function
stbi__de_iphone
Source/ThirdParty/stb_image.h:5033
↓ 1 callers
Function
stbi__decode_jpeg_image
decode image to YCbCr format
Source/ThirdParty/stb_image.h:3412
↓ 1 callers
Function
stbi__do_png
Source/ThirdParty/stb_image.h:5263
↓ 1 callers
Function
stbi__expand_png_palette
Source/ThirdParty/stb_image.h:4956
↓ 1 callers
Function
stbi__float_postprocess
Source/ThirdParty/stb_image.h:1314
↓ 1 callers
Function
stbi__get_chunk_header
Source/ThirdParty/stb_image.h:4613
↓ 1 callers
Function
stbi__gif_info
Source/ThirdParty/stb_image.h:7077
↓ 1 callers
Function
stbi__gif_info_raw
Source/ThirdParty/stb_image.h:6639
↓ 1 callers
Function
stbi__gif_load
Source/ThirdParty/stb_image.h:7048
↓ 1 callers
Function
stbi__gif_test_raw
Source/ThirdParty/stb_image.h:6580
↓ 1 callers
Function
stbi__hdr_info
Source/ThirdParty/stb_image.h:7289
↓ 1 callers
Function
stbi__hdr_to_ldr
Source/ThirdParty/stb_image.h:1884
↓ 1 callers
Function
stbi__jpeg_decode_block_prog_ac
@OPTIMIZE: store non-zigzagged during the decode passes, and only de-zigzag when dequantizing
Source/ThirdParty/stb_image.h:2295
↓ 1 callers
Function
stbi__jpeg_dequantize
Source/ThirdParty/stb_image.h:3073
← previous
next →
601–700 of 1,420, ranked by callers