Lines Matching refs:nz
94 (int)rd->D, (int)rd->SD, (int)rd->R, (int)rd->H, (int)rd->nz, in PrintBlockInfo()
514 rd->nz = 0; in InitScore()
523 dst->nz = src->nz; // note that nz is not accumulated, but just copied. in CopyScore()
532 dst->nz |= src->nz; // here, new nz bits are accumulated. in AddScore()
713 int nz = 0; in TrellisQuantizeBlock() local
722 nz |= node->level; in TrellisQuantizeBlock()
726 return (nz != 0); in TrellisQuantizeBlock()
745 int nz = 0; in ReconstructIntra16() local
753 nz |= VP8EncQuantizeBlockWHT(dc_tmp, rd->y_dc_levels, &dqm->y2_) << 24; in ReconstructIntra16()
766 nz |= non_zero << n; in ReconstructIntra16()
774 nz |= VP8EncQuantize2Blocks(tmp[n], rd->y_ac_levels[n], &dqm->y1_) << n; in ReconstructIntra16()
786 return nz; in ReconstructIntra16()
797 int nz = 0; in ReconstructIntra4() local
804 nz = TrellisQuantizeBlock(enc, tmp, levels, ctx, 3, &dqm->y1_, in ReconstructIntra4()
807 nz = VP8EncQuantizeBlock(tmp, levels, &dqm->y1_); in ReconstructIntra4()
810 return nz; in ReconstructIntra4()
819 int nz = 0; in ReconstructUV() local
836 nz |= non_zero << n; in ReconstructUV()
842 nz |= VP8EncQuantize2Blocks(tmp[n], rd->uv_levels[n], &dqm->uv_) << n; in ReconstructUV()
849 return (nz << 16); in ReconstructUV()
913 rd_cur->nz = ReconstructIntra16(it, rd_cur, tmp_dst, mode); in PickBestIntra16()
943 if ((rd->nz & 0xffff) == 0 && rd->D > dqm->min_disto_) { in PickBestIntra16()
995 rd_tmp.nz = in PickBestIntra4()
1042 it->top_nz_[it->i4_ & 3] = it->left_nz_[it->i4_ >> 2] = (rd_i4.nz ? 1 : 0); in PickBestIntra4()
1072 rd_uv.nz = ReconstructUV(it, &rd_uv, tmp_dst, mode); in PickBestUV()
1104 int nz = 0; in SimpleQuantize() local
1107 nz = ReconstructIntra16(it, rd, it->yuv_out_ + Y_OFF_ENC, it->preds_[0]); in SimpleQuantize()
1116 nz |= ReconstructIntra4(it, rd->y_ac_levels[it->i4_], in SimpleQuantize()
1121 nz |= ReconstructUV(it, rd, it->yuv_out_ + U_OFF_ENC, it->mb_->uv_mode_); in SimpleQuantize()
1122 rd->nz = nz; in SimpleQuantize()
1133 int nz = 0; in RefineUsingDistortion() local
1180 nz |= ReconstructIntra4(it, tmp_levels[it->i4_], in RefineUsingDistortion()
1193 nz = ReconstructIntra16(it, rd, it->yuv_out_ + Y_OFF_ENC, it->preds_[0]); in RefineUsingDistortion()
1211 nz |= ReconstructUV(it, rd, it->yuv_out_ + U_OFF_ENC, it->mb_->uv_mode_); in RefineUsingDistortion()
1213 rd->nz = nz; in RefineUsingDistortion()
1250 is_skipped = (rd->nz == 0); in VP8Decimate()