104 bs_codes[bs_cnt] <<= 1;
105 bs_codes[bs_cnt] += (pw_cur < pw_pre) ? 1 : 0;
120 int32_t identical_max = 0;
121 for (int32_t ic = 0; ic != bs_cnt; ic++) {
122 int32_t identical_cnt = 0;
123 for (int32_t jc = 0; jc != bs_cnt; jc++) {
124 identical_cnt += (bs_codes[ic] == bs_codes[jc]) ? 1 : 0;
126 if (identical_cnt > identical_max) {
127 identical_max = identical_cnt;
132 data.code = bs_codes[bs_idx];