Lines Matching refs:coding_method
186 int8_t coding_method[MPA_MAX_CHANNELS][30][64];
495 * Used after making changes to coding_method array.
499 * @param coding_method q->coding_method[0][0][0]
501 static void fix_coding_method_array (int sb, int channels, sb_int8_array coding_method)
510 if((coding_method[ch][sb][j] - 8) > 22) {
514 switch (switchtable[coding_method[ch][sb][j]-8]) {
526 if (coding_method[ch][sb + (j + k) / 64][(j + k) % 64] > coding_method[ch][sb][j])
530 memset(&coding_method[ch][sb][j + k], case_val, k * sizeof(int8_t));
531 memset(&coding_method[ch][sb][j + k], case_val, 3 * sizeof(int8_t));
635 * @param coding_method q->coding_method[0][0][0]
642 sb_int8_array coding_method, int nb_channels,
728 coding_method[ch][sb][j] = ((tmp & 0xfffa) + 30 )& 0xff;
731 fix_coding_method_array(sb, nb_channels, coding_method);
736 if (coding_method[ch][sb][j] < 10)
737 coding_method[ch][sb][j] = 10;
740 if (coding_method[ch][sb][j] < 16)
741 coding_method[ch][sb][j] = 16;
743 if (coding_method[ch][sb][j] < 30)
744 coding_method[ch][sb][j] = 30;
751 coding_method[ch][sb][j] = coding_method_table[cm_table_select][sb];
804 if (q->coding_method[1][sb][j] > q->coding_method[0][sb][j])
805 q->coding_method[0][sb][j] = q->coding_method[1][sb][j];
807 fix_coding_method_array(sb, q->nb_channels, q->coding_method);
817 switch (q->coding_method[ch][sb][j / 2]) {
1129 fill_coding_method_array (q->tone_level_idx, q->tone_level_idx_temp, q->coding_method,