Home
last modified time | relevance | path

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

/external/opencv3/3rdparty/libwebp/enc/
Dquant.c270 int num_final_segments = 1; in SimplifySegments() local
276 for (s2 = 0; s2 < num_final_segments; ++s2) { in SimplifySegments()
285 if (num_final_segments != s1) { in SimplifySegments()
286 enc->dqm_[num_final_segments] = enc->dqm_[s1]; in SimplifySegments()
288 ++num_final_segments; in SimplifySegments()
291 if (num_final_segments < num_segments) { // Remap in SimplifySegments()
294 enc->segment_hdr_.num_segments_ = num_final_segments; in SimplifySegments()
296 for (i = num_final_segments; i < num_segments; ++i) { in SimplifySegments()
297 enc->dqm_[i] = enc->dqm_[num_final_segments - 1]; in SimplifySegments()
/external/webp/src/enc/
Dquant.c352 int num_final_segments = 1; in SimplifySegments() local
358 for (s2 = 0; s2 < num_final_segments; ++s2) { in SimplifySegments()
367 if (num_final_segments != s1) { in SimplifySegments()
368 enc->dqm_[num_final_segments] = enc->dqm_[s1]; in SimplifySegments()
370 ++num_final_segments; in SimplifySegments()
373 if (num_final_segments < num_segments) { // Remap in SimplifySegments()
376 enc->segment_hdr_.num_segments_ = num_final_segments; in SimplifySegments()
378 for (i = num_final_segments; i < num_segments; ++i) { in SimplifySegments()
379 enc->dqm_[i] = enc->dqm_[num_final_segments - 1]; in SimplifySegments()