Lines Matching refs:nb
122 const int nb = enc->segment_hdr_.num_segments_;
126 if (nb > 1) {
127 for (n = 0; n < nb; ++n) {
134 for (n = 0; n < nb; ++n) {
143 // Simplified k-Means, to assign Nb segments based on alpha-histogram
146 const int nb = enc->segment_hdr_.num_segments_;
163 for (n = 1, k = 0; n < 2 * nb; n += 2) {
164 centers[k++] = min_a + (n * range_a) / (2 * nb);
171 for (n = 0; n < nb; ++n) {
179 while (n < nb - 1 && abs(a - centers[n + 1]) < abs(a - centers[n])) {
193 for (n = 0; n < nb; ++n) {
214 if (nb > 1) {