Home
last modified time | relevance | path

Searched refs:top_nz_ (Results 1 – 4 of 4) sorted by relevance

/external/webp/src/enc/
Diterator.c183 it->top_nz_[0] = BIT(tnz, 12); in VP8IteratorNzToBytes()
184 it->top_nz_[1] = BIT(tnz, 13); in VP8IteratorNzToBytes()
185 it->top_nz_[2] = BIT(tnz, 14); in VP8IteratorNzToBytes()
186 it->top_nz_[3] = BIT(tnz, 15); in VP8IteratorNzToBytes()
188 it->top_nz_[4] = BIT(tnz, 18); in VP8IteratorNzToBytes()
189 it->top_nz_[5] = BIT(tnz, 19); in VP8IteratorNzToBytes()
191 it->top_nz_[6] = BIT(tnz, 22); in VP8IteratorNzToBytes()
192 it->top_nz_[7] = BIT(tnz, 23); in VP8IteratorNzToBytes()
194 it->top_nz_[8] = BIT(tnz, 24); in VP8IteratorNzToBytes()
213 nz |= (it->top_nz_[0] << 12) | (it->top_nz_[1] << 13); in VP8IteratorBytesToNz()
[all …]
Dframe.c262 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()
[all …]
Dquant.c602 const int ctx = it->top_nz_[x] + it->left_nz_[y]; in ReconstructIntra16()
606 it->top_nz_[x] = it->left_nz_[y] = non_zero; in ReconstructIntra16()
639 const int ctx = it->top_nz_[x] + it->left_nz_[y]; in ReconstructIntra4()
667 const int ctx = it->top_nz_[4 + ch + x] + it->left_nz_[4 + ch + y]; in ReconstructUV()
671 it->top_nz_[4 + ch + x] = it->left_nz_[4 + ch + y] = non_zero; in ReconstructUV()
809 it->top_nz_[it->i4_ & 3] = it->left_nz_[it->i4_ >> 2] = (rd_i4.nz ? 1 : 0); in PickBestIntra4()
Dvp8enci.h266 int top_nz_[9]; // top-non-zero context. member