Home
last modified time | relevance | path

Searched refs:gain_diff (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Ddtx.c570 Word16 tmp, mean, CN_dith, gain_diff; in dithering_control() local
594 gain_diff = 0; in dithering_control()
598 gain_diff = add(gain_diff, tmp); in dithering_control()
600 if (gain_diff > GAIN_THR) in dithering_control()
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Ddtx_decoder_amr_wb.cpp875 int16 i, tmp, mean, CN_dith, gain_diff; in dithering_control() local
900 gain_diff = 0; in dithering_control()
906 gain_diff += tmp ^(tmp >> 15); /* tmp ^sign(tmp) */; in dithering_control()
908 if (gain_diff > GAIN_THR) in dithering_control()