Searched refs:img_x (Results 1 – 1 of 1) sorted by relevance
/third_party/astc-encoder/Source/ |
D | stb_image.h | 804 stbi__uint32 img_x, img_y; member 3236 …s->img_x = stbi__get16be(s); if (s->img_x == 0) return stbi__err("0 width","Corrupt JPEG"); // J… in stbi__process_frame_header() 3238 if (s->img_x > STBI_MAX_DIMENSIONS) return stbi__err("too large","Very large image (corrupt?)"); in stbi__process_frame_header() 3263 …if (!stbi__mad3sizes_valid(s->img_x, s->img_y, s->img_n, 0)) return stbi__err("too large", "Image … in stbi__process_frame_header() 3276 z->img_mcu_x = (s->img_x + z->img_mcu_w-1) / z->img_mcu_w; in stbi__process_frame_header() 3281 z->img_comp[i].x = (s->img_x * z->img_comp[i].h + h_max-1) / h_max; in stbi__process_frame_header() 3843 z->img_comp[k].linebuf = (stbi_uc *) stbi__malloc(z->s->img_x + 3); in load_jpeg_image() 3849 r->w_lores = (z->s->img_x + r->hs-1) / r->hs; in load_jpeg_image() 3861 output = (stbi_uc *) stbi__malloc_mad3(n, z->s->img_x, z->s->img_y, 1); in load_jpeg_image() 3866 stbi_uc *out = output + n * z->s->img_x * j; in load_jpeg_image() [all …]
|