Home
last modified time | relevance | path

Searched refs:stbiw__sbn (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dstb_image_write.h816 #define stbiw__sbn(a) stbiw__sbraw(a)[1] macro
818 #define stbiw__sbneedgrow(a,n) ((a)==0 || stbiw__sbn(a)+n >= stbiw__sbm(a))
822 #define stbiw__sbpush(a, v) (stbiw__sbmaybegrow(a,1), (a)[stbiw__sbn(a)++] = (v))
823 #define stbiw__sbcount(a) ((a) ? stbiw__sbn(a) : 0)
935 if (hash_table[h] && stbiw__sbn(hash_table[h]) == 2*quality) { in stbi_zlib_compress()
937 stbiw__sbn(hash_table[h]) = quality; in stbi_zlib_compress()
985 if (stbiw__sbn(out) > data_len + 2 + ((data_len+32766)/32767)*5) { in stbi_zlib_compress()
986 stbiw__sbn(out) = 2; // truncate to DEFLATE 32K window and FLEVEL = 1 in stbi_zlib_compress()
995 memcpy(out+stbiw__sbn(out), data+j, blocklen); in stbi_zlib_compress()
996 stbiw__sbn(out) += blocklen; in stbi_zlib_compress()
[all …]
/hardware/google/gfxstream/third-party/stb/include/stb/
Dstb_image_write.h816 #define stbiw__sbn(a) stbiw__sbraw(a)[1] macro
818 #define stbiw__sbneedgrow(a,n) ((a)==0 || stbiw__sbn(a)+n >= stbiw__sbm(a))
822 #define stbiw__sbpush(a, v) (stbiw__sbmaybegrow(a,1), (a)[stbiw__sbn(a)++] = (v))
823 #define stbiw__sbcount(a) ((a) ? stbiw__sbn(a) : 0)
935 if (hash_table[h] && stbiw__sbn(hash_table[h]) == 2*quality) { in stbi_zlib_compress()
937 stbiw__sbn(hash_table[h]) = quality; in stbi_zlib_compress()
985 if (stbiw__sbn(out) > data_len + 2 + ((data_len+32766)/32767)*5) { in stbi_zlib_compress()
986 stbiw__sbn(out) = 2; // truncate to DEFLATE 32K window and FLEVEL = 1 in stbi_zlib_compress()
995 memcpy(out+stbiw__sbn(out), data+j, blocklen); in stbi_zlib_compress()
996 stbiw__sbn(out) += blocklen; in stbi_zlib_compress()
[all …]