Home
last modified time | relevance | path

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

/external/speex/libspeexdsp/
Djitter.c180 int tot_count; in compute_opt_delay() local
191 tot_count = 0; in compute_opt_delay()
193 tot_count += tb[i].curr_count; in compute_opt_delay()
194 if (tot_count==0) in compute_opt_delay()
199 late_factor = jitter->latency_tradeoff * 100.0f / tot_count; in compute_opt_delay()
201 late_factor = jitter->auto_tradeoff * jitter->window_size/tot_count; in compute_opt_delay()
263 if (tot_count < TOP_DELAY && opt > 0) in compute_opt_delay()
/external/libvpx/libvpx/vp8/encoder/
Dencodeframe.c892 int tot_count; in vp8_encode_frame() local
898 tot_count = segment_counts[0] + segment_counts[1] + segment_counts[2] + in vp8_encode_frame()
901 if (tot_count) { in vp8_encode_frame()
903 ((segment_counts[0] + segment_counts[1]) * 255) / tot_count; in vp8_encode_frame()
905 tot_count = segment_counts[0] + segment_counts[1]; in vp8_encode_frame()
907 if (tot_count > 0) { in vp8_encode_frame()
908 xd->mb_segment_tree_probs[1] = (segment_counts[0] * 255) / tot_count; in vp8_encode_frame()
911 tot_count = segment_counts[2] + segment_counts[3]; in vp8_encode_frame()
913 if (tot_count > 0) { in vp8_encode_frame()
914 xd->mb_segment_tree_probs[2] = (segment_counts[2] * 255) / tot_count; in vp8_encode_frame()