Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dfilter_enc.c219 VP8SegmentInfo* const dqm = &enc->dqm_[s]; in VP8AdjustFilterStrength() local
221 const int delta = (dqm->max_edge_ * dqm->y2_.q_[1]) >> 3; in VP8AdjustFilterStrength()
224 if (level > dqm->fstrength_) { in VP8AdjustFilterStrength()
225 dqm->fstrength_ = level; in VP8AdjustFilterStrength()
227 if (max_level < dqm->fstrength_) { in VP8AdjustFilterStrength()
228 max_level = dqm->fstrength_; in VP8AdjustFilterStrength()
Dquant_enc.c761 const VP8SegmentInfo* const dqm = &enc->dqm_[it->mb_->segment_]; in ReconstructIntra16() local
770 nz |= VP8EncQuantizeBlockWHT(dc_tmp, rd->y_dc_levels, &dqm->y2_) << 24; in ReconstructIntra16()
780 &dqm->y1_, dqm->lambda_trellis_i16_); in ReconstructIntra16()
791 nz |= VP8EncQuantize2Blocks(tmp[n], rd->y_ac_levels[n], &dqm->y1_) << n; in ReconstructIntra16()
813 const VP8SegmentInfo* const dqm = &enc->dqm_[it->mb_->segment_]; in ReconstructIntra4() local
821 nz = TrellisQuantizeBlock(enc, tmp, levels, ctx, 3, &dqm->y1_, in ReconstructIntra4()
822 dqm->lambda_trellis_i4_); in ReconstructIntra4()
824 nz = VP8EncQuantizeBlock(tmp, levels, &dqm->y1_); in ReconstructIntra4()
914 const VP8SegmentInfo* const dqm = &enc->dqm_[it->mb_->segment_]; in ReconstructUV() local
922 if (it->top_derr_ != NULL) CorrectDCValues(it, &dqm->uv_, tmp, rd); 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()
341 const int idx = (dqm->uv_quant_ < 0) ? 0 : dqm->uv_quant_; in VP8InitDithering()
342 dqm->dither_ = (f * kQuantToDitherAmp[idx]) >> 3; in VP8InitDithering()
344 all_amp |= dqm->dither_; in VP8InitDithering()