Lines Matching refs:cod
426 static void decode_8_pulses_35bits(const uint16_t *fixed_index, float *cod)
436 cod[pos1] = (fixed_index[i] & 0x80) ? -1.0 : 1.0;
439 cod[pos2] = -cod[pos1];
441 cod[pos2] += cod[pos1];
447 cod[pos1] = (fixed_index[3] & 0x100) ? -1.0 : 1.0;
448 cod[pos2] = (fixed_index[3] & 0x80 ) ? -1.0 : 1.0;
451 static void decode_3_pulses_10bits(uint16_t fixed_index, float *cod)
459 cod[pos] += sign;
461 cod[pos] -= sign;
463 cod[pos] += sign;