SOFTCLIP_THRESHOLD 217 libavcodec/qdm2.c static uint16_t softclip_table[HARDCLIP_THRESHOLD - SOFTCLIP_THRESHOLD + 1]; SOFTCLIP_THRESHOLD 228 libavcodec/qdm2.c double dfl = SOFTCLIP_THRESHOLD - 32767; SOFTCLIP_THRESHOLD 230 libavcodec/qdm2.c for (i = 0; i < HARDCLIP_THRESHOLD - SOFTCLIP_THRESHOLD + 1; i++) SOFTCLIP_THRESHOLD 231 libavcodec/qdm2.c softclip_table[i] = SOFTCLIP_THRESHOLD - ((int)(sin((float)i * delta) * dfl) & 0x0000FFFF); SOFTCLIP_THRESHOLD 1974 libavcodec/qdm2.c if (value > SOFTCLIP_THRESHOLD) SOFTCLIP_THRESHOLD 1975 libavcodec/qdm2.c value = (value > HARDCLIP_THRESHOLD) ? 32767 : softclip_table[ value - SOFTCLIP_THRESHOLD]; SOFTCLIP_THRESHOLD 1976 libavcodec/qdm2.c else if (value < -SOFTCLIP_THRESHOLD) SOFTCLIP_THRESHOLD 1977 libavcodec/qdm2.c value = (value < -HARDCLIP_THRESHOLD) ? -32767 : -softclip_table[-value - SOFTCLIP_THRESHOLD];