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
↓ 144 callers
Function
stbi__get8
Source/ThirdParty/stb_image.h:1614
↓ 131 callers
Function
stbi__err
Source/ThirdParty/stb_image.h:978
↓ 130 callers
Function
min
Source/astcenc_mathlib.h:169
↓ 120 callers
Function
select
* @brief Return lanes from @c b if @c cond is set, else @c a. */
Source/astcenc_vecmathlib_sve_8.h:534
↓ 119 callers
Function
print_error
* @brief Print a string to stderr. */
Source/astcenccli_entry.cpp:207
↓ 106 callers
Function
max
Source/astcenc_mathlib.h:220
↓ 101 callers
Function
SetErrorMessage
Source/ThirdParty/tinyexr.h:859
↓ 95 callers
Method
get_tmp_image_path
Get the path of a temporary output image on disk. Temporary files are automatically cleaned up when the test tearDown occurs
Test/astc_test_functional.py:186
↓ 86 callers
Function
swap4
Source/ThirdParty/tinyexr.h:950
↓ 84 callers
Function
vfloat8_lit
* @brief Construct from 8 scalar values. * * The value of @c a is stored to lane 0 (LSB) in the SIMD register. */
Source/UnitTest/test_simd.cpp:45
↓ 74 callers
Function
hadd_s
* @brief Return the horizontal sum of a vector. */
Source/astcenc_vecmathlib_sve_8.h:780
↓ 72 callers
Method
exec
Execute a positive test. Will trigger a test failure if the subprocess return code is any value other than zero. Ar
Test/astc_test_functional.py:399
↓ 71 callers
Function
clamp
Source/astcenc_mathlib.h:272
↓ 71 callers
Function
storea
* @brief Store a vector to a 16B aligned memory address. */
Source/astcenc_vecmathlib_sve_8.h:500
↓ 61 callers
Method
get_ref_image_path
Get the path of a reference image on disk. Args: profile: The color profile. mode: The type of image to load
Test/astc_test_functional.py:152
↓ 60 callers
Function
vint8_lit
* @brief Construct from 8 scalar values. * * The value of @c a is stored to lane 0 (LSB) in the SIMD register. */
Source/UnitTest/test_simd.cpp:61
↓ 58 callers
Function
haccumulate
* @brief Accumulate lane-wise sums for a vector, folded 4-wide. * * This is invariant with 4-wide implementations. */
Source/astcenc_vecmathlib_sve_8.h:801
↓ 57 callers
Function
all
* @brief True if all lanes are enabled, false otherwise. */
Source/astcenc_vecmathlib_sve_8.h:309
↓ 56 callers
Function
trace_add_data
See header for documentation. */
Source/astcenc_diagnostic_trace.cpp:181
↓ 53 callers
Function
mask
* @brief Return an 8-bit mask code indicating mask status. * * bit0 = lane 0 */
Source/astcenc_vecmathlib_sve_8.h:290
↓ 51 callers
Function
any
* @brief True if any lanes are enabled, false otherwise. */
Source/astcenc_vecmathlib_sve_8.h:301
↓ 51 callers
Function
store
* @brief Store a vector to an unaligned memory address. */
Source/astcenc_vecmathlib_sve_8.h:508
↓ 44 callers
Function
flt2int_rtn
* @brief SP float round-to-nearest and convert to integer. * * @param v The value to round. * * @return The rounded value. */
Source/astcenc_mathlib.h:328
↓ 44 callers
Function
stbi__rewind
Source/ThirdParty/stb_image.h:886
↓ 39 callers
Function
stbi__get16be
Source/ThirdParty/stb_image.h:1694
↓ 38 callers
Function
quant_color
* @brief Determine the quantized value given a quantization level. * * @param quant_level The quantization level to use. * @param value T
Source/astcenc_color_quantize.cpp:72
↓ 37 callers
Function
hadd_rgb_s
* @brief Return the horizontal sum of RGB vector lanes as a scalar. */
Source/astcenc_vecmathlib_common_4.h:108
↓ 34 callers
Method
get_colors
Get the image colors at the given coordinate. Args: coord: An image coordinate to sample. Return: T
Test/testlib/image.py:71
↓ 32 callers
Function
stbi__get32le
Source/ThirdParty/stb_image.h:1722
↓ 31 callers
Method
get_channel_rmse
Get the channel-by-channel root mean square error. Images must have same channel count. Args: image1: Path to t
Test/astc_test_functional.py:286
↓ 31 callers
Function
popcount
* @brief Population bit count. * * @param v The value to population count. * * @return The number of 1 bits. */
Source/astcenc_vecmathlib_sse_4.h:1339
↓ 31 callers
Function
stbi__skip
Source/ThirdParty/stb_image.h:1644
↓ 30 callers
Function
int_to_float
* @brief Return a float value for an integer vector. */
Source/astcenc_vecmathlib_sve_8.h:903
↓ 30 callers
Function
stbi__get16le
Source/ThirdParty/stb_image.h:1714
↓ 29 callers
Function
sqrt
* @brief Fast approximation of sqrt(val). * * @param v The input value. * * @return The approximated result. */
Source/astcenc_mathlib.h:455
↓ 27 callers
Method
exec
Execute a negative test. Test will automatically fail if: * The subprocess return code is zero, unless expect_pass is True.
Test/astc_test_functional.py:1452
↓ 26 callers
Function
abs
* @brief Return the absolute value of the float vector. */
Source/astcenc_vecmathlib_sve_8.h:732
↓ 26 callers
Function
mul_safe
* @brief Compute the product of two sizes. * * This function is implemented to indicate if overflow has occurred, which may * occur when input valu
Source/astcenc_mathlib.h:493
↓ 24 callers
Function
print
* @brief Debug function to print a vector of ints. */
Source/astcenc_vecmathlib_sve_8.h:1064
↓ 22 callers
Method
compare
Utility function to compare two images. Note that this comparison tests only decoded color values; file metadata is ignored,
Test/astc_test_functional.py:244
↓ 22 callers
Method
exec_with_omit
Execute a negative test with cmd line argument omission. These tests aim to prove that the cmd fails if arguments are missin
Test/astc_test_functional.py:1510
↓ 20 callers
Method
assertColorSame
Test if a color is the similar to a reference. Will trigger a test failure if the colors are not within threshold. Args:
Test/astc_test_functional.py:352
↓ 20 callers
Function
read_bits
* @brief Read up to 8 bits at an arbitrary bit offset. * * The stored value is at most 8 bits, but can be stored at an offset of between 0 and 7 bit
Source/astcenc_symbolic_physical.cpp:54
↓ 20 callers
Function
stbi__get32be
Source/ThirdParty/stb_image.h:1704
↓ 20 callers
Function
stbi__malloc
Source/ThirdParty/stb_image.h:985
↓ 19 callers
Function
cpy4
Source/ThirdParty/tinyexr.h:913
↓ 19 callers
Function
dot
* @brief Return the dot product for the full 4 lanes, returning vector. */
Source/astcenc_vecmathlib_sse_4.h:1305
↓ 19 callers
Method
texel
* @brief Get an RGBA texel value from the data. * * @param index The texel index. * * @return The texel in RGBA component ordering. */
Source/astcenc_internal.h:809
↓ 18 callers
Function
dot_s
* @brief Return the dot product for the full 4 lanes, returning scalar. */
Source/astcenc_vecmathlib_sse_4.h:1297
↓ 17 callers
Function
astcenc_context_free
See header for documentation. */
Source/astcenc_entry.cpp:862
↓ 17 callers
Function
float_to_int_rtn
* @brief Return a integer value for a float vector, using round-to-nearest. */
Source/astcenc_vecmathlib_sve_8.h:894
↓ 16 callers
Function
astcenc_context_alloc
See header for documentation. */
Source/astcenc_entry.cpp:726
↓ 16 callers
Function
round_up_to_simd_multiple_vla
* @brief Round a count up to the largest multiple of the SIMD width. * * Assumption that the vector width is a power of two ... * * @param count
Source/astcenc_vecmathlib.h:266
↓ 16 callers
Function
stbi__at_eof
Source/ThirdParty/stb_image.h:1628
↓ 15 callers
Method
read
Read n bytes into destination buffer
Source/ThirdParty/exr_reader.hh:50
↓ 15 callers
Function
sf16_to_float
convert from soft-float to native-float */
Source/astcenc_mathlib_softfloat.cpp:346
↓ 14 callers
Function
FreeEXRHeader
Source/ThirdParty/tinyexr.h:10128
↓ 14 callers
Function
astcenc_config_init
See header for documentation. */
Source/astcenc_entry.cpp:504
↓ 14 callers
Function
isnan
* @brief Test if a float value is a nan. * * @param v The value test. * * @return Zero is not a NaN, non-zero otherwise. */
Source/astcenc_mathlib.h:153
↓ 13 callers
Function
WriteAttributeToMemory
Source/ThirdParty/tinyexr.h:1269
↓ 13 callers
Function
float16_to_float
* @brief Return a float value for a float16 vector. */
Source/astcenc_vecmathlib_sse_4.h:998
↓ 13 callers
Function
normalize_safe
* @brief Normalize a vector, returning @c safe if len is zero. */
Source/astcenc_vecmathlib.h:362
↓ 13 callers
Function
store_lanes_masked
* @brief Store a vector, skipping masked lanes. * * All masked lanes must be at the end of vector, after all non-masked lanes. */
Source/astcenc_vecmathlib_sve_8.h:1056
↓ 13 callers
Function
vtable_lookup_32bit
* @brief Perform a vtable lookup in a 16x 8-bit table with 32-bit indices. */
Source/astcenc_vecmathlib_sve_8.h:989
↓ 12 callers
Method
clear
Source/ThirdParty/tinyexr.h:1328
↓ 12 callers
Function
cpy2
Source/ThirdParty/tinyexr.h:883
↓ 12 callers
Function
hmin
* @brief Return the horizontal minimum of a vector. */
Source/astcenc_vecmathlib_sve_8.h:459
↓ 12 callers
Function
stbi__grow_buffer_unsafe
Source/ThirdParty/stb_image.h:2075
↓ 12 callers
Function
stbi__zreceive
Source/ThirdParty/stb_image.h:4214
↓ 12 callers
Function
swap8
Source/ThirdParty/tinyexr.h:1011
↓ 11 callers
Function
clampzo
* @brief Return a clamped value between 0.0f and 1.0f. * * If @c a is NaN then zero will be returned for that lane. */
Source/astcenc_vecmathlib_sve_8.h:724
↓ 11 callers
Function
get_block_count_safe
* @brief Get the number of blocks along a single axis. * * This function is implemented so that intermediate values will not overflow, * which may
Source/astcenc_mathlib.h:516
↓ 11 callers
Function
hmax
* @brief Return the horizontal maximum of a vector. */
Source/astcenc_vecmathlib_sve_8.h:475
↓ 11 callers
Function
hmax_s
* @brief Return the horizontal maximum of a vector. */
Source/astcenc_vecmathlib_sve_8.h:483
↓ 11 callers
Function
pix
* @brief Compute the array offset in a 2D image */
Utils/astc_test_autoextract.cpp:54
↓ 11 callers
Function
swap2
Source/ThirdParty/tinyexr.h:891
↓ 11 callers
Function
vfloat3
* @brief Factory that returns a 3 component vfloat4. */
Source/astcenc_vecmathlib.h:337
↓ 11 callers
Function
vtable_prepare
* @brief Prepare a vtable lookup table for 16x 8-bit entry table. */
Source/astcenc_vecmathlib_sve_8.h:957
↓ 11 callers
Function
write_bits
* @brief Write up to 8 bits at an arbitrary bit offset. * * The stored value is at most 8 bits, but can be stored at an offset of between 0 and 7 bi
Source/astcenc_integer_sequence.cpp:446
↓ 10 callers
Function
astcenc_decompress_image
See header for documentation. */
Source/astcenc_entry.cpp:1274
↓ 10 callers
Function
float_to_sf16
convert from native-float to soft-float */
Source/astcenc_mathlib_softfloat.cpp:352
↓ 10 callers
Function
get_time
See header for documentation */
Source/astcenccli_platform_dependents.cpp:146
↓ 10 callers
Function
hmin_s
* @brief Return the horizontal minimum of a vector. */
Source/astcenc_vecmathlib_sve_8.h:467
↓ 10 callers
Function
pix
* @brief Compute the array offset in a 2D image */
Utils/astc_test_autoextract_hdr.cpp:54
↓ 10 callers
Function
round_down_to_simd_multiple_vla
* @brief Round a count down to the largest multiple of the SIMD width. * * Assumption that the vector width is a power of two ... * * @param count
Source/astcenc_vecmathlib.h:252
↓ 10 callers
Function
stbi__blinn_8x8
fast 0..255 * 0..255 => 0..255 rounded multiplication
Source/ThirdParty/stb_image.h:3859
↓ 10 callers
Function
stbi__malloc_mad3
Source/ThirdParty/stb_image.h:1055
↓ 10 callers
Function
store_ncimage
See header for documentation. */
Source/astcenccli_image_load_store.cpp:2537
↓ 9 callers
Function
print_diagnostic_image
* @brief Populate a single diagnostic image showing aspects of the encoding. * * @param context The context to use. * @param image The
Source/astcenccli_toplevel.cpp:1544
↓ 9 callers
Function
run_positive_test
@brief Helper to run a compression on a single 4x4 block */
Source/UnitTest/test_encode.cpp:135
↓ 9 callers
Function
safe_signed_lsh
* @brief Signed left shift that allows all bits to be shifted out. * * Doing this directly on a 32-bit signed type results in undefined behavior *
Source/astcenc_color_unquantize.cpp:54
↓ 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,
Source/ThirdParty/stb_image.h:2919
↓ 9 callers
Function
stbiw__jpg_processDU
Source/ThirdParty/stb_image_write.h:1328
↓ 9 callers
Function
stbiw__jpg_writeBits
Source/ThirdParty/stb_image_write.h:1253
↓ 9 callers
Function
unit3
* @brief Factory that returns a unit length 3 component vfloat4. */
Source/astcenc_vecmathlib.h:319
↓ 9 callers
Function
vint_from_size
* @brief Generate a vint from a size_t. */
Source/astcenc_vecmathlib_rvv_n.h:525
↓ 9 callers
Function
write_bits
* @brief Write up to 8 bits at an arbitrary bit offset. * * The stored value is at most 8 bits, but can be stored at an offset of between 0 and 7 bi
Source/astcenc_symbolic_physical.cpp:81
↓ 8 callers
Function
FreeEXRImage
Source/ThirdParty/tinyexr.h:10182
↓ 8 callers
Function
alloc_image
See header for documentation. */
Source/astcenccli_image.cpp:28
↓ 8 callers
Function
astcenc_compress_image
See header for documentation. */
Source/astcenc_entry.cpp:1113
next →
1–100 of 1,420, ranked by callers