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
↓ 4 callers
Function
normalize
* @brief Normalize a non-zero length vector to unit length. */
Source/astcenc_vecmathlib.h:353
↓ 4 callers
Method
reset
* @brief Reset the tracker for a new processing batch. * * This must be called from single-threaded code before starting the multi-threaded proces
Source/astcenc_internal_entry.h:149
↓ 4 callers
Function
round_down
Source/UnitTest/test_simd.cpp:74
↓ 4 callers
Function
round_up
Source/UnitTest/test_simd.cpp:80
↓ 4 callers
Function
stbi__bitcount
Source/ThirdParty/stb_image.h:5382
↓ 4 callers
Function
stbi__compute_y_16
Source/ThirdParty/stb_image.h:1803
↓ 4 callers
Function
stbi__end_write_file
Source/ThirdParty/stb_image_write.h:339
↓ 4 callers
Function
stbi__extend_receive
combined JPEG 'receive' and JPEG 'extend', since baseline always extends everything it receives.
Source/ThirdParty/stb_image.h:2153
↓ 4 callers
Function
stbi__high_bit
returns 0..31 for the highest set bit
Source/ThirdParty/stb_image.h:5370
↓ 4 callers
Function
stbi__jpeg_get_bit
Source/ThirdParty/stb_image.h:2181
↓ 4 callers
Function
stbi__load_and_postprocess_8bit
Source/ThirdParty/stb_image.h:1260
↓ 4 callers
Function
stbi__load_gif_main_outofmem
Source/ThirdParty/stb_image.h:6952
↓ 4 callers
Function
stbi__readval
Source/ThirdParty/stb_image.h:6367
↓ 4 callers
Function
stbi__shiftsigned
extract an arbitrarily-aligned N-bit value (N=bits) from v, and then make it 8-bits long and fractionally extend it to full full range.
Source/ThirdParty/stb_image.h:5395
↓ 4 callers
Function
stbi__start_write_file
Source/ThirdParty/stb_image_write.h:332
↓ 4 callers
Function
stbi__tga_get_comp
returns STBI_rgb or whatever, 0 on error
Source/ThirdParty/stb_image.h:5739
↓ 4 callers
Function
stbi__vertical_flip
Source/ThirdParty/stb_image.h:1222
↓ 4 callers
Function
stbi__zget8
Source/ThirdParty/stb_image.h:4197
↓ 4 callers
Function
stbi_write_png
Source/ThirdParty/stb_image_write.h:1215
↓ 4 callers
Function
stbi_zlib_compress
Source/ThirdParty/stb_image_write.h:895
↓ 4 callers
Function
stbiw__write_flush
Source/ThirdParty/stb_image_write.h:386
↓ 4 callers
Function
uint_as_float
* @brief Unsigned integer bit-interpreted as an SP float. * * @param v The value to bitcast. * * @return The converted value. */
Source/astcenc_mathlib.h:398
↓ 4 callers
Function
uncontract_color
* @brief Un-blue-contract a color. * * This function reverses any applied blue contraction. * * @param input The input color that has been blue-
Source/astcenc_color_unquantize.cpp:35
↓ 4 callers
Function
unpack_bytes
Source/astcenccli_image_load_store.cpp:2586
↓ 4 callers
Function
validate_compression_swz
* @brief Validate single channel compression swizzle. * * @param swizzle The swizzle to check. * * @return Return @c ASTCENC_SUCCESS if validate
Source/astcenc_entry.cpp:332
↓ 4 callers
Function
validate_decompression_swz
* @brief Validate single channel decompression swizzle. * * @param swizzle The swizzle to check. * * @return Return @c ASTCENC_SUCCESS if valida
Source/astcenc_entry.cpp:379
↓ 3 callers
Function
DecompressZip
Source/ThirdParty/tinyexr.h:1561
↓ 3 callers
Function
EXRParseSpectralChannelWavelength
Parse wavelength from spectral channel name
Source/ThirdParty/tinyexr.h:11002
↓ 3 callers
Function
FindZFPCompressionParam
Source/ThirdParty/tinyexr.h:4623
↓ 3 callers
Function
InitTileOffsets
Return sum of tile blocks. 0 = error
Source/ThirdParty/tinyexr.h:7164
↓ 3 callers
Function
LevelIndex
-1 = error
Source/ThirdParty/tinyexr.h:6359
↓ 3 callers
Function
ParseEXRHeaderFromFile
Source/ThirdParty/tinyexr.h:10228
↓ 3 callers
Function
ParseEXRHeaderFromMemory
Source/ThirdParty/tinyexr.h:7985
↓ 3 callers
Function
PrecalculateTileInfo
Source/ThirdParty/tinyexr.h:7114
↓ 3 callers
Method
add_error
Add a custom error message
Source/ThirdParty/exr_reader.hh:175
↓ 3 callers
Function
astcenc_print_header
See header for documentation. */
Source/astcenccli_toplevel_help.cpp:556
↓ 3 callers
Function
bit_transfer_signed
* @brief Apply signed bit transfer. * * @param input0 The first encoded endpoint. * @param input1 The second encoded endpoint. */
Source/astcenc_vecmathlib_common_4.h:364
↓ 3 callers
Function
build_partition_table_for_one_partition_count
Source/astcenc_partition_tables.cpp:389
↓ 3 callers
Function
clz
* @brief Count the leading zeros for each lane in @c a. * * Valid for all data values of @c a; will return a per-lane value [0, 32]. */
Source/astcenc_vecmathlib.h:461
↓ 3 callers
Method
complete_task_assignment
* @brief Complete a task assignment. * * Mark @c count tasks as complete. This will notify all threads blocked on @c wait() if this * completes
Source/astcenc_internal_entry.h:246
↓ 3 callers
Function
compute_angular_endpoints_for_quant_levels
* @brief The main function for the angular algorithm. * * @param weight_count The number of (decimated) weights. * @param de
Source/astcenc_weight_align.cpp:256
↓ 3 callers
Function
compute_avgs_and_dirs_3_comp_rgb
See header for documentation. */
Source/astcenc_averages_and_directions.cpp:568
↓ 3 callers
Function
compute_ideal_colors_and_weights_2_comp
* @brief Compute the ideal endpoints and weights for 2 color components. * * @param blk The image block color data to compress. * @pa
Source/astcenc_ideal_endpoints_and_weights.cpp:217
↓ 3 callers
Function
compute_ideal_weights_for_decimation
See header for documentation. */
Source/astcenc_ideal_endpoints_and_weights.cpp:845
↓ 3 callers
Function
compute_quantized_weights_for_decimation
See header for documentation. */
Source/astcenc_ideal_endpoints_and_weights.cpp:974
↓ 3 callers
Function
getCode
Source/ThirdParty/tinyexr.h:2889
↓ 3 callers
Function
get_blocks_count
* @brief Get the total number of blocks in an image. * * This function also validates that the total size of the compressed image, * in bytes, woul
Source/astcenc_entry.cpp:182
↓ 3 callers
Method
get_default_alpha
* @brief Get the default alpha value for endpoints that don't store it. * * The default depends on whether the alpha endpoint is LDR or HDR. *
Source/astcenc_internal.h:838
↓ 3 callers
Method
get_depth
See header for documentation. */
Source/astcenc_diagnostic_trace.cpp:60
↓ 3 callers
Method
get_task_assignment
* @brief Request a task assignment. * * Assign up to @c granule tasks to the caller for processing. * * @param granule Maximum number o
Source/astcenc_internal_entry.h:225
↓ 3 callers
Function
hdr_rgb_unpack
* @brief Unpack an HDR RGB direct encoding. * * @param input The packed endpoints (packed and modal). * @param[out] output0 The unpacked
Source/astcenc_color_unquantize.cpp:498
↓ 3 callers
Function
hmin_rgb_s
* @brief Return the horizontal min of RGB vector lanes as a scalar. */
Source/astcenc_vecmathlib_common_4.h:253
↓ 3 callers
Function
hufCode
Source/ThirdParty/tinyexr.h:2272
↓ 3 callers
Method
init
* @brief Trigger the pipeline stage init step. * * This can be called from multi-threaded code. The first thread to hit this will process the *
Source/astcenc_internal_entry.h:181
↓ 3 callers
Function
ktx_header_switch_endianness
Source/astcenccli_image_load_store.cpp:894
↓ 3 callers
Function
lerp_color_int
* @brief Compute the integer linear interpolation of two color endpoints. * * @param u8_mask The mask for lanes using decode_unorm8 rather tha
Source/astcenc_decompress_symbolic.cpp:37
↓ 3 callers
Function
linear_to_srgb
* @brief sRGB gamma-encode a linear value. * * @return The gamma encoded value. */
Source/astcenccli_toplevel.cpp:1475
↓ 3 callers
Function
lns_to_sf16
* @brief Convert 16-bit LNS to float16. */
Source/astcenc_vecmathlib.h:537
↓ 3 callers
Function
log2
* @brief Compute an approximate log2(x) for each lane in the vector. * * Based on 5th degree minimax polynomials, ported from this blog * https://j
Source/astcenc_vecmathlib.h:416
↓ 3 callers
Function
min
* @brief Return the min 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:204
↓ 3 callers
Function
outputCode
Source/ThirdParty/tinyexr.h:2781
↓ 3 callers
Function
pack_color_endpoints
See header for documentation. */
Source/astcenc_color_quantize.cpp:1909
↓ 3 callers
Function
physical_to_symbolic
See header for documentation. */
Source/astcenc_symbolic_physical.cpp:291
↓ 3 callers
Function
pow
* @brief Compute an approximate pow(x, y) for each lane in the vector. * * Power function based on the exp2(log2(x) * y) transform. */
Source/astcenc_vecmathlib.h:447
↓ 3 callers
Function
quantize_hdr_rgb
* @brief Quantize a HDR RGB color using direct RGB encoding. * * @param color0 The input unquantized color0 endpoint. * @param col
Source/astcenc_color_quantize.cpp:1253
↓ 3 callers
Method
read1
Read 1 byte
Source/ThirdParty/exr_reader.hh:60
↓ 3 callers
Function
readUInt
Source/ThirdParty/tinyexr.h:3061
↓ 3 callers
Function
read_bits
* @brief Read up to 16 bits from two bytes. * * This function reads a packed N-bit field from two bytes in memory. The stored value must exist * wi
Source/astcenc_integer_sequence.cpp:478
↓ 3 callers
Function
select
* @brief Return lanes from @c b if @c cond is set, else @c a. */
Source/astcenc_vecmathlib_avx2_8.h:564
↓ 3 callers
Function
set_thread_name
See header for documentation */
Source/astcenccli_platform_dependents.cpp:156
↓ 3 callers
Function
srgb_to_linear
* @brief Linearize an sRGB value. * * @return The linearized value. */
Source/astcenccli_toplevel.cpp:1459
↓ 3 callers
Function
stbi__addsizes_valid
return 1 if the sum is valid, 0 on overflow. negative terms are considered invalid.
Source/ThirdParty/stb_image.h:1002
↓ 3 callers
Function
stbi__convert_format16
Source/ThirdParty/stb_image.h:1812
↓ 3 callers
Function
stbi__decode_jpeg_header
Source/ThirdParty/stb_image.h:3365
↓ 3 callers
Function
stbi__free_jpeg_components
Source/ThirdParty/stb_image.h:3242
↓ 3 callers
Function
stbi__hdr_convert
Source/ThirdParty/stb_image.h:7131
↓ 3 callers
Function
stbi__info_main
Source/ThirdParty/stb_image.h:7632
↓ 3 callers
Function
stbi__is_16_main
Source/ThirdParty/stb_image.h:7674
↓ 3 callers
Function
stbi__load_and_postprocess_16bit
Source/ThirdParty/stb_image.h:1286
↓ 3 callers
Function
stbi__loadf_main
Source/ThirdParty/stb_image.h:1460
↓ 3 callers
Function
stbi__mad4sizes_valid
Source/ThirdParty/stb_image.h:1039
↓ 3 callers
Function
stbi__malloc_mad4
Source/ThirdParty/stb_image.h:1062
↓ 3 callers
Function
stbi__pic_is4
Source/ThirdParty/stb_image.h:6336
↓ 3 callers
Function
stbi__pnm_getinteger
Source/ThirdParty/stb_image.h:7567
↓ 3 callers
Function
stbi__pnm_info
Source/ThirdParty/stb_image.h:7581
↓ 3 callers
Function
stbi__pnm_skip_whitespace
Source/ThirdParty/stb_image.h:7548
↓ 3 callers
Function
stbi__zeof
Source/ThirdParty/stb_image.h:4192
↓ 3 callers
Function
stbi__zexpand
Source/ThirdParty/stb_image.h:4273
↓ 3 callers
Function
stbi__zhuffman_decode
Source/ThirdParty/stb_image.h:4243
↓ 3 callers
Function
stbi_flip_vertically_on_write
Source/ThirdParty/stb_image_write.h:262
↓ 3 callers
Function
stbi_write_hdr
Source/ThirdParty/stb_image_write.h:794
↓ 3 callers
Function
stbiw__encode_png_line
@OPTIMIZE: provide an option that always forces left-predict or paeth predict
Source/ThirdParty/stb_image_write.h:1092
↓ 3 callers
Function
stbiw__outfile
Source/ThirdParty/stb_image_write.h:478
↓ 3 callers
Function
stbiw__paeth
Source/ThirdParty/stb_image_write.h:1083
↓ 3 callers
Function
stbiw__wpcrc
Source/ThirdParty/stb_image_write.h:1077
↓ 3 callers
Function
stbiw__write3
Source/ThirdParty/stb_image_write.h:406
↓ 3 callers
Function
stbiw__write_pixel
Source/ThirdParty/stb_image_write.h:418
↓ 3 callers
Function
storea
* @brief Store a vector to a 16B aligned memory address. */
Source/astcenc_vecmathlib_avx2_8.h:518
↓ 3 callers
Function
two_to_the_n
* @brief Return lanewise 2^a for each lane in @c a. * * Use of signed int means that this is only valid for values in range [0, 31]. */
Source/astcenc_vecmathlib.h:483
↓ 3 callers
Function
unit4
* @brief Factory that returns a unit length 4 component vfloat4. */
Source/astcenc_vecmathlib.h:311
← previous
next →
201–300 of 1,420, ranked by callers