Lines Matching refs:block_h
539 Decoder(int block_w, int block_h, int block_d, bool srgb, bool output_unorm8) in Decoder() argument
540 : block_w(block_w), block_h(block_h), block_d(block_d), srgb(srgb), in Decoder()
545 int block_w, block_h, block_d; member in Decoder
634 void compute_infill_weights(int block_w, int block_h, int block_d);
650 for (int i = 0; i < block_w * block_h * block_d; ++i) { in decode()
1257 void Block::compute_infill_weights(int block_w, int block_h, int block_d) in compute_infill_weights() argument
1260 int Dt = block_h <= 1 ? 0 : (1024 + block_h / 2) / (block_h - 1); in compute_infill_weights()
1263 for (int t = 0; t < block_h; ++t) { in compute_infill_weights()
1305 infill_weights[0][s + t*block_w + r*block_w*block_h] = i0; in compute_infill_weights()
1306 infill_weights[1][s + t*block_w + r*block_w*block_h] = i1; in compute_infill_weights()
1317 infill_weights[0][s + t*block_w + r*block_w*block_h] = i; in compute_infill_weights()
1468 if (wt_w > decoder.block_w || wt_h > decoder.block_h || wt_d > decoder.block_d) in decode()
1577 compute_infill_weights(decoder.block_w, decoder.block_h, decoder.block_d); in decode()
1586 for (int t = 0; t < decoder.block_h; ++t) { in decode()
1609 for (int idx = 0; idx < decoder.block_w*decoder.block_h*decoder.block_d; ++idx) { in write_decoded()
1626 int small_block = (decoder.block_w * decoder.block_h * decoder.block_d) < 31; in write_decoded()
1630 for (int y = 0; y < decoder.block_h; ++y) { in write_decoded()