Home
last modified time | relevance | path

Searched refs:img_len (Results 1 - 1 of 1) sorted by relevance

/third_party/astc-encoder/Source/
H A Dstb_image.h1191 int img_len = w * h * channels; in stbi__convert_16_to_8() local
1194 reduced = (stbi_uc *) stbi__malloc(img_len); in stbi__convert_16_to_8()
1197 for (i = 0; i < img_len; ++i) in stbi__convert_16_to_8()
1207 int img_len = w * h * channels; in stbi__convert_8_to_16() local
1210 enlarged = (stbi__uint16 *) stbi__malloc(img_len*2); in stbi__convert_8_to_16()
1213 for (i = 0; i < img_len; ++i) in stbi__convert_8_to_16()
4655 stbi__uint32 img_len, img_width_bytes; in stbi__create_png_image_raw() local
4669 img_len = (img_width_bytes + 1) * y; in stbi__create_png_image_raw()
4671 // we used to check for exact match between raw_len and img_len on non-interlaced PNGs, in stbi__create_png_image_raw()
4673 // so just check for raw_len < img_len alway in stbi__create_png_image_raw()
4884 stbi__uint32 img_len = ((((a->s->img_n * x * depth) + 7) >> 3) + 1) * y; stbi__create_png_image() local
[all...]

Completed in 9 milliseconds