Loading…
Loading…
方法名称: met_spectrum_decode
方法ID: 0x40F3
方法标签: Decode Spectrum
方法描述:
- {
- int sign;
- int fl_osn;
- int db;
- int osn;
- int n1;
- int n2;
- int bl1;
- float aa;
- float max_spectrum_value;
- float min_spectrum_value;
- float min_distance;
- float max_distance;
- float temp_float;
- float current_distance;
- unsigned int i;
- unsigned int bit_position;
- unsigned int first_coef_number_in_block;
- unsigned int block_length;
- unsigned int current_coef_number;
- unsigned int block_index;
- unsigned int compressed_value;
- unsigned int current_src_index;
- unsigned int last_coef_number_in_block;
- unsigned short current_src_value;
- unsigned short dist;
- unsigned short stat;
- unsigned short fl_term;
- unsigned short fl_angle;
- unsigned short fl_power;
- unsigned short temp_ushort;
- max_spectrum_value = 0;
- min_spectrum_value = 0;
- min_distance = 0;
- max_distance = 0;
- i = 0;
- y_max = 0.0;
- bit_position = 0;
- PUT_MESSAGE(literal_string(701));
- current_src_index = 0;
- current_src_value = ar_spectr_compressed[current_src_index];
- dist = current_src_value & 2047;
- temp_ushort = current_src_value / 2048;
- stat = temp_ushort % 2;
- temp_ushort = temp_ushort / 2;
- fl_term = temp_ushort % 2;
请登录以获得完整内容