Lines Matching refs:bytes
512 static bmp_result bmp_decode_rgb32(bmp_image *bmp, uint8_t **start, int bytes) in bmp_decode_rgb32() argument
527 end = data + bytes; in bmp_decode_rgb32()
592 static bmp_result bmp_decode_rgb24(bmp_image *bmp, uint8_t **start, int bytes) in bmp_decode_rgb24() argument
608 end = data + bytes; in bmp_decode_rgb24()
662 static bmp_result bmp_decode_rgb16(bmp_image *bmp, uint8_t **start, int bytes) in bmp_decode_rgb16() argument
677 end = data + bytes; in bmp_decode_rgb16()
748 static bmp_result bmp_decode_rgb(bmp_image *bmp, uint8_t **start, int bytes) in bmp_decode_rgb() argument
768 end = data + bytes; in bmp_decode_rgb()
820 static bmp_result bmp_decode_mask(bmp_image *bmp, uint8_t *data, int bytes) in bmp_decode_mask() argument
833 end = data + bytes; in bmp_decode_mask()
871 bmp_decode_rle8(bmp_image *bmp, uint8_t *data, int bytes) in bmp_decode_rle8() argument
888 end = data + bytes; in bmp_decode_rle8()
1025 bmp_decode_rle4(bmp_image *bmp, uint8_t *data, int bytes) in bmp_decode_rle4() argument
1042 end = data + bytes; in bmp_decode_rle4()
1249 uint32_t bytes; in bmp_decode() local
1253 bytes = bmp->buffer_size - bmp->bitmap_offset; in bmp_decode()
1259 result = bmp_decode_rgb32(bmp, &data, bytes); in bmp_decode()
1263 result = bmp_decode_rgb24(bmp, &data, bytes); in bmp_decode()
1267 result = bmp_decode_rgb16(bmp, &data, bytes); in bmp_decode()
1271 result = bmp_decode_rgb(bmp, &data, bytes); in bmp_decode()
1277 result = bmp_decode_rle8(bmp, data, bytes); in bmp_decode()
1281 result = bmp_decode_rle4(bmp, data, bytes); in bmp_decode()
1287 result = bmp_decode_rgb32(bmp, &data, bytes); in bmp_decode()
1291 result = bmp_decode_rgb16(bmp, &data, bytes); in bmp_decode()
1303 bytes = (uintptr_t)bmp->bmp_data + bmp->buffer_size - (uintptr_t)data; in bmp_decode()
1304 result = bmp_decode_mask(bmp, data, bytes); in bmp_decode()