Home
last modified time | relevance | path

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

/third_party/astc-encoder/Source/
H A Dstb_image.h806 int img_n, img_out_n; member
1735 // generic converter from built-in img_n to req_comp
1753 static unsigned char *stbi__convert_format(unsigned char *data, int img_n, int req_comp, unsigned int x, unsigned int y) in stbi__convert_format() argument
1758 if (req_comp == img_n) return data; in stbi__convert_format()
1768 unsigned char *src = data + j * x * img_n ; in stbi__convert_format()
1773 // convert source image with img_n components to one with req_comp components; in stbi__convert_format()
1775 switch (STBI__COMBO(img_n, req_comp)) { in stbi__convert_format()
1810 static stbi__uint16 *stbi__convert_format16(stbi__uint16 *data, int img_n, int req_comp, unsigned int x, unsigned int y) in stbi__convert_format16() argument
1815 if (req_comp == img_n) return data; in stbi__convert_format16()
1825 stbi__uint16 *src = data + j * x * img_n ; in stbi__convert_format16()
4657 int img_n = s->img_n; // copy it into a local for later stbi__create_png_image_raw() local
[all...]

Completed in 6 milliseconds