Lines Matching refs:nb
79 const int nb = enc->segment_hdr_.num_segments_; in SetSegmentAlphas() local
83 if (nb > 1) { in SetSegmentAlphas()
84 for (n = 0; n < nb; ++n) { in SetSegmentAlphas()
91 for (n = 0; n < nb; ++n) { in SetSegmentAlphas()
147 const int nb = (enc->segment_hdr_.num_segments_ < NUM_MB_SEGMENTS) ? in AssignSegments() local
157 assert(nb >= 1); in AssignSegments()
158 assert(nb <= NUM_MB_SEGMENTS); in AssignSegments()
168 for (k = 0, n = 1; k < nb; ++k, n += 2) { in AssignSegments()
169 assert(n < 2 * nb); in AssignSegments()
170 centers[k] = min_a + (n * range_a) / (2 * nb); in AssignSegments()
177 for (n = 0; n < nb; ++n) { in AssignSegments()
185 while (n + 1 < nb && abs(a - centers[n + 1]) < abs(a - centers[n])) { in AssignSegments()
199 for (n = 0; n < nb; ++n) { in AssignSegments()
220 if (nb > 1) { in AssignSegments()