Lines Matching refs:block_d
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
1267 int Dr = block_d <= 1 ? 0 : (1024 + block_d / 2) / (block_d - 1); in compute_infill_weights()
1268 for (int r = 0; r < block_d; ++r) { 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()
1591 for (int r = 0; r < decoder.block_d; ++r) { in decode()
1598 if (r < decoder.block_d - 1) 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()
1641 for (int z = 0; z < decoder.block_d; ++z) { in write_decoded()