Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dframe.c314 it->top_nz_[8] = it->left_nz_[8] = in CodeResiduals()
315 PutCoeffs(bw, it->top_nz_[8] + it->left_nz_[8], &res); in CodeResiduals()
324 const int ctx = it->top_nz_[x] + it->left_nz_[y]; in CodeResiduals()
326 it->top_nz_[x] = it->left_nz_[y] = PutCoeffs(bw, ctx, &res); in CodeResiduals()
336 const int ctx = it->top_nz_[4 + ch + x] + it->left_nz_[4 + ch + y]; in CodeResiduals()
338 it->top_nz_[4 + ch + x] = it->left_nz_[4 + ch + y] = in CodeResiduals()
364 it->top_nz_[8] = it->left_nz_[8] = in RecordResiduals()
365 VP8RecordCoeffs(it->top_nz_[8] + it->left_nz_[8], &res); in RecordResiduals()
374 const int ctx = it->top_nz_[x] + it->left_nz_[y]; in RecordResiduals()
376 it->top_nz_[x] = it->left_nz_[y] = VP8RecordCoeffs(ctx, &res); in RecordResiduals()
[all …]
Dcost.c607 ctx = it->top_nz_[x] + it->left_nz_[y]; in VP8GetCostLuma4()
624 R += VP8GetResidualCost(it->top_nz_[8] + it->left_nz_[8], &res); in VP8GetCostLuma16()
630 const int ctx = it->top_nz_[x] + it->left_nz_[y]; in VP8GetCostLuma16()
633 it->top_nz_[x] = it->left_nz_[y] = (res.last >= 0); in VP8GetCostLuma16()
651 const int ctx = it->top_nz_[4 + ch + x] + it->left_nz_[4 + ch + y]; in VP8GetCostUV()
654 it->top_nz_[4 + ch + x] = it->left_nz_[4 + ch + y] = (res.last >= 0); in VP8GetCostUV()
Dquant.c739 const int ctx = it->top_nz_[x] + it->left_nz_[y]; in ReconstructIntra16()
743 it->top_nz_[x] = it->left_nz_[y] = non_zero; in ReconstructIntra16()
781 const int ctx = it->top_nz_[x] + it->left_nz_[y]; in ReconstructIntra4()
809 const int ctx = it->top_nz_[4 + ch + x] + it->left_nz_[4 + ch + y]; in ReconstructUV()
813 it->top_nz_[4 + ch + x] = it->left_nz_[4 + ch + y] = non_zero; in ReconstructUV()
1002 it->top_nz_[it->i4_ & 3] = it->left_nz_[it->i4_ >> 2] = (rd_i4.nz ? 1 : 0); in PickBestIntra4()
Diterator.c232 int* const top_nz = it->top_nz_; in VP8IteratorNzToBytes()
265 const int* const top_nz = it->top_nz_; in VP8IteratorBytesToNz()
Dvp8enci.h292 int top_nz_[9]; // top-non-zero context. member
/external/chromium_org/third_party/libwebp/enc/
Dframe.c314 it->top_nz_[8] = it->left_nz_[8] = in CodeResiduals()
315 PutCoeffs(bw, it->top_nz_[8] + it->left_nz_[8], &res); in CodeResiduals()
324 const int ctx = it->top_nz_[x] + it->left_nz_[y]; in CodeResiduals()
326 it->top_nz_[x] = it->left_nz_[y] = PutCoeffs(bw, ctx, &res); in CodeResiduals()
336 const int ctx = it->top_nz_[4 + ch + x] + it->left_nz_[4 + ch + y]; in CodeResiduals()
338 it->top_nz_[4 + ch + x] = it->left_nz_[4 + ch + y] = in CodeResiduals()
364 it->top_nz_[8] = it->left_nz_[8] = in RecordResiduals()
365 VP8RecordCoeffs(it->top_nz_[8] + it->left_nz_[8], &res); in RecordResiduals()
374 const int ctx = it->top_nz_[x] + it->left_nz_[y]; in RecordResiduals()
376 it->top_nz_[x] = it->left_nz_[y] = VP8RecordCoeffs(ctx, &res); in RecordResiduals()
[all …]
Dcost.c607 ctx = it->top_nz_[x] + it->left_nz_[y]; in VP8GetCostLuma4()
624 R += VP8GetResidualCost(it->top_nz_[8] + it->left_nz_[8], &res); in VP8GetCostLuma16()
630 const int ctx = it->top_nz_[x] + it->left_nz_[y]; in VP8GetCostLuma16()
633 it->top_nz_[x] = it->left_nz_[y] = (res.last >= 0); in VP8GetCostLuma16()
651 const int ctx = it->top_nz_[4 + ch + x] + it->left_nz_[4 + ch + y]; in VP8GetCostUV()
654 it->top_nz_[4 + ch + x] = it->left_nz_[4 + ch + y] = (res.last >= 0); in VP8GetCostUV()
Dquant.c739 const int ctx = it->top_nz_[x] + it->left_nz_[y]; in ReconstructIntra16()
743 it->top_nz_[x] = it->left_nz_[y] = non_zero; in ReconstructIntra16()
781 const int ctx = it->top_nz_[x] + it->left_nz_[y]; in ReconstructIntra4()
809 const int ctx = it->top_nz_[4 + ch + x] + it->left_nz_[4 + ch + y]; in ReconstructUV()
813 it->top_nz_[4 + ch + x] = it->left_nz_[4 + ch + y] = non_zero; in ReconstructUV()
1002 it->top_nz_[it->i4_ & 3] = it->left_nz_[it->i4_ >> 2] = (rd_i4.nz ? 1 : 0); in PickBestIntra4()
Diterator.c232 int* const top_nz = it->top_nz_; in VP8IteratorNzToBytes()
265 const int* const top_nz = it->top_nz_; in VP8IteratorBytesToNz()
Dvp8enci.h292 int top_nz_[9]; // top-non-zero context. member