Searched refs:x_blocks (Results 1 - 3 of 3) sorted by relevance
/third_party/astc-encoder/Utils/ |
H A D | astc_test_autoextract_hdr.cpp | 111 int x_blocks = (ref_dim_x + blockdim_x - 1) / blockdim_x; in main() local 114 float* errorsums = (float*)malloc(x_blocks * y_blocks * 4); in main() 115 for (int i = 0; i < x_blocks * y_blocks; i++) in main() 144 errorsums[pix(x_blocks, y_block, x_block, 1, 0)] += diff; in main() 154 for (int x = 0; x < x_blocks; x++) in main() 156 float error = errorsums[pix(x_blocks, y, x, 1, 0)]; in main()
|
H A D | astc_test_autoextract.cpp | 111 int x_blocks = (ref_dim_x + blockdim_x - 1) / blockdim_x; in main() local 114 int *errorsums = (int*)malloc(x_blocks * y_blocks * 4); in main() 115 for (int i = 0; i < x_blocks * y_blocks; i++) in main() 144 errorsums[pix(x_blocks, y_block, x_block, 1, 0)] += diff; in main() 154 for (int x = 0; x < x_blocks; x++) in main() 156 float error = errorsums[pix(x_blocks, y, x, 1, 0)]; in main()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | texcompress_astc.cpp | 1822 unsigned x_blocks = (src_width + blk_w - 1) / blk_w; 1828 for (unsigned x = 0; x < x_blocks; ++x) {
|
Completed in 4 milliseconds