Lines Matching refs:top_nz_
262 ctx = it->top_nz_[x] + it->left_nz_[y]; in VP8GetCostLuma4()
278 R += GetResidualCost(it->top_nz_[8] + it->left_nz_[8], &res); in VP8GetCostLuma16()
284 const int ctx = it->top_nz_[x] + it->left_nz_[y]; in VP8GetCostLuma16()
287 it->top_nz_[x] = it->left_nz_[y] = (res.last >= 0); in VP8GetCostLuma16()
304 const int ctx = it->top_nz_[4 + ch + x] + it->left_nz_[4 + ch + y]; in VP8GetCostUV()
307 it->top_nz_[4 + ch + x] = it->left_nz_[4 + ch + y] = (res.last >= 0); in VP8GetCostUV()
403 it->top_nz_[8] = it->left_nz_[8] = in CodeResiduals()
404 PutCoeffs(bw, it->top_nz_[8] + it->left_nz_[8], &res); in CodeResiduals()
413 const int ctx = it->top_nz_[x] + it->left_nz_[y]; in CodeResiduals()
415 it->top_nz_[x] = it->left_nz_[y] = PutCoeffs(bw, ctx, &res); in CodeResiduals()
425 const int ctx = it->top_nz_[4 + ch + x] + it->left_nz_[4 + ch + y]; in CodeResiduals()
427 it->top_nz_[4 + ch + x] = it->left_nz_[4 + ch + y] = in CodeResiduals()
452 it->top_nz_[8] = it->left_nz_[8] = in RecordResiduals()
453 RecordCoeffs(it->top_nz_[8] + it->left_nz_[8], &res); in RecordResiduals()
462 const int ctx = it->top_nz_[x] + it->left_nz_[y]; in RecordResiduals()
464 it->top_nz_[x] = it->left_nz_[y] = RecordCoeffs(ctx, &res); in RecordResiduals()
473 const int ctx = it->top_nz_[4 + ch + x] + it->left_nz_[4 + ch + y]; in RecordResiduals()
475 it->top_nz_[4 + ch + x] = it->left_nz_[4 + ch + y] = in RecordResiduals()