Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dcost_enc.c226 ctx = it->top_nz_[x] + it->left_nz_[y]; in VP8GetCostLuma4()
243 R += VP8GetResidualCost(it->top_nz_[8] + it->left_nz_[8], &res); in VP8GetCostLuma16()
249 const int ctx = it->top_nz_[x] + it->left_nz_[y]; in VP8GetCostLuma16()
252 it->top_nz_[x] = it->left_nz_[y] = (res.last >= 0); in VP8GetCostLuma16()
270 const int ctx = it->top_nz_[4 + ch + x] + it->left_nz_[4 + ch + y]; in VP8GetCostUV()
273 it->top_nz_[4 + ch + x] = it->left_nz_[4 + ch + y] = (res.last >= 0); in VP8GetCostUV()
Dframe_enc.c321 it->top_nz_[8] = it->left_nz_[8] = in CodeResiduals()
322 PutCoeffs(bw, it->top_nz_[8] + it->left_nz_[8], &res); in CodeResiduals()
331 const int ctx = it->top_nz_[x] + it->left_nz_[y]; in CodeResiduals()
333 it->top_nz_[x] = it->left_nz_[y] = PutCoeffs(bw, ctx, &res); in CodeResiduals()
343 const int ctx = it->top_nz_[4 + ch + x] + it->left_nz_[4 + ch + y]; in CodeResiduals()
345 it->top_nz_[4 + ch + x] = it->left_nz_[4 + ch + y] = in CodeResiduals()
371 it->top_nz_[8] = it->left_nz_[8] = in RecordResiduals()
372 VP8RecordCoeffs(it->top_nz_[8] + it->left_nz_[8], &res); in RecordResiduals()
381 const int ctx = it->top_nz_[x] + it->left_nz_[y]; in RecordResiduals()
383 it->top_nz_[x] = it->left_nz_[y] = VP8RecordCoeffs(ctx, &res); in RecordResiduals()
[all …]
Dquant_enc.c777 const int ctx = it->top_nz_[x] + it->left_nz_[y]; in ReconstructIntra16()
781 it->top_nz_[x] = it->left_nz_[y] = non_zero; in ReconstructIntra16()
820 const int ctx = it->top_nz_[x] + it->left_nz_[y]; in ReconstructIntra4()
929 const int ctx = it->top_nz_[4 + ch + x] + it->left_nz_[4 + ch + y]; in ReconstructUV()
933 it->top_nz_[4 + ch + x] = it->left_nz_[4 + ch + y] = non_zero; in ReconstructUV()
1127 it->top_nz_[it->i4_ & 3] = it->left_nz_[it->i4_ >> 2] = (rd_i4.nz ? 1 : 0); in PickBestIntra4()
Diterator_enc.c236 int* const top_nz = it->top_nz_; in VP8IteratorNzToBytes()
269 const int* const top_nz = it->top_nz_; in VP8IteratorBytesToNz()
Dvp8i_enc.h240 int top_nz_[9]; // top-non-zero context. member