Lines Matching defs:nnz
780 int nnz_pred, nnz, nnz_total = 0;
788 nnz = decode_block_coeffs(c, s->block_dc, s->prob->token[1], 0, nnz_pred,
790 l_nnz[8] = t_nnz[8] = !!nnz;
791 if (nnz) {
792 nnz_total += nnz;
794 if (nnz == 1)
807 nnz = decode_block_coeffs(c, s->block[y][x], s->prob->token[luma_ctx], luma_start,
809 // nnz+block_dc may be one more than the actual last index, but we don't care
810 s->non_zero_count_cache[y][x] = nnz + block_dc;
811 t_nnz[x] = l_nnz[y] = !!nnz;
812 nnz_total += nnz;
822 nnz = decode_block_coeffs(c, s->block[i][(y<<1)+x], s->prob->token[2], 0,
824 s->non_zero_count_cache[i][(y<<1)+x] = nnz;
825 t_nnz[i+2*x] = l_nnz[i+2*y] = !!nnz;
826 nnz_total += nnz;
973 int x, y, mode, nnz;
1061 nnz = s->non_zero_count_cache[y][x];
1062 if (nnz) {
1063 if (nnz == 1)