Lines Matching defs:gr
119 int32 ch, gr;
149 for (gr = 0; gr < 2 ; gr++)
153 si->ch[ch].gran[gr].part2_3_length = getbits_crc(inputStream, 12, crc, info->error_protection);
156 si->ch[ch].gran[gr].big_values = (tmp << 10) >> 23; /* 9 */
157 si->ch[ch].gran[gr].global_gain = ((tmp << 19) >> 24) - 210; /* 8 */
158 si->ch[ch].gran[gr].scalefac_compress = (tmp << 27) >> 28; /* 4 */
159 si->ch[ch].gran[gr].window_switching_flag = tmp & 1; /* 1 */
161 if (si->ch[ch].gran[gr].window_switching_flag)
165 si->ch[ch].gran[gr].block_type = (tmp << 10) >> 30; /* 2 */;
166 si->ch[ch].gran[gr].mixed_block_flag = (tmp << 12) >> 31; /* 1 */;
168 si->ch[ch].gran[gr].table_select[0] = (tmp << 13) >> 27; /* 5 */;
169 si->ch[ch].gran[gr].table_select[1] = (tmp << 18) >> 27; /* 5 */;
171 si->ch[ch].gran[gr].subblock_gain[0] = (tmp << 23) >> 29; /* 3 */;
172 si->ch[ch].gran[gr].subblock_gain[1] = (tmp << 26) >> 29; /* 3 */;
173 si->ch[ch].gran[gr].subblock_gain[2] = (tmp << 29) >> 29; /* 3 */;
177 if (si->ch[ch].gran[gr].block_type == 0)
181 else if ((si->ch[ch].gran[gr].block_type == 2)
182 && (si->ch[ch].gran[gr].mixed_block_flag == 0))
184 si->ch[ch].gran[gr].region0_count = 8; /* MI 9; */
185 si->ch[ch].gran[gr].region1_count = 12;
189 si->ch[ch].gran[gr].region0_count = 7; /* MI 8; */
190 si->ch[ch].gran[gr].region1_count = 13;
197 si->ch[ch].gran[gr].table_select[0] = (tmp << 10) >> 27; /* 5 */;
198 si->ch[ch].gran[gr].table_select[1] = (tmp << 15) >> 27; /* 5 */;
199 si->ch[ch].gran[gr].table_select[2] = (tmp << 20) >> 27; /* 5 */;
201 si->ch[ch].gran[gr].region0_count = (tmp << 25) >> 28; /* 4 */;
202 si->ch[ch].gran[gr].region1_count = (tmp << 29) >> 29; /* 3 */;
204 si->ch[ch].gran[gr].block_type = 0;
208 si->ch[ch].gran[gr].preflag = (tmp << 29) >> 31; /* 1 */
209 si->ch[ch].gran[gr].scalefac_scale = (tmp << 30) >> 31; /* 1 */
210 si->ch[ch].gran[gr].count1table_select = tmp & 1; /* 1 */