Home
last modified time | relevance | path

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

/third_party/astc-encoder/Source/
H A Dstb_image.h4655 stbi__uint32 img_len, img_width_bytes; in stbi__create_png_image_raw() local
4668 img_width_bytes = (((img_n * x * depth) + 7) >> 3); in stbi__create_png_image_raw()
4669 img_len = (img_width_bytes + 1) * y; in stbi__create_png_image_raw()
4685 if (img_width_bytes > x) return stbi__err("invalid width","Corrupt PNG"); in stbi__create_png_image_raw()
4686 cur += x*out_n - img_width_bytes; // store output to the rightmost img_len bytes, so we can decode in place in stbi__create_png_image_raw()
4688 width = img_width_bytes; in stbi__create_png_image_raw()
4780 stbi_uc *in = a->out + stride*j + x*out_n - img_width_bytes; in stbi__create_png_image_raw()

Completed in 12 milliseconds