98
98
union util_color *uc)
100
const struct util_format_description *desc = util_format_description(format);
101
102
unsigned width_size;
102
int blocksize = util_format_get_blocksize(format);
103
int blockwidth = util_format_get_blockwidth(format);
104
int blockheight = util_format_get_blockheight(format);
103
int blocksize = desc->block.bits / 8;
104
int blockwidth = desc->block.width;
105
int blockheight = desc->block.height;
106
107
assert(blocksize > 0);
107
108
assert(blockwidth > 0);