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
↓ 2 callers
Method
startTranscoding
Must be called before transcodeImage() can be called. On ETC1S files this method decompresses the ETC1S global data, along with fetching the ETC1S ima
webgl/transcoder/basis_wrappers.cpp:1230
↓ 2 callers
Function
strcpy_safe
encoder/basisu_enc.h:1223
↓ 2 callers
Function
string_tolower
encoder/basisu_enc.h:1213
↓ 2 callers
Method
sweep
one QCD sweep: returns num moves accepted (strict dE < -eps)
encoder/basisu_astc_ldr_encode.cpp:593
↓ 2 callers
Function
tdefl_compress
encoder/basisu_miniz.h:2323
↓ 2 callers
Function
tdefl_compress_block
encoder/basisu_miniz.h:1840
↓ 2 callers
Function
tdefl_compress_mem_to_output
encoder/basisu_miniz.h:2413
↓ 2 callers
Function
tdefl_flush_output_buffer
encoder/basisu_miniz.h:2302
↓ 2 callers
Function
tdefl_output_buffer_putter
encoder/basisu_miniz.h:2429
↓ 2 callers
Function
tdefl_record_literal
encoder/basisu_miniz.h:2154
↓ 2 callers
Function
test_2D_array
2D array/texture video test
example_capi/example_capi.c:559
↓ 2 callers
Function
test_backend
(name, backend)
python/tests/test_transcoder_helpers.py:24
↓ 2 callers
Function
test_compress_etc1s_cubemap
Creates a KTX2 ETC1S cubemap texture file
example/example.cpp:1756
↓ 2 callers
Function
to
(e,t,n)
webgl/gltf/three.min.js:1
↓ 2 callers
Function
toGlType
* Returns the equivalent GL type given a BasisU type. * * \note This relies on \c #supports() returning the supported formats, and so * only conver
contrib/single_file_transcoder/examples/emscripten.cpp:316
↓ 2 callers
Function
toTrianglesDrawMode
* @param {THREE.BufferGeometry} geometry * @param {Number} drawMode * @return {THREE.BufferGeometry}
webgl/gltf/GLTFLoader.js:2357
↓ 2 callers
Function
tonemap_image_compressive
encoder/basisu_enc.cpp:3813
↓ 2 callers
Function
tonemap_image_reinhard
Very basic global Reinhard tone mapping, output converted to sRGB with no dithering, alpha is carried through unchanged. Only used for debugging/devel
encoder/basisu_enc.cpp:3716
↓ 2 callers
Method
transcodeImage
Here for backwards compat, prefer transcodeImageWithFlags(). get_alpha_for_opaque_formats defaults to false channel0/channel1 default to -1 format is
webgl/transcoder/basis_wrappers.cpp:1243
↓ 2 callers
Function
transcode_ktx2_file
Takes a KTX2 file in memory and displays info about it, then transcodes it to RGBA32 and ASTC, writing .tga/.astc files to disk
example_capi/example_capi.c:293
↓ 2 callers
Function
try_cem0_or_4
Direct L/LA, single plane
encoder/basisu_astc_ldr_common.cpp:1397
↓ 2 callers
Function
try_cem4_dp_a
encoder/basisu_astc_ldr_common.cpp:1494
↓ 2 callers
Method
try_enlarge
transcoder/basisu_containers.h:1933
↓ 2 callers
Function
try_mode11_dual_plane
encoder/basisu_astc_hdr_common.cpp:2720
↓ 2 callers
Function
uastc_pack_eac_a8
encoder/basisu_uastc_enc.cpp:3019
↓ 2 callers
Function
uastc_rdo_blocks
encoder/basisu_uastc_enc.cpp:3824
↓ 2 callers
Function
uc
(e,t,n,i,r)
webgl/gltf/three.min.js:1
↓ 2 callers
Function
unpack_atc
------------------------------------------------------------------------------------------------ ATC isn't officially documented, so I'm assuming thes
encoder/basisu_gpu_texture.cpp:392
↓ 2 callers
Function
unpack_bc1
Returns true if the block uses 3 color punchthrough alpha mode.
encoder/basisu_gpu_texture.cpp:93
↓ 2 callers
Function
unpack_etc2_eac
encoder/basisu_gpu_texture.cpp:31
↓ 2 callers
Function
unpack_etc2_eac_r
encoder/basisu_gpu_texture.cpp:1002
↓ 2 callers
Function
unpack_rgb9e5
transcoder/basisu_astc_helpers.h:2659
↓ 2 callers
Function
upload
* Uploads the texture. * * \param[in] ctx ctx WebGL context * \param[in] name texture \e name * \param[in] data \c .basis file content * \param[i
contrib/single_file_transcoder/examples/emscripten.cpp:352
↓ 2 callers
Function
upsample_surrogate_weights
encoder/basisu_astc_ldr_encode.cpp:1745
↓ 2 callers
Function
vec4F_saturate
encoder/basisu_bc7enc.cpp:35
↓ 2 callers
Function
vec4F_sub
encoder/basisu_bc7enc.cpp:38
↓ 2 callers
Function
vector_find
transcoder/basisu.h:305
↓ 2 callers
Method
version
(self)
python/lowlevel_test_wasm/basisu_wasm.py:68
↓ 2 callers
Function
vo
(e)
webgl/gltf/three.min.js:1
↓ 2 callers
Function
w
(n,i)
webgl/gltf/three.min.js:1
↓ 2 callers
Function
write_3dfx_out_file
As no modern tool supports FXT1 format .KTX files, let's write .OUT files and make sure 3DFX's original tools shipped in 1999 can decode our encoded o
encoder/basisu_gpu_texture.cpp:2315
↓ 2 callers
Function
write_astc_file
The .astc texture format is readable using ARM's astcenc, AMD Compressonator, and other engines/tools. It oddly doesn't support mipmaps, limiting its
encoder/basisu_gpu_texture.cpp:2420
↓ 2 callers
Function
write_astc_file
Write standard ARM .ASTC format texture files
example_capi/example_capi.c:150
↓ 2 callers
Function
write_blob_to_file
Write a blob of data in memory to a file
example_capi/example_capi.c:23
↓ 2 callers
Method
write_bytes
(self, wasm_ptr, data: bytes)
python/lowlevel_test_wasm/basisu_wasm.py:139
↓ 2 callers
Method
write_bytes
(self, ptr, data)
python/basisu_py/wasm/wasm_encoder.py:113
↓ 2 callers
Function
write_tga_image
filename: path to TGA file w, h: image dimensions has_alpha: True for 32bpp, False for 24bpp pixels_rgba_ptr: C pointer (uint64) to R
python/lowlevel_test_native/example_capi_python.py:53
↓ 2 callers
Function
ya
(e,t)
webgl/gltf/three.min.js:1
↓ 2 callers
Function
zp
(e)
webgl/gltf/three.min.js:1
↓ 1 callers
Function
$a
(e,t,n)
webgl/gltf/three.min.js:1
↓ 1 callers
Function
B44ShiftAndRound
Shift and round for B44 pack (matches OpenEXR's shiftAndRound)
encoder/3rdparty/tinyexr.h:4337
↓ 1 callers
Function
BIT_addBitsFast
! BIT_addBitsFast() : * works only if `value` is _clean_, * meaning all high bits above nbBits are 0 */
zstd/zstddeclib.c:2293
↓ 1 callers
Function
BIT_getLowerBits
zstd/zstddeclib.c:2262
↓ 1 callers
Function
BIT_getMiddleBits
zstd/zstddeclib.c:2407
↓ 1 callers
Function
BIT_lookBits
! BIT_lookBits() : * Provides next n bits from local register. * local register is not modified. * On 32-bits, maxNbBits==24. * On 64-bits, ma
zstd/zstddeclib.c:2430
↓ 1 callers
Function
CalculateNumXLevels
encoder/3rdparty/tinyexr.h:7022
↓ 1 callers
Function
CalculateNumYLevels
encoder/3rdparty/tinyexr.h:7060
↓ 1 callers
Function
CeilLog2
encoder/3rdparty/tinyexr.h:7002
↓ 1 callers
Function
ChannelsInLayer
encoder/3rdparty/tinyexr.h:7636
↓ 1 callers
Function
CompressB44
encoder/3rdparty/tinyexr.h:4447
↓ 1 callers
Function
CompressPiz
encoder/3rdparty/tinyexr.h:3232
↓ 1 callers
Function
CompressPxr24
encoder/3rdparty/tinyexr.h:4059
↓ 1 callers
Function
CompressRle
encoder/3rdparty/tinyexr.h:1762
↓ 1 callers
Function
CompressZfp
Assume pixel format is FLOAT for all channels.
encoder/3rdparty/tinyexr.h:4773
↓ 1 callers
Function
CompressZip
encoder/3rdparty/tinyexr.h:1453
↓ 1 callers
Function
ComputeChannelLayout
encoder/3rdparty/tinyexr.h:5750
↓ 1 callers
Function
Dc
(e)
webgl/gltf/three.min.js:1
↓ 1 callers
Function
DecodeEXRImage
encoder/3rdparty/tinyexr.h:7415
↓ 1 callers
Function
DecodeTiledPixelData
encoder/3rdparty/tinyexr.h:5713
↓ 1 callers
Function
DecompressB44
encoder/3rdparty/tinyexr.h:3875
↓ 1 callers
Function
DecompressPiz
encoder/3rdparty/tinyexr.h:3351
↓ 1 callers
Function
DecompressPxr24
PXR24 stores 32-bit floats as 24-bit values (truncates 8 mantissa bits) HALF and UINT are stored without modification
encoder/3rdparty/tinyexr.h:3505
↓ 1 callers
Function
DecompressRle
encoder/3rdparty/tinyexr.h:1831
↓ 1 callers
Function
DecompressZfp
Assume pixel format is FLOAT for all channels.
encoder/3rdparty/tinyexr.h:4699
↓ 1 callers
Function
EncodeChunk
encoder/3rdparty/tinyexr.h:8971
↓ 1 callers
Function
EncodeTiledLevel
encoder/3rdparty/tinyexr.h:8826
↓ 1 callers
Function
FSE_decompress_wksp_bmi2
zstd/zstddeclib.c:3921
↓ 1 callers
Function
FSE_decompress_wksp_body_bmi2
zstd/zstddeclib.c:3915
↓ 1 callers
Function
FSE_decompress_wksp_body_default
Avoids the FORCE_INLINE of the _body() function. */
zstd/zstddeclib.c:3909
↓ 1 callers
Function
FSE_initCState
zstd/zstddeclib.c:2754
↓ 1 callers
Function
FSE_readNCount_body_bmi2
zstd/zstddeclib.c:3407
↓ 1 callers
Function
FSE_readNCount_body_default
Avoids the FORCE_INLINE of the _body() function. */
zstd/zstddeclib.c:3399
↓ 1 callers
Function
FloorLog2
encoder/3rdparty/tinyexr.h:6989
↓ 1 callers
Function
HUF_decodeLastSymbolX2
zstd/zstddeclib.c:16285
↓ 1 callers
Function
HUF_decompress1X_DCtx_wksp
zstd/zstddeclib.c:16856
↓ 1 callers
Function
HUF_decompress1X_usingDTable
zstd/zstddeclib.c:16887
↓ 1 callers
Function
HUF_decompress4X1_usingDTable_internal_fast
* @returns @p dstSize on success (>= 6) * 0 if the fallback implementation should be used * An error if an error occurred */
zstd/zstddeclib.c:15849
↓ 1 callers
Function
HUF_decompress4X2_usingDTable_internal_fast
zstd/zstddeclib.c:16677
↓ 1 callers
Function
HUF_decompress4X_hufOnly_wksp
zstd/zstddeclib.c:16935
↓ 1 callers
Function
HUF_decompress4X_usingDTable
zstd/zstddeclib.c:16918
↓ 1 callers
Function
HUF_fillDTableX2
zstd/zstddeclib.c:16135
↓ 1 callers
Function
HUF_fillDTableX2Level2
HUF_fillDTableX2Level2() : * `rankValOrigin` must be a table of at least (HUF_TABLELOG_MAX + 1) U32 */
zstd/zstddeclib.c:16080
↓ 1 callers
Function
HUF_readStats_body_bmi2
zstd/zstddeclib.c:3527
↓ 1 callers
Function
HUF_readStats_body_default
Avoids the FORCE_INLINE of the _body() function. */
zstd/zstddeclib.c:3518
↓ 1 callers
Function
HUF_rescaleStats
* Increase the tableLog to targetTableLog and rescales the stats. * If tableLog > targetTableLog this is a no-op. * @returns New tableLog */
zstd/zstddeclib.c:15363
↓ 1 callers
Function
InitB44Tables
Initialize B44 exp/log lookup tables (matches OpenEXR algorithm)
encoder/3rdparty/tinyexr.h:3711
↓ 1 callers
Function
IsAnyOffsetsAreInvalid
encoder/3rdparty/tinyexr.h:7210
↓ 1 callers
Function
K
(e,t,r,a)
webgl/gltf/three.min.js:1
↓ 1 callers
Function
LoadEXRFromMemory
encoder/3rdparty/tinyexr.h:8045
↓ 1 callers
Function
LoadEXRImageFromFile
encoder/3rdparty/tinyexr.h:8449
← previous
next →
1,401–1,500 of 4,622, ranked by callers