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
↓ 3 callers
Function
unorm16_to_sf16
* @brief Convert unorm16 [0, 65535] to float16 in range [0, 1]. */
Source/astcenc_vecmathlib.h:503
↓ 2 callers
Function
AllocateImage
TODO: Simply return nullptr when failed to allocate?
Source/ThirdParty/tinyexr.h:5779
↓ 2 callers
Function
B44FloatToHalf
Source/ThirdParty/tinyexr.h:3684
↓ 2 callers
Function
B44HalfToFloat
Half-float conversion helpers for B44 table initialization
Source/ThirdParty/tinyexr.h:3656
↓ 2 callers
Function
CalculateNumTiles
Source/ThirdParty/tinyexr.h:7098
↓ 2 callers
Function
ConvertHeader
C++ HeaderInfo to C EXRHeader conversion.
Source/ThirdParty/tinyexr.h:6218
↓ 2 callers
Function
DecodeChunk
Source/ThirdParty/tinyexr.h:6573
↓ 2 callers
Function
DecodePixelData
TODO(syoyo): Refactor function arguments.
Source/ThirdParty/tinyexr.h:4848
↓ 2 callers
Function
DecodeTiledLevel
Source/ThirdParty/tinyexr.h:6390
↓ 2 callers
Function
EXRFormatWavelength
Helper to format wavelength with comma as decimal separator (European convention)
Source/ThirdParty/tinyexr.h:10957
↓ 2 callers
Function
EXRSetNameAttr
Source/ThirdParty/tinyexr.h:10160
↓ 2 callers
Function
EncodePixelData
out_data must be allocated initially with the block-header size of the current image(-part) type
Source/ThirdParty/tinyexr.h:8505
↓ 2 callers
Function
FreeEXRErrorMessage
Source/ThirdParty/tinyexr.h:10113
↓ 2 callers
Function
GetLayers
Source/ThirdParty/tinyexr.h:7611
↓ 2 callers
Function
LoadEXRImageFromMemory
Source/ThirdParty/tinyexr.h:8472
↓ 2 callers
Function
NumScanlines
Source/ThirdParty/tinyexr.h:8955
↓ 2 callers
Function
PackB44Block
Pack a 4x4 block of HALF values into 14 bytes (matches OpenEXR's pack()) Returns the number of bytes written (14 for normal, 3 for flat if flatfields=
Source/ThirdParty/tinyexr.h:4349
↓ 2 callers
Function
ParseEXRHeader
Source/ThirdParty/tinyexr.h:5861
↓ 2 callers
Function
ReadAttribute
Source/ThirdParty/tinyexr.h:1207
↓ 2 callers
Function
ReadChannelInfo
Source/ThirdParty/tinyexr.h:1363
↓ 2 callers
Function
SaveEXRImageToMemory
Source/ThirdParty/tinyexr.h:9592
↓ 2 callers
Function
SaveEXRNPartImageToMemory
can save a single or multi-part image (no deep* formats)
Source/ThirdParty/tinyexr.h:9206
↓ 2 callers
Method
add_record
Add a new test result record to this result set. Args: record: The test record to add.
Test/testlib/resultset.py:145
↓ 2 callers
Function
applyLut
Source/ThirdParty/tinyexr.h:3219
↓ 2 callers
Function
assign_kmeans_texels
* @brief Assign the texels to use for kmeans clustering. * * The max limit is @c BLOCK_MAX_KMEANS_TEXELS; above this a random selection is used. *
Source/astcenc_block_sizes.cpp:717
↓ 2 callers
Function
astc_img_from_floatx4_array
See header for documentation. */
Source/astcenccli_image.cpp:197
↓ 2 callers
Function
astc_img_from_unorm8x4_array
See header for documentation. */
Source/astcenccli_image.cpp:231
↓ 2 callers
Function
astcenc_compress_reset
See header for documentation. */
Source/astcenc_entry.cpp:1231
↓ 2 callers
Function
astcenc_decompress_reset
See header for documentation. */
Source/astcenc_entry.cpp:1393
↓ 2 callers
Function
bitrev8
* @brief Reverse bits in a byte. * * @param p The value to reverse. * * @return The reversed result. */
Source/astcenc_symbolic_physical.cpp:33
↓ 2 callers
Method
cancel
* @brief Clear the tracker and stop new tasks being assigned. * * Note, all in-flight tasks in a worker will still complete normally. */
Source/astcenc_internal_entry.h:167
↓ 2 callers
Function
compress_symbolic_block_for_partition_1plane
* @brief Compress a block using a chosen partitioning and 1 plane of weights. * * @param config The compressor configuration
Source/astcenc_compress_symbolic.cpp:353
↓ 2 callers
Function
compute_avgs_and_dirs_4_comp
See header for documentation. */
Source/astcenc_averages_and_directions.cpp:388
↓ 2 callers
Function
compute_ideal_endpoint_formats
See header for documentation. */
Source/astcenc_pick_best_endpoint_format.cpp:1096
↓ 2 callers
Function
compute_partition_averages_rgba
* @brief Compute the average RGBA color of each partition. * * The algorithm here uses a vectorized sequential scan and per-partition * color accum
Source/astcenc_averages_and_directions.cpp:218
↓ 2 callers
Function
compute_rgbo_vector
* @brief Compute the RGB + offset for a HDR endpoint mode #7. * * Since the matrix needed has a regular structure we can simplify the inverse calcul
Source/astcenc_ideal_endpoints_and_weights.cpp:1099
↓ 2 callers
Function
compute_symbolic_block_difference_2plane
See header for documentation. */
Source/astcenc_decompress_symbolic.cpp:313
↓ 2 callers
Function
copy_scanline
* @brief Copy a scanline from a source file and expand to a canonical format. * * Outputs are always 4 component RGBA, stored as U8 (LDR) or FP16 (H
Source/astcenccli_image_load_store.cpp:427
↓ 2 callers
Function
decode_ise
See header for documentation. */
Source/astcenc_integer_sequence.cpp:651
↓ 2 callers
Function
determine_image_components
See header for documentation. */
Source/astcenccli_image.cpp:115
↓ 2 callers
Function
determine_result
Determine a test result against a reference and thresholds. Args: image: The image being compressed. reference: The referenc
Test/astc_test_image.py:94
↓ 2 callers
Function
encode_ise
See header for documentation. */
Source/astcenc_integer_sequence.cpp:493
↓ 2 callers
Function
float_as_uint
* @brief SP float bit-interpreted as an unsigned integer. * * @param v The value to bitcast. * * @return The converted value. */
Source/astcenc_mathlib.h:383
↓ 2 callers
Function
float_to_float24
Convert float32 to float24 (PXR24 format)
Source/ThirdParty/tinyexr.h:4029
↓ 2 callers
Function
floatx4_array_from_astc_img
See header for documentation. */
Source/astcenccli_image.cpp:258
↓ 2 callers
Function
gatherf
* @brief Load a vector of gathered results from an array; */
Source/astcenc_vecmathlib_sve_8.h:852
↓ 2 callers
Function
generate_one_partition_info_entry
* @brief Generate a single partition info structure. * * @param[out] bsd The block size information. * @param partition_co
Source/astcenc_partition_tables.cpp:276
↓ 2 callers
Function
getBits
Source/ThirdParty/tinyexr.h:2284
↓ 2 callers
Method
get_color_quant_mode
* @brief Get the weight quantization used by this block mode. * * @return The quantization level. */
Source/astcenc_internal.h:1130
↓ 2 callers
Function
get_cpu_count
See header for documentation */
Source/astcenccli_platform_dependents.cpp:139
↓ 2 callers
Function
get_format
Source/astcenccli_image_load_store.cpp:842
↓ 2 callers
Function
get_output_filename_enforced_bitness
See header for documentation. */
Source/astcenccli_image_load_store.cpp:2473
↓ 2 callers
Function
get_quant_level
Utils/astc_quant_generator.cpp:54
↓ 2 callers
Function
get_texels_count
* @brief Get the total number of texels in an image. * * This function validates that the total size would fit in a size_t and returns * 0 if it do
Source/astcenc_entry.cpp:150
↓ 2 callers
Method
get_worst_result
Get the worst result in this set. Return: The worst test result.
Test/testlib/resultset.py:347
↓ 2 callers
Function
hmax
* @brief Return the horizontal maximum of a vector. */
Source/astcenc_vecmathlib_avx2_8.h:487
↓ 2 callers
Function
hmin
* @brief Return the horizontal minimum of a vector. */
Source/astcenc_vecmathlib_avx2_8.h:465
↓ 2 callers
Function
hufCanonicalCodeTable
Source/ThirdParty/tinyexr.h:2314
↓ 2 callers
Function
image_get_pixel
* @brief Get the value of a single pixel in an image. * * Note, this implementation is not particularly optimal as it puts format * checks in the i
Source/astcenccli_toplevel.cpp:1305
↓ 2 callers
Function
image_set_pixel
* @brief Set the value of a single pixel in an image. * * @param[out] img The output image; must use F32 texture components. * @param x
Source/astcenccli_toplevel.cpp:1363
↓ 2 callers
Function
init_block_size_descriptor
See header for documentation. */
Source/astcenc_block_sizes.cpp:1199
↓ 2 callers
Function
int_as_uint
* @brief Signed int bit-interpreted as an unsigned integer. * * @param v The value to bitcast. * * @return The converted value. */
Source/astcenc_mathlib.h:413
↓ 2 callers
Function
interleave_rgba8
* @brief Return a vector of interleaved RGBA data. * * Input vectors have the value stored in the bottom 8 bits of each lane, * with high bits set
Source/astcenc_vecmathlib_sve_8.h:1046
↓ 2 callers
Function
is_3d
Is the given block size a 3D block type? Args: block_size: The block size. Return: True if the block size if 3D, False
Test/astc_test_image.py:58
↓ 2 callers
Method
is_luminance
* @brief Test if this block is a luminance block with constant 1.0 alpha. * * @return @c true if the block is a luminance block , @c false otherwi
Source/astcenc_internal.h:864
↓ 2 callers
Method
is_ref_1plane
* @brief Test if this mode is active below a given 1 plane weight quant (inclusive). * * @param max_weight_quant The max quant method to test.
Source/astcenc_internal.h:486
↓ 2 callers
Method
is_ref_2plane
* @brief Test if this mode is active below a given 2 plane weight quant (inclusive). * * @param max_weight_quant The max quant method to test.
Source/astcenc_internal.h:507
↓ 2 callers
Function
launch_threads
See header for documentation */
Source/astcenccli_platform_dependents.cpp:246
↓ 2 callers
Function
load_ncimage
See header for documentation. */
Source/astcenccli_image_load_store.cpp:2495
↓ 2 callers
Function
make_mixed_image
Make image consisting of RGB from A, and alpha from B. Args: srca_path: The path of input A on disk. srcb_path: The path of
Test/astc_test_image_dl.py:68
↓ 2 callers
Function
mask
* @brief Return a 1-bit mask code indicating mask status. * * bit0 = lane 0 */
Source/astcenc_vecmathlib_none_4.h:413
↓ 2 callers
Function
mask
* @brief Return an 8-bit mask code indicating mask status. * * bit0 = lane 0 */
Source/astcenc_vecmathlib_avx2_8.h:301
↓ 2 callers
Function
mask
* @brief Return a 4-bit mask code indicating mask status. * * bit0 = lane 0 */
Source/astcenc_vecmathlib_sse_4.h:432
↓ 2 callers
Function
max
* @brief Return the max vector of two vectors. */
Source/astcenc_vecmathlib_sve_8.h:451
↓ 2 callers
Function
max
* @brief Return the max vector of two vectors. */
Source/astcenc_vecmathlib_rvv_n.h:483
↓ 2 callers
Function
mpsnr_operator
* @brief mPSNR tone-mapping operator for HDR images. * * @param val The color value to tone map * @param fstop The exposure fstop; should be
Source/astcenccli_error_metrics.cpp:67
↓ 2 callers
Function
prepare_block_statistics
* @brief Determine the lowest cross-channel correlation factor. * * @param texels_per_block The number of texels in a block. * @param blk
Source/astcenc_compress_symbolic.cpp:1047
↓ 2 callers
Function
quantize_rgb
* @brief Quantize an LDR RGB 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:169
↓ 2 callers
Function
quantize_rgbs
* @brief Quantize an LDR RGB color using scale encoding. * * @param color The input unquantized color endpoint and scale factor. * @pa
Source/astcenc_color_quantize.cpp:734
↓ 2 callers
Function
realign_weights_decimated
* @brief Attempt to improve weights given a chosen configuration. * * Given a fixed weight grid decimation and weight value quantization, iterate ov
Source/astcenc_compress_symbolic.cpp:188
↓ 2 callers
Function
realign_weights_undecimated
* @brief Attempt to improve weights given a chosen configuration. * * Given a fixed weight grid decimation and weight value quantization, iterate ov
Source/astcenc_compress_symbolic.cpp:69
↓ 2 callers
Function
rotl
* @brief 64-bit rotate left. * * @param val The value to rotate. * @param count The rotation, in bits. */
Source/astcenc_mathlib.cpp:26
↓ 2 callers
Function
select
* @brief Return lanes from @c b if @c cond is set, else @c a. */
Source/astcenc_vecmathlib_rvv_n.h:567
↓ 2 callers
Function
sendCode
Source/ThirdParty/tinyexr.h:2785
↓ 2 callers
Function
stbi__addints_valid
returns 1 if the sum of two signed ints is valid (between -2^31 and 2^31-1 inclusive), 0 on overflow.
Source/ThirdParty/stb_image.h:1070
↓ 2 callers
Function
stbi__bit_reverse
Source/ThirdParty/stb_image.h:4116
↓ 2 callers
Function
stbi__bmp_parse_header
Source/ThirdParty/stb_image.h:5448
↓ 2 callers
Function
stbi__bmp_set_mask_defaults
Source/ThirdParty/stb_image.h:5422
↓ 2 callers
Function
stbi__build_huffman
Source/ThirdParty/stb_image.h:2003
↓ 2 callers
Function
stbi__check_png_header
Source/ThirdParty/stb_image.h:4621
↓ 2 callers
Function
stbi__copyval
Source/ThirdParty/stb_image.h:6381
↓ 2 callers
Function
stbi__create_png_alpha_expand8
adds an extra all-255 alpha channel dest == src is legal img_n must be 1 or 3
Source/ThirdParty/stb_image.h:4675
↓ 2 callers
Function
stbi__create_png_image_raw
create the png data from post-deflated data
Source/ThirdParty/stb_image.h:4696
↓ 2 callers
Function
stbi__fill_bits
Source/ThirdParty/stb_image.h:4202
↓ 2 callers
Function
stbi__gif_header
Source/ThirdParty/stb_image.h:6608
↓ 2 callers
Function
stbi__gif_load_next
this function is designed to support animated gifs, although stb_image doesn't support it two back is the image from two frames ago, used for a very s
Source/ThirdParty/stb_image.h:6778
↓ 2 callers
Function
stbi__gif_parse_colortable
Source/ThirdParty/stb_image.h:6597
↓ 2 callers
Function
stbi__gif_test
Source/ThirdParty/stb_image.h:6590
↓ 2 callers
Function
stbi__hdr_load
Source/ThirdParty/stb_image.h:7158
↓ 2 callers
Function
stbi__hdr_test_core
Source/ThirdParty/stb_image.h:7087
← previous
next →
301–400 of 1,420, ranked by callers