Lines Matching defs:height
795 decompress_rgba_unorm(int width, int height,
807 for (y = 0; y < height; y += BLOCK_SIZE) {
810 MIN2(height - y, BLOCK_SIZE),
1136 decompress_rgb_float(int width, int height,
1148 for (y = 0; y < height; y += BLOCK_SIZE) {
1151 MIN2(height - y, BLOCK_SIZE),
1182 get_average_luminance_alpha_unorm(int width, int height,
1189 for (y = 0; y < height; y++) {
1198 *average_luminance = luminance_sum / (width * height);
1199 *average_alpha = alpha_sum / (width * height);
1203 get_rgba_endpoints_unorm(int width, int height,
1221 for (y = 0; y < height; y++) {
1248 rgb_left_endpoint_count == width * height) {
1251 (sums[0][i] + sums[1][i]) / (width * height);
1256 (width * height - rgb_left_endpoint_count));
1261 alpha_left_endpoint_count == width * height) {
1263 (sums[0][3] + sums[1][3]) / (width * height);
1267 (width * height - alpha_left_endpoint_count));
1444 compress_rgba_unorm(int width, int height,
1456 for (y = 0; y < height; y += BLOCK_SIZE) {
1459 MIN2(height - y, BLOCK_SIZE),
1470 get_average_luminance_float(int width, int height,
1476 for (y = 0; y < height; y++) {
1484 return luminance_sum / (width * height);
1507 get_endpoints_float(int width, int height,
1524 for (y = 0; y < height; y++) {
1543 left_endpoint_count == width * height) {
1546 (sums[0][i] + sums[1][i]) / (width * height);
1550 endpoints[1][i] = sums[1][i] / (width * height - left_endpoint_count);
1707 compress_rgb_float(int width, int height,
1720 for (y = 0; y < height; y += BLOCK_SIZE) {
1723 MIN2(height - y, BLOCK_SIZE),