Lines Matching refs:nb
82 const int nb = enc->segment_hdr_.num_segments_;
86 if (nb > 1) {
87 for (n = 0; n < nb; ++n) {
94 for (n = 0; n < nb; ++n) {
143 // Simplified k-Means, to assign Nb segments based on alpha-histogram
147 const int nb = enc->segment_hdr_.num_segments_;
164 for (n = 1, k = 0; n < 2 * nb; n += 2) {
165 centers[k++] = min_a + (n * range_a) / (2 * nb);
172 for (n = 0; n < nb; ++n) {
180 while (n < nb - 1 && abs(a - centers[n + 1]) < abs(a - centers[n])) {
194 for (n = 0; n < nb; ++n) {
215 if (nb > 1) {