Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dquant_enc.c370 int num_final_segments = 1; in SimplifySegments() local
376 for (s2 = 0; s2 < num_final_segments; ++s2) { in SimplifySegments()
385 if (num_final_segments != s1) { in SimplifySegments()
386 enc->dqm_[num_final_segments] = enc->dqm_[s1]; in SimplifySegments()
388 ++num_final_segments; in SimplifySegments()
391 if (num_final_segments < num_segments) { // Remap in SimplifySegments()
394 enc->segment_hdr_.num_segments_ = num_final_segments; in SimplifySegments()
396 for (i = num_final_segments; i < num_segments; ++i) { in SimplifySegments()
397 enc->dqm_[i] = enc->dqm_[num_final_segments - 1]; in SimplifySegments()