Home
last modified time | relevance | path

Searched refs:dqm (Results 1 - 4 of 4) sorted by relevance

/third_party/skia/third_party/externals/libwebp/src/enc/
H A 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()
H A 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 in ReconstructUV() local
954 StoreMaxDelta(VP8SegmentInfo* const dqm, const int16_t DCs[16]) StoreMaxDelta() argument
983 VP8SegmentInfo* const dqm = &it->enc_->dqm_[it->mb_->segment_]; PickBestIntra16() local
1052 const VP8SegmentInfo* const dqm = &enc->dqm_[it->mb_->segment_]; PickBestIntra4() local
1148 const VP8SegmentInfo* const dqm = &it->enc_->dqm_[it->mb_->segment_]; PickBestUV() local
1231 const VP8SegmentInfo* const dqm = &it->enc_->dqm_[it->mb_->segment_]; RefineUsingDistortion() local
[all...]
/third_party/libsnd/src/G72x/
H A Dg72x.c333 short dqm ; /* Magnitude of 'd' */ in quantize() local
345 dqm = abs (d) ; in quantize()
346 expon = quan (dqm >> 1, power2, 15) ; in quantize()
347 mant = ((dqm << 7) >> expon) & 0x7F ; /* Fractional portion. */ in quantize()
/third_party/skia/third_party/externals/libwebp/src/dec/
H A Dframe_dec.c324 // roughly, it's dqm->uv_mat_[1]
339 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()

Completed in 6 milliseconds