Lines Matching refs:block_h
545 Decoder(int block_w, int block_h, int block_d, bool srgb, bool output_unorm8) in Decoder() argument
546 : block_w(block_w), block_h(block_h), block_d(block_d), srgb(srgb), in Decoder()
551 int block_w, block_h, block_d; member in Decoder
640 void compute_infill_weights(int block_w, int block_h, int block_d);
656 for (int i = 0; i < block_w * block_h * block_d; ++i) { in decode()
1263 void Block::compute_infill_weights(int block_w, int block_h, int block_d) in compute_infill_weights() argument
1266 int Dt = block_h <= 1 ? 0 : (1024 + block_h / 2) / (block_h - 1); in compute_infill_weights()
1269 for (int t = 0; t < block_h; ++t) { in compute_infill_weights()
1311 infill_weights[0][s + t*block_w + r*block_w*block_h] = i0; in compute_infill_weights()
1312 infill_weights[1][s + t*block_w + r*block_w*block_h] = i1; in compute_infill_weights()
1323 infill_weights[0][s + t*block_w + r*block_w*block_h] = i; in compute_infill_weights()
1474 if (wt_w > decoder.block_w || wt_h > decoder.block_h || wt_d > decoder.block_d) in decode()
1583 compute_infill_weights(decoder.block_w, decoder.block_h, decoder.block_d); in decode()
1592 for (int t = 0; t < decoder.block_h; ++t) { in decode()
1615 for (int idx = 0; idx < decoder.block_w*decoder.block_h*decoder.block_d; ++idx) { in write_decoded()
1638 int small_block = (decoder.block_w * decoder.block_h * decoder.block_d) < 31; in write_decoded()
1642 for (int y = 0; y < decoder.block_h; ++y) { in write_decoded()