Lines Matching refs:stbi__convert_format
1274 // @TODO: move stbi__convert_format to here
1753 static unsigned char *stbi__convert_format(unsigned char *data, int img_n, int req_comp, unsigned int x, unsigned int y)
5277 result = stbi__convert_format((unsigned char *) result, p->s->img_out_n, req_comp, p->s->img_x, p->s->img_y);
5723 out = stbi__convert_format(out, target, req_comp, s->img_x, s->img_y);
5724 if (out == NULL) return out; // stbi__convert_format frees input on failure
6064 tga_data = stbi__convert_format(tga_data, tga_comp, req_comp, tga_width, tga_height);
6315 out = stbi__convert_format(out, 4, req_comp, w, h);
6316 if (out == NULL) return out; // stbi__convert_format frees input on failure
6535 result=stbi__convert_format(result,4,req_comp,x,y);
7044 out = stbi__convert_format(out, 4, req_comp, layers * g.w, g.h);
7069 u = stbi__convert_format(u, 4, req_comp, g.w, g.h);
7541 out = stbi__convert_format(out, s->img_n, req_comp, s->img_x, s->img_y);
7543 if (out == NULL) return out; // stbi__convert_format frees input on failure
7906 1.16 major bugfix - stbi__convert_format converted one too many pixels