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
↓ 8 callers
Function
astcenc_get_error_string
See header for documentation. */
Source/astcenc_entry.cpp:1520
↓ 8 callers
Function
change_sign
* @brief Return @c a with lanes negated if the @c b lane is negative. */
Source/astcenc_vecmathlib.h:275
↓ 8 callers
Function
dot3_s
* @brief Return the dot product for the bottom 3 lanes, returning scalar. */
Source/astcenc_vecmathlib_sse_4.h:1313
↓ 8 callers
Function
float_to_int
* @brief Return a integer value for a float vector, using truncation. */
Source/astcenc_vecmathlib_sve_8.h:886
↓ 8 callers
Function
get_ise_sequence_bitcount
See header for documentation. */
Source/astcenc_integer_sequence.cpp:419
↓ 8 callers
Function
get_rgba_encoding_error
* @brief Compute the error of an LDR RGB or RGBA encoding. * * @param uquant0 The original endpoint 0 color. * @param uquant1 The original en
Source/astcenc_color_quantize.cpp:53
↓ 8 callers
Method
get_weight_quant_mode
* @brief Get the weight quantization used by this block mode. * * @return The quantization level. */
Source/astcenc_internal.h:440
↓ 8 callers
Function
half_to_float
Source/ThirdParty/tinyexr.h:1087
↓ 8 callers
Function
hufLength
Source/ThirdParty/tinyexr.h:2270
↓ 8 callers
Function
quant_color3
* @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:88
↓ 8 callers
Function
stbi__clamp
take a -128..127 value and stbi__clamp it and convert to 0..255
Source/ThirdParty/stb_image.h:2416
↓ 8 callers
Function
stbi__convert_format
Source/ThirdParty/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
Source/ThirdParty/stb_image.h:1031
↓ 8 callers
Function
stbi_image_free
Source/ThirdParty/stb_image.h:1101
↓ 8 callers
Function
stbiw__putc
Source/ThirdParty/stb_image_write.h:394
↓ 7 callers
Function
InitEXRHeader
Source/ThirdParty/tinyexr.h:10120
↓ 7 callers
Function
atan
* @brief Return fast, but approximate, vector atan(x). * * Max error of this implementation is 0.004883. */
Source/astcenc_vecmathlib.h:289
↓ 7 callers
Function
atan2
* @brief Return fast, but approximate, vector atan2(x, y). */
Source/astcenc_vecmathlib.h:301
↓ 7 callers
Function
bilinear_infill_vla
* @brief Compute the infilled weight for N texel indices in a decimated grid. * * @param di The weight grid decimation to use. * @param weig
Source/astcenc_ideal_endpoints_and_weights.cpp:38
↓ 7 callers
Function
bilinear_infill_vla_2
* @brief Compute the infilled weight for N texel indices in a decimated grid. * * This is specialized version which computes only two weights per te
Source/astcenc_ideal_endpoints_and_weights.cpp:78
↓ 7 callers
Function
clamp1f
* @brief Clamp a float value between 0.0f and 1.0f. * * NaNs are turned into 0.0f. * * @param v The value to clamp. * * @return The clamped va
Source/astcenc_mathlib.h:290
↓ 7 callers
Function
stbi__compute_y
Source/ThirdParty/stb_image.h:1746
↓ 7 callers
Function
stbi__start_callbacks
initialize a callback-based context
Source/ThirdParty/stb_image.h:836
↓ 7 callers
Function
stbi__start_mem
initialize a memory-decode context
Source/ThirdParty/stb_image.h:826
↓ 7 callers
Method
tell
Get current position
Source/ThirdParty/exr_reader.hh:155
↓ 7 callers
Function
unpack_color_endpoints
See header for documentation. */
Source/astcenc_color_unquantize.cpp:844
↓ 6 callers
Function
InitEXRImage
Source/ThirdParty/tinyexr.h:10095
↓ 6 callers
Function
brent_kung_prefix_sum
* @brief Generate a prefix-sum array using the Brent-Kung algorithm. * * This will take an input array of the form: * v0, v1, v2, ... * ... an
Source/astcenc_compute_variance.cpp:48
↓ 6 callers
Function
ends_with
* @brief Test if a string ends with a given suffix. */
Source/astcenccli_toplevel.cpp:230
↓ 6 callers
Function
float_as_int
* @brief SP float bit-interpreted as an integer. * * @param v The value to bitcast. * * @return The converted value. */
Source/astcenc_mathlib.h:353
↓ 6 callers
Function
float_to_float16
* @brief Return a float16 value for a float vector, using round-to-nearest. */
Source/astcenc_vecmathlib_sse_4.h:967
↓ 6 callers
Method
get_color_refs
Get an expected reference color for a tile image corner. Args: mode: The color mode (LDR, or HDR) corners: T
Test/astc_test_functional.py:334
↓ 6 callers
Method
get_current_leaf
See header for documentation. */
Source/astcenc_diagnostic_trace.cpp:49
↓ 6 callers
Method
is_format_supported
Test if a given file format is supported by the library. Args: file_format: The target file extension, excluding the '.'
Test/testlib/image.py:44
↓ 6 callers
Function
max
* @brief Return the min vector of two vectors. */
Source/astcenc_vecmathlib_none_4.h:621
↓ 6 callers
Function
min
* @brief Return the min vector of two vectors. */
Source/astcenc_vecmathlib_none_4.h:610
↓ 6 callers
Function
outputBits
Source/ThirdParty/tinyexr.h:2274
↓ 6 callers
Function
quantize_and_unquantize_retain_top_four_bits
* @brief Quantize and unquantize a value ensuring top four bits are the same. * * @param quant_level The quantization level to use. * @par
Source/astcenc_color_quantize.cpp:887
↓ 6 callers
Function
rgba_delta_unpack
Source/astcenc_color_unquantize.cpp:61
↓ 6 callers
Function
rgba_unpack
Source/astcenc_color_unquantize.cpp:105
↓ 6 callers
Function
round
* @brief Return a float rounded to the nearest integer value. */
Source/astcenc_vecmathlib_sve_8.h:740
↓ 6 callers
Function
rsqrt
* @brief Fast approximation of 1.0 / sqrt(val). * * @param v The input value. * * @return The approximated result. */
Source/astcenc_mathlib.h:443
↓ 6 callers
Function
stbi__fopen
Source/ThirdParty/stb_image.h:1337
↓ 6 callers
Function
stbi__hdr_test
Source/ThirdParty/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.
Source/ThirdParty/stb_image.h:1014
↓ 6 callers
Function
stbi__start_file
Source/ThirdParty/stb_image.h:877
↓ 6 callers
Function
stbi_load
Source/ThirdParty/stb_image.h:1366
↓ 6 callers
Function
store_lane
* @brief Store a single vector lane to an unaligned address. */
Source/astcenc_vecmathlib_none_4.h:1194
↓ 6 callers
Function
store_lane
* @brief Store a single vector lane to an unaligned address. */
Source/astcenc_vecmathlib_neon_4.h:1082
↓ 6 callers
Function
store_lane
* @brief Store a single vector lane to an unaligned address. */
Source/astcenc_vecmathlib_sse_4.h:1251
↓ 6 callers
Function
store_nbytes
* @brief Store lowest N (vector width) bytes into an unaligned address. */
Source/astcenc_vecmathlib_sve_8.h:516
↓ 6 callers
Function
wdec14
Source/ThirdParty/tinyexr.h:1966
↓ 6 callers
Function
wdec16
Source/ThirdParty/tinyexr.h:2006
↓ 6 callers
Function
wenc14
Source/ThirdParty/tinyexr.h:1954
↓ 6 callers
Function
wenc16
Source/ThirdParty/tinyexr.h:1992
↓ 5 callers
Function
FindCustomAttribute
Helper to find custom attribute by name
Source/ThirdParty/tinyexr.h:11067
↓ 5 callers
Function
LevelSize
Source/ThirdParty/tinyexr.h:6376
↓ 5 callers
Method
add_attrib
See header for documentation. */
Source/astcenc_diagnostic_trace.cpp:129
↓ 5 callers
Function
clamp255f
* @brief Clamp a float value between 0.0f and 255.0f. * * NaNs are turned into 0.0f. * * @param v The value to clamp. * * @return The clamped v
Source/astcenc_mathlib.h:304
↓ 5 callers
Function
compute_ideal_colors_and_weights_3_comp
* @brief Compute the ideal endpoints and weights for 3 color components. * * @param blk The image block color data to compress.
Source/astcenc_ideal_endpoints_and_weights.cpp:354
↓ 5 callers
Function
dot3
* @brief Return the dot product for the bottom 3 lanes, returning vector. */
Source/astcenc_vecmathlib_sse_4.h:1321
↓ 5 callers
Function
error_color_nan
* @brief Return an FP32 NaN value for use in error colors. * * This NaN encoding will turn into 0xFFFF when converted to an FP16 NaN. * * @return
Source/astcenc_decompress_symbolic.cpp:164
↓ 5 callers
Method
get_image_path
Get the path of a specific reference image on disk. Args: image: The image to load. Return: The pat
Test/astc_test_functional.py:138
↓ 5 callers
Function
get_output_filename
* @brief Determine the output file name to use for a sliced image write. * * @param img The source data for the image. * @param filename T
Source/astcenccli_image_load_store.cpp:62
↓ 5 callers
Function
get_quant_level
* @brief The number of levels use by an ASTC quantization method. * * @param method The quantization method * * @return The number of levels u
Source/astcenc_internal.h:236
↓ 5 callers
Function
get_u8_component_mask
* @brief Get a vector mask indicating lanes decompressing into a UNORM8 value. * * @param decode_mode The color profile for LDR_SRGB settings. *
Source/astcenc_internal.h:1590
↓ 5 callers
Function
int_as_float
* @brief Integer bit-interpreted as an SP float. * * @param v The value to bitcast. * * @return The converted value. */
Source/astcenc_mathlib.h:368
↓ 5 callers
Method
length
Get total length
Source/ThirdParty/exr_reader.hh:170
↓ 5 callers
Function
pack_and_store_low_bytes
* @brief Pack low 8 bits of N (vector width) lanes into bottom of vector. */
Source/astcenc_vecmathlib_sve_8.h:525
↓ 5 callers
Function
quantize_and_unquantize_retain_top_two_bits
* @brief Quantize and unquantize a value ensuring top two bits are the same. * * @param quant_level The quantization level to use. * @para
Source/astcenc_color_quantize.cpp:848
↓ 5 callers
Function
reverse_bytes_u32
* @brief Reverse the bytes in a uint32_t value. */
Source/astcenccli_image_load_store.cpp:44
↓ 5 callers
Function
stbi__cleanup_jpeg
clean up the temporary component buffers
Source/ThirdParty/stb_image.h:3843
↓ 5 callers
Function
stbi__do_zlib
Source/ThirdParty/stb_image.h:4510
↓ 5 callers
Function
stbi__getn
Source/ThirdParty/stb_image.h:1666
↓ 5 callers
Function
stbi__hdr_gettoken
Source/ThirdParty/stb_image.h:7109
↓ 5 callers
Function
stbi__jpeg_huff_decode
decode a jpeg huffman value from the bitstream
Source/ThirdParty/stb_image.h:2097
↓ 5 callers
Function
stbi__jpeg_reset
after a restart interval, stbi__jpeg_reset the entropy decoder and the dc prediction
Source/ThirdParty/stb_image.h:2936
↓ 5 callers
Function
stbi__malloc_mad2
mallocs with size overflow checking
Source/ThirdParty/stb_image.h:1048
↓ 5 callers
Function
stbi__start_write_callbacks
initialize a callback-based context
Source/ThirdParty/stb_image_write.h:276
↓ 5 callers
Function
stbi__zbuild_huffman
Source/ThirdParty/stb_image.h:4124
↓ 5 callers
Function
stbi_loadf
Source/ThirdParty/stb_image.h:1493
↓ 5 callers
Function
stbiw__write1
Source/ThirdParty/stb_image_write.h:399
↓ 5 callers
Function
unpack_weights
See header for documentation. */
Source/astcenc_decompress_symbolic.cpp:89
↓ 5 callers
Method
valid
Returns whether this was successfully opened.
Source/ThirdParty/tinyexr.h:8446
↓ 5 callers
Function
vfloat2
* @brief Factory that returns a 2 component vfloat4. */
Source/astcenc_vecmathlib.h:345
↓ 5 callers
Function
writeUInt
Source/ThirdParty/tinyexr.h:3052
↓ 4 callers
Function
AddStringAttribute
Helper to add a string attribute
Source/ThirdParty/tinyexr.h:11169
↓ 4 callers
Function
InitSingleResolutionOffsets
Source/ThirdParty/tinyexr.h:7154
↓ 4 callers
Function
ParseEXRVersionFromFile
Source/ThirdParty/tinyexr.h:10462
↓ 4 callers
Function
ParseEXRVersionFromMemory
Source/ThirdParty/tinyexr.h:10443
↓ 4 callers
Function
RoundLog2
Source/ThirdParty/tinyexr.h:7018
↓ 4 callers
Function
UTF8ToWchar
Source/ThirdParty/tinyexr.h:5850
↓ 4 callers
Function
compute_ideal_colors_and_weights_1_comp
* @brief Compute the ideal endpoints and weights for 1 color component. * * @param blk The image block color data to compress. * @para
Source/astcenc_ideal_endpoints_and_weights.cpp:107
↓ 4 callers
Function
detect_cpu_isa
* @brief Detect platform CPU ISA support and update global trackers. */
Source/astcenccli_entry.cpp:70
↓ 4 callers
Function
insert_result
* @brief Insert a partitioning into an order list of results, sorted by error. * * @param max_values The max number of entries in the best
Source/astcenc_find_best_partitioning.cpp:512
↓ 4 callers
Method
is_constant_channel
* @brief Test if a single color channel is constant across the block. * * Constant color channels are easier to compress as interpolating between
Source/astcenc_internal.h:852
↓ 4 callers
Function
max
* @brief Return the max vector of two vectors. */
Source/astcenc_vecmathlib_sse_4.h:598
↓ 4 callers
Function
max
* @brief Return the max vector of a vector and a scalar. * * If either lane value is NaN, @c b will be returned for that lane. */
Source/astcenc_vecmathlib_common_4.h:214
↓ 4 callers
Function
min
* @brief Return the min vector of two vectors. */
Source/astcenc_vecmathlib_sse_4.h:583
↓ 4 callers
Function
mpsnr_sumdiff
* @brief mPSNR difference between two values. * * Differences are given as "val1 - val2". * * @param val1 The first color value * @param va
Source/astcenccli_error_metrics.cpp:92
← previous
next →
101–200 of 1,420, ranked by callers