MCPcopy Create free account

hub / github.com/ARM-software/astc-encoder / functions

Functions1,420 in github.com/ARM-software/astc-encoder

↓ 144 callersFunctionstbi__get8
Source/ThirdParty/stb_image.h:1614
↓ 131 callersFunctionstbi__err
Source/ThirdParty/stb_image.h:978
↓ 130 callersFunctionmin
Source/astcenc_mathlib.h:169
↓ 120 callersFunctionselect
* @brief Return lanes from @c b if @c cond is set, else @c a. */
Source/astcenc_vecmathlib_sve_8.h:534
↓ 119 callersFunctionprint_error
* @brief Print a string to stderr. */
Source/astcenccli_entry.cpp:207
↓ 106 callersFunctionmax
Source/astcenc_mathlib.h:220
↓ 101 callersFunctionSetErrorMessage
Source/ThirdParty/tinyexr.h:859
↓ 95 callersMethodget_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 callersFunctionswap4
Source/ThirdParty/tinyexr.h:950
↓ 84 callersFunctionvfloat8_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 callersFunctionhadd_s
* @brief Return the horizontal sum of a vector. */
Source/astcenc_vecmathlib_sve_8.h:780
↓ 72 callersMethodexec
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 callersFunctionclamp
Source/astcenc_mathlib.h:272
↓ 71 callersFunctionstorea
* @brief Store a vector to a 16B aligned memory address. */
Source/astcenc_vecmathlib_sve_8.h:500
↓ 61 callersMethodget_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 callersFunctionvint8_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 callersFunctionhaccumulate
* @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 callersFunctionall
* @brief True if all lanes are enabled, false otherwise. */
Source/astcenc_vecmathlib_sve_8.h:309
↓ 56 callersFunctiontrace_add_data
See header for documentation. */
Source/astcenc_diagnostic_trace.cpp:181
↓ 53 callersFunctionmask
* @brief Return an 8-bit mask code indicating mask status. * * bit0 = lane 0 */
Source/astcenc_vecmathlib_sve_8.h:290
↓ 51 callersFunctionany
* @brief True if any lanes are enabled, false otherwise. */
Source/astcenc_vecmathlib_sve_8.h:301
↓ 51 callersFunctionstore
* @brief Store a vector to an unaligned memory address. */
Source/astcenc_vecmathlib_sve_8.h:508
↓ 44 callersFunctionflt2int_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 callersFunctionstbi__rewind
Source/ThirdParty/stb_image.h:886
↓ 39 callersFunctionstbi__get16be
Source/ThirdParty/stb_image.h:1694
↓ 38 callersFunctionquant_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 callersFunctionhadd_rgb_s
* @brief Return the horizontal sum of RGB vector lanes as a scalar. */
Source/astcenc_vecmathlib_common_4.h:108
↓ 34 callersMethodget_colors
Get the image colors at the given coordinate. Args: coord: An image coordinate to sample. Return: T
Test/testlib/image.py:71
↓ 32 callersFunctionstbi__get32le
Source/ThirdParty/stb_image.h:1722
↓ 31 callersMethodget_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 callersFunctionpopcount
* @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 callersFunctionstbi__skip
Source/ThirdParty/stb_image.h:1644
↓ 30 callersFunctionint_to_float
* @brief Return a float value for an integer vector. */
Source/astcenc_vecmathlib_sve_8.h:903
↓ 30 callersFunctionstbi__get16le
Source/ThirdParty/stb_image.h:1714
↓ 29 callersFunctionsqrt
* @brief Fast approximation of sqrt(val). * * @param v The input value. * * @return The approximated result. */
Source/astcenc_mathlib.h:455
↓ 27 callersMethodexec
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 callersFunctionabs
* @brief Return the absolute value of the float vector. */
Source/astcenc_vecmathlib_sve_8.h:732
↓ 26 callersFunctionmul_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 callersFunctionprint
* @brief Debug function to print a vector of ints. */
Source/astcenc_vecmathlib_sve_8.h:1064
↓ 22 callersMethodcompare
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 callersMethodexec_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 callersMethodassertColorSame
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 callersFunctionread_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 callersFunctionstbi__get32be
Source/ThirdParty/stb_image.h:1704
↓ 20 callersFunctionstbi__malloc
Source/ThirdParty/stb_image.h:985
↓ 19 callersFunctioncpy4
Source/ThirdParty/tinyexr.h:913
↓ 19 callersFunctiondot
* @brief Return the dot product for the full 4 lanes, returning vector. */
Source/astcenc_vecmathlib_sse_4.h:1305
↓ 19 callersMethodtexel
* @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 callersFunctiondot_s
* @brief Return the dot product for the full 4 lanes, returning scalar. */
Source/astcenc_vecmathlib_sse_4.h:1297
↓ 17 callersFunctionastcenc_context_free
See header for documentation. */
Source/astcenc_entry.cpp:862
↓ 17 callersFunctionfloat_to_int_rtn
* @brief Return a integer value for a float vector, using round-to-nearest. */
Source/astcenc_vecmathlib_sve_8.h:894
↓ 16 callersFunctionastcenc_context_alloc
See header for documentation. */
Source/astcenc_entry.cpp:726
↓ 16 callersFunctionround_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 callersFunctionstbi__at_eof
Source/ThirdParty/stb_image.h:1628
↓ 15 callersMethodread
Read n bytes into destination buffer
Source/ThirdParty/exr_reader.hh:50
↓ 15 callersFunctionsf16_to_float
convert from soft-float to native-float */
Source/astcenc_mathlib_softfloat.cpp:346
↓ 14 callersFunctionFreeEXRHeader
Source/ThirdParty/tinyexr.h:10128
↓ 14 callersFunctionastcenc_config_init
See header for documentation. */
Source/astcenc_entry.cpp:504
↓ 14 callersFunctionisnan
* @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 callersFunctionWriteAttributeToMemory
Source/ThirdParty/tinyexr.h:1269
↓ 13 callersFunctionfloat16_to_float
* @brief Return a float value for a float16 vector. */
Source/astcenc_vecmathlib_sse_4.h:998
↓ 13 callersFunctionnormalize_safe
* @brief Normalize a vector, returning @c safe if len is zero. */
Source/astcenc_vecmathlib.h:362
↓ 13 callersFunctionstore_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 callersFunctionvtable_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 callersMethodclear
Source/ThirdParty/tinyexr.h:1328
↓ 12 callersFunctioncpy2
Source/ThirdParty/tinyexr.h:883
↓ 12 callersFunctionhmin
* @brief Return the horizontal minimum of a vector. */
Source/astcenc_vecmathlib_sve_8.h:459
↓ 12 callersFunctionstbi__grow_buffer_unsafe
Source/ThirdParty/stb_image.h:2075
↓ 12 callersFunctionstbi__zreceive
Source/ThirdParty/stb_image.h:4214
↓ 12 callersFunctionswap8
Source/ThirdParty/tinyexr.h:1011
↓ 11 callersFunctionclampzo
* @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 callersFunctionget_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 callersFunctionhmax
* @brief Return the horizontal maximum of a vector. */
Source/astcenc_vecmathlib_sve_8.h:475
↓ 11 callersFunctionhmax_s
* @brief Return the horizontal maximum of a vector. */
Source/astcenc_vecmathlib_sve_8.h:483
↓ 11 callersFunctionpix
* @brief Compute the array offset in a 2D image */
Utils/astc_test_autoextract.cpp:54
↓ 11 callersFunctionswap2
Source/ThirdParty/tinyexr.h:891
↓ 11 callersFunctionvfloat3
* @brief Factory that returns a 3 component vfloat4. */
Source/astcenc_vecmathlib.h:337
↓ 11 callersFunctionvtable_prepare
* @brief Prepare a vtable lookup table for 16x 8-bit entry table. */
Source/astcenc_vecmathlib_sve_8.h:957
↓ 11 callersFunctionwrite_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 callersFunctionastcenc_decompress_image
See header for documentation. */
Source/astcenc_entry.cpp:1274
↓ 10 callersFunctionfloat_to_sf16
convert from native-float to soft-float */
Source/astcenc_mathlib_softfloat.cpp:352
↓ 10 callersFunctionget_time
See header for documentation */
Source/astcenccli_platform_dependents.cpp:146
↓ 10 callersFunctionhmin_s
* @brief Return the horizontal minimum of a vector. */
Source/astcenc_vecmathlib_sve_8.h:467
↓ 10 callersFunctionpix
* @brief Compute the array offset in a 2D image */
Utils/astc_test_autoextract_hdr.cpp:54
↓ 10 callersFunctionround_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 callersFunctionstbi__blinn_8x8
fast 0..255 * 0..255 => 0..255 rounded multiplication
Source/ThirdParty/stb_image.h:3859
↓ 10 callersFunctionstbi__malloc_mad3
Source/ThirdParty/stb_image.h:1055
↓ 10 callersFunctionstore_ncimage
See header for documentation. */
Source/astcenccli_image_load_store.cpp:2537
↓ 9 callersFunctionprint_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 callersFunctionrun_positive_test
@brief Helper to run a compression on a single 4x4 block */
Source/UnitTest/test_encode.cpp:135
↓ 9 callersFunctionsafe_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 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,
Source/ThirdParty/stb_image.h:2919
↓ 9 callersFunctionstbiw__jpg_processDU
Source/ThirdParty/stb_image_write.h:1328
↓ 9 callersFunctionstbiw__jpg_writeBits
Source/ThirdParty/stb_image_write.h:1253
↓ 9 callersFunctionunit3
* @brief Factory that returns a unit length 3 component vfloat4. */
Source/astcenc_vecmathlib.h:319
↓ 9 callersFunctionvint_from_size
* @brief Generate a vint from a size_t. */
Source/astcenc_vecmathlib_rvv_n.h:525
↓ 9 callersFunctionwrite_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 callersFunctionFreeEXRImage
Source/ThirdParty/tinyexr.h:10182
↓ 8 callersFunctionalloc_image
See header for documentation. */
Source/astcenccli_image.cpp:28
↓ 8 callersFunctionastcenc_compress_image
See header for documentation. */
Source/astcenc_entry.cpp:1113
next →1–100 of 1,420, ranked by callers