Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BinomialLLC/basis_universal
/ functions
Functions
4,622 in github.com/BinomialLLC/basis_universal
⨍
Functions
4,622
◇
Types & classes
553
↓ 1 callers
Function
platform_sleep
encoder/basisu_enc.cpp:286
↓ 1 callers
Method
png_decode
encoder/pvpngreader.cpp:1252
↓ 1 callers
Method
png_decode_start
encoder/pvpngreader.cpp:1503
↓ 1 callers
Function
precompute_texel_partition
transcoder/basisu_astc_helpers.h:1972
↓ 1 callers
Function
precompute_texel_partitions
transcoder/basisu_astc_helpers.h:2023
↓ 1 callers
Method
print_prices
transcoder/basisu_transcoder_internal.h:2254
↓ 1 callers
Function
process_held_keys
Process continuously held keys.
shader_deblocking/testbed.py:670
↓ 1 callers
Method
process_listing_files
basisu_tool.cpp:1389
↓ 1 callers
Function
qoi_decode
encoder/3rdparty/qoi.h:488
↓ 1 callers
Function
qoi_read
encoder/3rdparty/qoi.h:625
↓ 1 callers
Method
quantize_deadzone
transcoder/basisu_transcoder_internal.h:1752
↓ 1 callers
Function
query_counter_frequency
encoder/basisu_enc.cpp:303
↓ 1 callers
Function
radix_sort
encoder/basisu_enc.h:645
↓ 1 callers
Function
random_compress_test
The main point of this test is to exercise lots of internal code paths.
example/example.cpp:664
↓ 1 callers
Function
ray_aabb
encoder/basisu_enc.h:4158
↓ 1 callers
Function
read_astc_file
encoder/basisu_gpu_texture.cpp:2353
↓ 1 callers
Method
read_bytes
(self, ptr: int, num: int)
python/basisu_py/wasm/wasm_transcoder.py:68
↓ 1 callers
Method
read_memory
(self, ptr, size)
python/basisu_py/wasm/wasm_encoder.py:125
↓ 1 callers
Function
read_tga
encoder/basisu_enc.cpp:2435
↓ 1 callers
Function
read_uncompressed_dds_file
encoder/basisu_gpu_texture.cpp:2074
↓ 1 callers
Function
refine_endpoints_mode11
encoder/basisu_astc_hdr_common.cpp:5901
↓ 1 callers
Function
refine_endpoints_mode7
encoder/basisu_astc_hdr_common.cpp:6143
↓ 1 callers
Method
release
encoder/basisu_astc_ldr_encode.cpp:4761
↓ 1 callers
Function
reload_shader
Attempt to reload shader. Keep old one if failed.
shader_deblocking/testbed.py:185
↓ 1 callers
Function
reverseBits
encoder/3rdparty/android_astc_decomp.cpp:258
↓ 1 callers
Function
reverseLutFromBitmap
encoder/3rdparty/tinyexr.h:3204
↓ 1 callers
Function
rgbToBitmap
contrib/previewers/win/helpers.cpp:20
↓ 1 callers
Function
rleCompress
encoder/3rdparty/tinyexr.h:1674
↓ 1 callers
Function
rleUncompress
encoder/3rdparty/tinyexr.h:1725
↓ 1 callers
Function
rotation_matrix_x
Create rotation matrix around X axis (pitch).
shader_deblocking/testbed.py:581
↓ 1 callers
Function
rotation_matrix_y
Create rotation matrix around Y axis (yaw).
shader_deblocking/testbed.py:569
↓ 1 callers
Method
rows
transcoder/basisu_transcoder_internal.h:1582
↓ 1 callers
Function
safe_cast_int8
transcoder/basisu.h:169
↓ 1 callers
Function
safe_cast_uint8
transcoder/basisu.h:163
↓ 1 callers
Function
sanity_check_texel_partition_tables
transcoder/basisu_astc_helpers.h:1940
↓ 1 callers
Function
save_dds
example_transcoding/utils.cpp:598
↓ 1 callers
Method
save_dds
Port of: bool save_dds(const char* pFilename, uint32_t width, uint32_t height,
python/dds_writer.py:82
↓ 1 callers
Function
save_exr
Save float32 RGBA as EXR if possible. If oiiotool is not available, save TIFF instead (Windows-safe).
python/explode_ktx2_file.py:48
↓ 1 callers
Function
save_png
(path, rgba8)
python/explode_ktx2_file.py:84
↓ 1 callers
Function
save_png
encoder/basisu_enc.cpp:779
↓ 1 callers
Function
setTexelColors
encoder/3rdparty/android_astc_decomp.cpp:1671
↓ 1 callers
Method
set_base4_color
encoder/basisu_etc.h:310
↓ 1 callers
Method
set_base5_color
encoder/basisu_etc.h:344
↓ 1 callers
Method
set_block_color5_check
encoder/basisu_etc.h:654
↓ 1 callers
Method
set_block_color5_clamp
encoder/basisu_etc.h:674
↓ 1 callers
Method
set_equals
transcoder/basisu_containers.h:2781
↓ 1 callers
Method
set_hasher
transcoder/basisu_containers.h:2785
↓ 1 callers
Method
set_image_float_rgba
(self, params, image_index, img_ptr, w, h, pitch)
python/lowlevel_test_wasm/basisu_wasm.py:88
↓ 1 callers
Method
set_modulation
encoder/basisu_pvrtc1_4.h:90
↓ 1 callers
Function
set_num_wasi_threads
encoder/basisu_enc.cpp:4735
↓ 1 callers
Method
set_slice_source_image
Only valid for LDR inputs.
webgl/transcoder/basis_wrappers.cpp:1425
↓ 1 callers
Method
set_slice_source_image_hdr
Accepts RGBA half float or RGBA float images, or .EXR, .HDR, .PNG, or .JPG file data.
webgl/transcoder/basis_wrappers.cpp:1494
↓ 1 callers
Function
sign
encoder/cppspmd_sse.h:1526
↓ 1 callers
Function
split_image_mode
basisu_tool.cpp:4672
↓ 1 callers
Method
squared_distance
example_transcoding/utils.h:974
↓ 1 callers
Function
string_ends_with
encoder/basisu_enc.h:1244
↓ 1 callers
Function
sub_and_compute_std_dev
encoder/basisu_astc_hdr_6x6_enc.cpp:2433
↓ 1 callers
Function
subs_epu16
encoder/cppspmd_sse.h:1644
↓ 1 callers
Function
supports
* Returns a supported compressed texture format for a given context. * * \param[in] ctx WebGL context * \param[in] alpha \c true if the texture has
contrib/single_file_transcoder/examples/emscripten.cpp:241
↓ 1 callers
Function
surrogate_quant_endpoint_val
encoder/basisu_astc_ldr_common.cpp:4607
↓ 1 callers
Function
tdefl_calculate_minimum_redundancy
tdefl_calculate_minimum_redundancy() originally written by: Alistair Moffat, alistair@cs.mu.oz.au, Jyrki Katajainen, jyrki@diku.dk, November 1996.
encoder/basisu_miniz.h:1523
↓ 1 callers
Function
tdefl_compress_fast
encoder/basisu_miniz.h:2016
↓ 1 callers
Function
tdefl_compress_lz_codes
encoder/basisu_miniz.h:1706
↓ 1 callers
Function
tdefl_compress_normal
encoder/basisu_miniz.h:2184
↓ 1 callers
Function
tdefl_create_comp_flags_from_zip_params
level may actually range from [0,10] (10 is a "hidden" max level, where we want a bit more compression and it's fine if throughput to fall off a cliff
encoder/basisu_miniz.h:2466
↓ 1 callers
Function
tdefl_find_match
encoder/basisu_miniz.h:1952
↓ 1 callers
Function
tdefl_get_adler32
encoder/basisu_miniz.h:2408
↓ 1 callers
Function
tdefl_huffman_enforce_max_code_size
encoder/basisu_miniz.h:1545
↓ 1 callers
Function
tdefl_radix_sort_syms
encoder/basisu_miniz.h:1506
↓ 1 callers
Function
tdefl_start_dynamic_block
encoder/basisu_miniz.h:1623
↓ 1 callers
Function
tdefl_start_static_block
encoder/basisu_miniz.h:1685
↓ 1 callers
Function
test_2D
Simple 2D test
example_capi/example_capi.c:470
↓ 1 callers
Function
test_compress_astc_hdr_6x6
example/example.cpp:1327
↓ 1 callers
Function
test_compress_astc_ldr_6x6
example/example.cpp:1427
↓ 1 callers
Function
test_compress_etc1s
example/example.cpp:1171
↓ 1 callers
Function
test_compress_etc1s_texture_video
View the resulting texture video .basis file using the webgl/video_test WebGL sample.
example/example.cpp:1538
↓ 1 callers
Function
test_compress_uastc_hdr_4x4
example/example.cpp:1273
↓ 1 callers
Function
test_compress_uastc_hdr_6x6i
example/example.cpp:1377
↓ 1 callers
Function
test_compress_uastc_hdr_6x6i_array_custom_mipmap
example/example.cpp:1673
↓ 1 callers
Function
test_compress_uastc_ldr_4x4
example/example.cpp:1222
↓ 1 callers
Function
test_compress_xuastc_ldr_6x6
example/example.cpp:1483
↓ 1 callers
Function
test_compress_xuastc_ldr_texture_video
View the resulting texture video .basis file using the webgl/video_test WebGL sample.
example/example.cpp:1606
↓ 1 callers
Function
test_mode_ldr
basisu_tool.cpp:4961
↓ 1 callers
Function
test_mode_xuastc_ldr
basisu_tool.cpp:5397
↓ 1 callers
Function
tinfl_decompress_mem_to_heap
Higher level helper functions.
encoder/basisu_miniz.h:1388
↓ 1 callers
Function
tm_hash_index
Full ZStd syntax only
transcoder/basisu_transcoder_internal.h:2026
↓ 1 callers
Function
to_c_string
(path)
cmd_help/process.py:2
↓ 1 callers
Method
to_string
transcoder/basisu_containers_impl.h:476
↓ 1 callers
Function
tonemap_image_compressive2
encoder/basisu_enc.cpp:3970
↓ 1 callers
Function
tonemap_image_mode
basisu_tool.cpp:4763
↓ 1 callers
Function
transcode
( buffer )
webgl/gltf/BasisTextureLoader.js:440
↓ 1 callers
Method
transcodeImageWithFlags
like transcodeImage(), but with fixed parameters (includes flags) For flags, see cDecodeFlagsPVRTCDecodeToNextPow2 etc. format is transcoder_texture_f
webgl/transcoder/basis_wrappers.cpp:1317
↓ 1 callers
Method
transcode_handle
Low-level direct transcoding from an already-open KTX2 handle, using a high-level family string such as: "BC7", "BC3", "B
python/basisu_py/transcoder.py:618
↓ 1 callers
Function
transcode_hdr
This example function loads a .KTX2 file and then transcodes it to various compressed/uncompressed texture formats. It writes .DDS and .ASTC files. AR
example/example.cpp:235
↓ 1 callers
Function
transcode_ktx2_file
(ktx2_data: bytes)
python/lowlevel_test_native/example_capi_python.py:223
↓ 1 callers
Method
transcode_tfmt
High-level convenience wrapper for transcode_tfmt_handle(). Automatically opens/closes the KTX2 file.
python/basisu_py/transcoder.py:471
↓ 1 callers
Function
transcode_uastc_image2
Supports UASTC LDR 4x4, UASTC HDR 4x4, and ASTC HDR 6x6/intermediate (but not ETC1S).
webgl/transcoder/basis_wrappers.cpp:1793
↓ 1 callers
Function
translation_matrix
Create translation matrix.
shader_deblocking/testbed.py:560
↓ 1 callers
Function
try_cem6_10_dp
encoder/basisu_astc_ldr_common.cpp:3624
↓ 1 callers
Function
try_encoder
(backend, img)
python/tests/test_transcoder_end_to_end.py:69
← previous
next →
2,101–2,200 of 4,622, ranked by callers