Lines Matching refs:bpp2
63 int bpp2; member
99 const int bpp = c->bpp2; in load_cursor()
154 dst += x * c->bpp2 + y * stride; in put_cursor()
156 if (c->bpp2 == 1) { in put_cursor()
165 } else if (c->bpp2 == 2) { in put_cursor()
176 } else if (c->bpp2 == 4) { in put_cursor()
250 const int bpp = c->bpp2; in decode_hextile()
368 outptr = c->pic->data[0] + dx * c->bpp2 + dy * c->pic->linesize[0]; in decode_frame()
370 memcpy(outptr, c->screendta + i * c->cur_w * c->bpp2, in decode_frame()
371 w * c->bpp2); in decode_frame()
393 outptr = c->pic->data[0] + dx * c->bpp2 + dy * c->pic->linesize[0]; in decode_frame()
397 if (w*(int64_t)h*c->bpp2 > INT_MAX/2 - 2) { in decode_frame()
401 if (size_left < 2 + w * h * c->bpp2 * 2) { in decode_frame()
404 2 + w * h * c->bpp2 * 2, size_left); in decode_frame()
419 if (c->cur_w * c->cur_h >= INT_MAX / c->bpp2) { in decode_frame()
423 int screen_size = c->cur_w * c->cur_h * c->bpp2; in decode_frame()
470 if (size_left < w * h * c->bpp2) { in decode_frame()
473 w * h * c->bpp2, size_left); in decode_frame()
476 paint_raw(outptr, w, h, gb, c->bpp2, c->bigendian, in decode_frame()
509 outptr = c->pic->data[0] + dx * c->bpp2 + dy * c->pic->linesize[0]; in decode_frame()
511 memcpy(c->screendta + i * c->cur_w * c->bpp2, outptr, in decode_frame()
512 w * c->bpp2); in decode_frame()
554 c->bpp2 = c->bpp / 8; in decode_init()