Lines Matching refs:top

514         uint8_t *top, *bottom, *end, *data;  in bmp_decode_rgb32()  local
523 top = bmp->bitmap_callbacks.bitmap_get_buffer(bmp->bitmap); in bmp_decode_rgb32()
524 if (!top) in bmp_decode_rgb32()
526 bottom = top + (uint64_t)swidth * (bmp->height - 1); in bmp_decode_rgb32()
544 scanline = (void *)(top + (y * swidth)); in bmp_decode_rgb32()
594 uint8_t *top, *bottom, *end, *data; in bmp_decode_rgb24() local
602 top = bmp->bitmap_callbacks.bitmap_get_buffer(bmp->bitmap); in bmp_decode_rgb24()
603 if (!top) { in bmp_decode_rgb24()
607 bottom = top + (uint64_t)swidth * (bmp->height - 1); in bmp_decode_rgb24()
627 scanline = (void *)(top + (y * swidth)); in bmp_decode_rgb24()
664 uint8_t *top, *bottom, *end, *data; in bmp_decode_rgb16() local
673 top = bmp->bitmap_callbacks.bitmap_get_buffer(bmp->bitmap); in bmp_decode_rgb16()
674 if (!top) in bmp_decode_rgb16()
676 bottom = top + (uint64_t)swidth * (bmp->height - 1); in bmp_decode_rgb16()
692 scanline = (void *)(top + (y * swidth)); in bmp_decode_rgb16()
750 uint8_t *top, *bottom, *end, *data; in bmp_decode_rgb() local
764 top = bmp->bitmap_callbacks.bitmap_get_buffer(bmp->bitmap); in bmp_decode_rgb()
765 if (!top) in bmp_decode_rgb()
767 bottom = top + (uint64_t)swidth * (bmp->height - 1); in bmp_decode_rgb()
785 scanline = (void *)(top + (y * swidth)); in bmp_decode_rgb()
822 uint8_t *top, *bottom, *end; in bmp_decode_mask() local
829 top = bmp->bitmap_callbacks.bitmap_get_buffer(bmp->bitmap); in bmp_decode_mask()
830 if (!top) in bmp_decode_mask()
832 bottom = top + (uint64_t)swidth * (bmp->height - 1); in bmp_decode_mask()
873 uint8_t *top, *bottom, *end; in bmp_decode_rle8() local
884 top = bmp->bitmap_callbacks.bitmap_get_buffer(bmp->bitmap); in bmp_decode_rle8()
885 if (!top) in bmp_decode_rle8()
887 bottom = top + (uint64_t)swidth * (bmp->height - 1); in bmp_decode_rle8()
929 scanline = (void *)(top + (y * swidth)); in bmp_decode_rle8()
972 scanline = (void *)(top + (y * swidth)); in bmp_decode_rle8()
1027 uint8_t *top, *bottom, *end; in bmp_decode_rle4() local
1038 top = bmp->bitmap_callbacks.bitmap_get_buffer(bmp->bitmap); in bmp_decode_rle4()
1039 if (!top) in bmp_decode_rle4()
1041 bottom = top + (uint64_t)swidth * (bmp->height - 1); in bmp_decode_rle4()
1083 scanline = (void *)(top + (y * swidth)); in bmp_decode_rle4()
1135 scanline = (void *)(top + (y * swidth)); in bmp_decode_rle4()