Home
last modified time | relevance | path

Searched refs:dqm (Results 1 – 3 of 3) sorted by relevance

/external/webp/src/enc/
Dfilter_enc.c203 VP8SegmentInfo* const dqm = &enc->dqm_[s]; in VP8AdjustFilterStrength() local
205 const int delta = (dqm->max_edge_ * dqm->y2_.q_[1]) >> 3; in VP8AdjustFilterStrength()
208 if (level > dqm->fstrength_) { in VP8AdjustFilterStrength()
209 dqm->fstrength_ = level; in VP8AdjustFilterStrength()
211 if (max_level < dqm->fstrength_) { in VP8AdjustFilterStrength()
212 max_level = dqm->fstrength_; in VP8AdjustFilterStrength()
Dquant_enc.c760 const VP8SegmentInfo* const dqm = &enc->dqm_[it->mb_->segment_]; in ReconstructIntra16() local
769 nz |= VP8EncQuantizeBlockWHT(dc_tmp, rd->y_dc_levels, &dqm->y2_) << 24; in ReconstructIntra16()
779 &dqm->y1_, dqm->lambda_trellis_i16_); in ReconstructIntra16()
790 nz |= VP8EncQuantize2Blocks(tmp[n], rd->y_ac_levels[n], &dqm->y1_) << n; in ReconstructIntra16()
812 const VP8SegmentInfo* const dqm = &enc->dqm_[it->mb_->segment_]; in ReconstructIntra4() local
820 nz = TrellisQuantizeBlock(enc, tmp, levels, ctx, 3, &dqm->y1_, in ReconstructIntra4()
821 dqm->lambda_trellis_i4_); in ReconstructIntra4()
823 nz = VP8EncQuantizeBlock(tmp, levels, &dqm->y1_); in ReconstructIntra4()
834 const VP8SegmentInfo* const dqm = &enc->dqm_[it->mb_->segment_]; in ReconstructUV() local
850 &dqm->uv_, dqm->lambda_trellis_uv_); in ReconstructUV()
[all …]
/external/webp/src/dec/
Dframe_dec.c339 VP8QuantMatrix* const dqm = &dec->dqm_[s]; in VP8InitDithering() local
340 if (dqm->uv_quant_ < DITHER_AMP_TAB_SIZE) { in VP8InitDithering()
342 const int idx = (dqm->uv_quant_ < 0) ? 0 : dqm->uv_quant_; in VP8InitDithering()
343 dqm->dither_ = (f * kQuantToDitherAmp[idx]) >> 3; in VP8InitDithering()
345 all_amp |= dqm->dither_; in VP8InitDithering()