; Copyright 2019-2020 Mark Callow
; SPDX-License-Identifier: Apache-2.0

; Export internal functions used by internal test programs and the
; validator. Using this file avoids having to decorate those internal
; functions or updating such decorations as the tests evolve. Updating
; this feels less obnoxious.

LIBRARY libktx
EXPORTS
    _ZN6basist34basis_get_bytes_per_block_or_pixelENS_25transcoder_texture_formatE
    _ZN6basist39basis_transcoder_format_is_uncompressedENS_25transcoder_texture_formatE
    _ZN6basist38basis_get_uncompressed_bytes_per_pixelENS_25transcoder_texture_formatE
    _ZNK6basist17basisu_transcoder15validate_headerEPKvj
    _ZNK6basist17basisu_transcoder16get_total_imagesEPKvj
    _ZNK6basist17basisu_transcoder20get_image_level_descEPKvjjjRjS3_S3_
    _ZNK6basist17basisu_transcoder14get_image_infoEPKvjRNS_17basisu_image_infoEj
    _ZNK6basist17basisu_transcoder20get_image_level_infoEPKvjRNS_23basisu_image_level_infoEjj
    _ZN6basist17basisu_transcoder17start_transcodingEPKvj
    _ZNK6basist17basisu_transcoder21transcode_image_levelEPKvjjjPvjNS_25transcoder_texture_formatEjjPNS_23basisu_transcoder_stateEj
    createDFDCompressed
    createDFDDepthStencil
    createDFDUnpacked
    createDFDPacked
    findMapping
    getPrimaries
    interpretDFD
    isProhibitedFormat
    isValidFormat
    ktxCheckHeader1_
    ktxMemStream_construct
    ktxMemStream_construct_ro
    ktxMemStream_destruct
    ktxMemStream_getdata
    ktxTexture_calcImageSize
    ktxTexture_calcLevelSize
    ktxTexture1_Destroy
    ktxTexture1_SetImageFromMemory
    ktxTexture1_WriteToMemory
    ktxTexture1_calcLevelOffset
    ktxTexture1_destruct
    ktxTexture1_glTypeSize
    ktxTexture2_GetImageOffset
    ktxTexture2_calcLevelOffset
    ktxTexture2_destruct
    reconstructDFDBytesPlanesFromSamples
    stringToVkFormat
    vk2dfd
    vkFormatString
    vkFormatTypeSize
