Home | History | Annotate | Download | only in gdx2d

Lines Matching refs:img_y

752    stbi__uint32 img_x, img_y;
2710 s->img_y = stbi__get16be(s); if (s->img_y == 0) return stbi__err("no header height", "JPEG format not supported: delayed height"); // Legal, but we don't handle it--but neither does IJG
2735 if ((1 << 30) / s->img_x / s->img_n < s->img_y) return stbi__err("too large", "Image too large to decode");
2748 z->img_mcu_y = (s->img_y + z->img_mcu_h-1) / z->img_mcu_h;
2753 z->img_comp[i].y = (s->img_y * z->img_comp[i].v + v_max-1) / v_max;
3365 output = (stbi_uc *) stbi__malloc(n * z->s->img_x * z->s->img_y + 1);
3369 for (j=0; j < z->s->img_y; ++j) {
3405 *out_y = z->s->img_y;
3437 if (y) *y = j->s->img_y;
3995 if (s->img_x == x && s->img_y == y) {
4164 return stbi__create_png_image_raw(a, image_data, image_data_len, out_n, a->s->img_x, a->s->img_y, depth, color);
4167 final = (stbi_uc *) stbi__malloc(a->s->img_x * a->s->img_y * out_n);
4176 y = (a->s->img_y - yorig[p] + yspc[p]-1) / yspc[p];
4204 stbi__uint32 i, pixel_count = s->img_x * s->img_y;
4228 stbi__uint32 i, pixel_count = a->s->img_x * a->s->img_y;
4279 stbi__uint32 i, pixel_count = s->img_x * s->img_y;
4349 s->img_y = stbi__get32be(s); if (s->img_y > (1 << 24)) return stbi__err("too large","Very large image (corrupt?)");
4356 if (!s->img_x || !s->img_y) return stbi__err("0-pixel image","Corrupt PNG");
4359 if ((1 << 30) / s->img_x / s->img_n < s->img_y) return stbi__err("too large", "Image too large to decode");
4365 if ((1 << 30) / s->img_x / 4 < s->img_y) return stbi__err("too large","Corrupt PNG");
4430 raw_len = bpl * s->img_y * s->img_n /* pixels */ + s->img_y /* filter mode per row */;
4485 result = stbi__convert_format(result, p->s->img_out_n, req_comp, p->s->img_x, p->s->img_y);
4490 *y = p->s->img_y;
4522 if (y) *y = p->s->img_y;
4617 s->img_y = stbi__get16le(s);
4620 s->img_y = stbi__get32le(s);
4625 flip_vertically = ((int) s->img_y) > 0;
4626 s->img_y = abs((int) s->img_y);
4695 out = (stbi_uc *) stbi__malloc(target * s->img_x * s->img_y);
4712 for (j=0; j < (int) s->img_y; ++j) {
4755 for (j=0; j < (int) s->img_y; ++j) {
4785 for (i=4*s->img_x*s->img_y-1; i >= 0; i -= 4)
4790 for (j=0; j < (int) s->img_y>>1; ++j) {
4792 stbi_uc *p2 = out + (s->img_y-1-j)*s->img_x*target;
4800 out = stbi__convert_format(out, target, req_comp, s->img_x, s->img_y);
4805 *y = s->img_y;
6201 if (!stbi__pnm_info(s, (int *)&s->img_x, (int *)&s->img_y, (int *)&s->img_n))
6204 *y = s->img_y;
6207 out = (stbi_uc *) stbi__malloc(s->img_n * s->img_x * s->img_y);
6209 stbi__getn(s, out, s->img_n * s->img_x * s->img_y);
6212 out = stbi__convert_format(out, s->img_n, req_comp, s->img_x, s->img_y);