Home
last modified time | relevance | path

Searched refs:STBI_ASSERT (Results 1 – 3 of 3) sorted by relevance

/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenccli_image_external.cpp54 #define STBI_ASSERT(x) astcenc_runtime_assert(x) macro
Dstb_image.h598 #ifndef STBI_ASSERT
600 #define STBI_ASSERT(x) assert(x) macro
1249 STBI_ASSERT(ri.bits_per_channel == 8 || ri.bits_per_channel == 16); in stbi__load_and_postprocess_8bit()
1275 STBI_ASSERT(ri.bits_per_channel == 8 || ri.bits_per_channel == 16); in stbi__load_and_postprocess_16bit()
1741 STBI_ASSERT(req_comp >= 1 && req_comp <= 4); in stbi__convert_format()
1770 …default: STBI_ASSERT(0); STBI_FREE(data); STBI_FREE(good); return stbi__errpuc("unsupported", "Uns… in stbi__convert_format()
1798 STBI_ASSERT(req_comp >= 1 && req_comp <= 4); in stbi__convert_format16()
1827 …default: STBI_ASSERT(0); STBI_FREE(data); STBI_FREE(good); return (stbi__uint16*) stbi__errpuc("un… in stbi__convert_format16()
2115 STBI_ASSERT((((j->code_buffer) >> (32 - h->size[c])) & stbi__bmask[h->size[c]]) == h->code[c]); in stbi__jpeg_huff_decode()
4054 STBI_ASSERT(bits <= 16); in stbi__bit_reverse()
[all …]
/hardware/google/gfxstream/third-party/stb/include/stb/
Dstb_image.h598 #ifndef STBI_ASSERT
600 #define STBI_ASSERT(x) assert(x) macro
1249 STBI_ASSERT(ri.bits_per_channel == 8 || ri.bits_per_channel == 16); in stbi__load_and_postprocess_8bit()
1275 STBI_ASSERT(ri.bits_per_channel == 8 || ri.bits_per_channel == 16); in stbi__load_and_postprocess_16bit()
1741 STBI_ASSERT(req_comp >= 1 && req_comp <= 4); in stbi__convert_format()
1770 …default: STBI_ASSERT(0); STBI_FREE(data); STBI_FREE(good); return stbi__errpuc("unsupported", "Uns… in stbi__convert_format()
1798 STBI_ASSERT(req_comp >= 1 && req_comp <= 4); in stbi__convert_format16()
1827 …default: STBI_ASSERT(0); STBI_FREE(data); STBI_FREE(good); return (stbi__uint16*) stbi__errpuc("un… in stbi__convert_format16()
2115 STBI_ASSERT((((j->code_buffer) >> (32 - h->size[c])) & stbi__bmask[h->size[c]]) == h->code[c]); in stbi__jpeg_huff_decode()
4061 STBI_ASSERT(bits <= 16); in stbi__bit_reverse()
[all …]