Lines Matching refs:nz
443 static WEBP_INLINE uint32_t NzCodeBits(uint32_t nz_coeffs, int nz, int dc_nz) { in NzCodeBits() argument
445 nz_coeffs |= (nz > 3) ? 3 : (nz > 1) ? 2 : dc_nz; in NzCodeBits()
468 const int nz = GetCoeffs(token_br, bands[1], ctx, q->y2_mat_, 0, dc); in ParseResiduals() local
469 mb->nz_dc_ = left_mb->nz_dc_ = (nz > 0); in ParseResiduals()
470 if (nz > 1) { // more than just the DC -> perform the full transform in ParseResiduals()
491 const int nz = GetCoeffs(token_br, ac_proba, ctx, q->y1_mat_, first, dst); in ParseResiduals() local
492 l = (nz > first); in ParseResiduals()
494 nz_coeffs = NzCodeBits(nz_coeffs, nz, dst[0] != 0); in ParseResiduals()
512 const int nz = GetCoeffs(token_br, bands[2], ctx, q->uv_mat_, 0, dst); in ParseResiduals() local
513 l = (nz > 0); in ParseResiduals()
515 nz_coeffs = NzCodeBits(nz_coeffs, nz, dst[0] != 0); in ParseResiduals()