Home
last modified time | relevance | path

Searched refs:dqm_ (Results 1 – 21 of 21) sorted by relevance

/external/opencv3/3rdparty/libwebp/enc/
Dquant.c169 VP8SegmentInfo* const m = &enc->dqm_[i]; in SetupMatrices()
211 const int level = level0 * 256 * enc->dqm_[i].quant_ / 128; in SetupFilterStrength()
212 const int f = level / (256 + enc->dqm_[i].beta_); in SetupFilterStrength()
213 enc->dqm_[i].fstrength_ = (f < FSTRENGTH_CUTOFF) ? 0 : (f > 63) ? 63 : f; in SetupFilterStrength()
216 enc->filter_hdr_.level_ = enc->dqm_[0].fstrength_; in SetupFilterStrength()
273 const VP8SegmentInfo* const S1 = &enc->dqm_[s1]; in SimplifySegments()
277 const VP8SegmentInfo* const S2 = &enc->dqm_[s2]; in SimplifySegments()
286 enc->dqm_[num_final_segments] = enc->dqm_[s1]; in SimplifySegments()
297 enc->dqm_[i] = enc->dqm_[num_final_segments - 1]; in SimplifySegments()
314 const double expn = 1. - amp * enc->dqm_[i].alpha_; in VP8SetSegmentParams()
[all …]
Danalysis.c97 enc->dqm_[n].alpha_ = clip(alpha, -127, 127); in SetSegmentAlphas()
98 enc->dqm_[n].beta_ = clip(beta, 0, 255); in SetSegmentAlphas()
385 enc->dqm_[0].alpha_ = 0; in ResetAllMBInfo()
386 enc->dqm_[0].beta_ = 0; in ResetAllMBInfo()
Dfilter.c357 const int level0 = it->enc_->dqm_[s].fstrength_; // TODO: ref_lf_delta[] in VP8StoreFilterStats()
360 const int delta_min = -it->enc_->dqm_[s].quant_; in VP8StoreFilterStats()
361 const int delta_max = it->enc_->dqm_[s].quant_; in VP8StoreFilterStats()
405 enc->dqm_[s].fstrength_ = best_level; in VP8AdjustFilterStrength()
Dwebpenc.c322 stats->segment_level[i] = enc->dqm_[i].fstrength_; in StoreStats()
323 stats->segment_quant[i] = enc->dqm_[i].quant_; in StoreStats()
Dsyntax.c204 VP8PutSignedValue(bw, enc->dqm_[s].quant_, 7); in PutSegmentHeader()
207 VP8PutSignedValue(bw, enc->dqm_[s].fstrength_, 6); in PutSegmentHeader()
Dvp8enci.h408 VP8SegmentInfo dqm_[NUM_MB_SEGMENTS]; member
Dframe.c670 case 3: *info = enc->dqm_[mb->segment_].quant_; break; in StoreSideInfo()
/external/webp/src/dec/
Dquant.c83 dec->dqm_[i] = dec->dqm_[0]; in VP8ParseQuant()
90 VP8QuantMatrix* const m = &dec->dqm_[i]; in VP8ParseQuant()
Dvp8i.h222 VP8QuantMatrix dqm_[NUM_MB_SEGMENTS]; member
Dvp8.c454 const VP8QuantMatrix* const q = &dec->dqm_[block->segment_]; in ParseResiduals()
Dframe.c336 VP8QuantMatrix* const dqm = &dec->dqm_[s]; in VP8InitDithering()
/external/opencv3/3rdparty/libwebp/dec/
Dquant.c87 dec->dqm_[i] = dec->dqm_[0]; in VP8ParseQuant()
94 VP8QuantMatrix* const m = &dec->dqm_[i]; in VP8ParseQuant()
Dvp8i.h226 VP8QuantMatrix dqm_[NUM_MB_SEGMENTS]; member
Dvp8.c556 const VP8QuantMatrix* q = &dec->dqm_[dec->segment_]; in ParseResiduals()
/external/webp/src/enc/
Dquant.c246 VP8SegmentInfo* const m = &enc->dqm_[i]; in SetupMatrices()
288 VP8SegmentInfo* const m = &enc->dqm_[i]; in SetupFilterStrength()
298 enc->filter_hdr_.level_ = enc->dqm_[0].fstrength_; in SetupFilterStrength()
355 const VP8SegmentInfo* const S1 = &enc->dqm_[s1]; in SimplifySegments()
359 const VP8SegmentInfo* const S2 = &enc->dqm_[s2]; in SimplifySegments()
368 enc->dqm_[num_final_segments] = enc->dqm_[s1]; in SimplifySegments()
379 enc->dqm_[i] = enc->dqm_[num_final_segments - 1]; in SimplifySegments()
396 const double expn = 1. - amp * enc->dqm_[i].alpha_; in VP8SetSegmentParams()
400 enc->dqm_[i].quant_ = clip(q, 0, 127); in VP8SetSegmentParams()
404 enc->base_quant_ = enc->dqm_[0].quant_; in VP8SetSegmentParams()
[all …]
Dfilter.c232 const int level0 = enc->dqm_[s].fstrength_; in VP8StoreFilterStats()
235 const int delta_min = -enc->dqm_[s].quant_; in VP8StoreFilterStats()
236 const int delta_max = enc->dqm_[s].quant_; in VP8StoreFilterStats()
277 enc->dqm_[s].fstrength_ = best_level; in VP8AdjustFilterStrength()
283 VP8SegmentInfo* const dqm = &enc->dqm_[s]; in VP8AdjustFilterStrength()
Danalysis.c94 enc->dqm_[n].alpha_ = clip(alpha, -127, 127); in SetSegmentAlphas()
95 enc->dqm_[n].beta_ = clip(beta, 0, 255); in SetSegmentAlphas()
387 enc->dqm_[0].alpha_ = 0; in ResetAllMBInfo()
388 enc->dqm_[0].beta_ = 0; in ResetAllMBInfo()
Dwebpenc.c275 stats->segment_level[i] = enc->dqm_[i].fstrength_; in StoreStats()
276 stats->segment_quant[i] = enc->dqm_[i].quant_; in StoreStats()
Dsyntax.c200 VP8PutSignedBits(bw, enc->dqm_[s].quant_, 7); in PutSegmentHeader()
203 VP8PutSignedBits(bw, enc->dqm_[s].fstrength_, 6); in PutSegmentHeader()
Dvp8enci.h376 VP8SegmentInfo dqm_[NUM_MB_SEGMENTS]; member
Dframe.c498 case 3: *info = enc->dqm_[mb->segment_].quant_; break; in StoreSideInfo()