Home
last modified time | relevance | path

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

/third_party/astc-encoder/Source/
Dstb_image.h5672 int tga_w, tga_h, tga_comp, tga_image_type, tga_bits_per_pixel, tga_colormap_bpp; in stbi__tga_info() local
5721 tga_comp = stbi__tga_get_comp(tga_colormap_bpp, 0, NULL); in stbi__tga_info()
5723tga_comp = stbi__tga_get_comp(tga_bits_per_pixel, (tga_image_type == 3) || (tga_image_type == 11),… in stbi__tga_info()
5725 if(!tga_comp) { in stbi__tga_info()
5731 if (comp) *comp = tga_comp; in stbi__tga_info()
5801 int tga_comp, tga_rgb16=0; in stbi__tga_load() local
5828 if ( tga_indexed ) tga_comp = stbi__tga_get_comp(tga_palette_bits, 0, &tga_rgb16); in stbi__tga_load()
5829 else tga_comp = stbi__tga_get_comp(tga_bits_per_pixel, (tga_image_type == 3), &tga_rgb16); in stbi__tga_load()
5831 if(!tga_comp) // shouldn't really happen, stbi__tga_test() should have ensured basic consistency in stbi__tga_load()
5837 if (comp) *comp = tga_comp; in stbi__tga_load()
[all …]