Lines Matching refs:src_width
1107 int src_width, int src_height, in write_rgb_indices_unorm() argument
1132 for (x = 0; x < src_width; x++) { in write_rgb_indices_unorm()
1150 if (src_width < BLOCK_SIZE) in write_rgb_indices_unorm()
1151 write_bits(writer, 2 * (BLOCK_SIZE - src_width), 0); in write_rgb_indices_unorm()
1153 src += src_rowstride - src_width * 4; in write_rgb_indices_unorm()
1163 int src_width, int src_height, in write_alpha_indices_unorm() argument
1178 for (x = 0; x < src_width; x++) { in write_alpha_indices_unorm()
1195 if (src_width < BLOCK_SIZE) in write_alpha_indices_unorm()
1196 write_bits(writer, 3 * (BLOCK_SIZE - src_width), 0); in write_alpha_indices_unorm()
1198 src += src_rowstride - src_width * 4; in write_alpha_indices_unorm()
1207 compress_rgba_unorm_block(int src_width, int src_height, in compress_rgba_unorm_block() argument
1216 get_average_luminance_alpha_unorm(src_width, src_height, src, src_rowstride, in compress_rgba_unorm_block()
1218 get_rgba_endpoints_unorm(src_width, src_height, src, src_rowstride, in compress_rgba_unorm_block()
1240 src_width, src_height, in compress_rgba_unorm_block()
1244 src_width, src_height, in compress_rgba_unorm_block()
1435 int src_width, int src_height, in write_rgb_indices_float() argument
1460 for (x = 0; x < src_width; x++) { in write_rgb_indices_float()
1478 if (src_width < BLOCK_SIZE) in write_rgb_indices_float()
1479 write_bits(writer, 4 * (BLOCK_SIZE - src_width), 0); in write_rgb_indices_float()
1481 src += (src_rowstride - src_width * 3 * sizeof (float)) / sizeof (float); in write_rgb_indices_float()
1520 compress_rgb_float_block(int src_width, int src_height, in compress_rgb_float_block() argument
1532 get_average_luminance_float(src_width, src_height, src, src_rowstride); in compress_rgb_float_block()
1533 get_endpoints_float(src_width, src_height, src, src_rowstride, in compress_rgb_float_block()
1552 src_width, src_height, in compress_rgb_float_block()