Skip to content

code coverage: EVS HQ_HARMONIC mode

The code coverage reports that the code related to EVS hqswb_clas == HQ_HARMONIC is not currently executed- see https://ivas-codec-pc.3gpp.org/ivas-codec/coverage/lib_enc/swb_bwe_enc_lr.c.gcov.html.

I propose to add the following EVS self-test condition to cover it:

// Codec A at 13.20 kbps, 32kHz in, 48kHz out
../IVAS_cod 13200 32 testv/stv48c.pcm bit
../IVAS_dec 48 bit testv/stv48c_13k20_32-48.tst

Note that the used test-vector is sampled at 48 kHz while the coding at 32 kHz is requested. This is done on purpose as I did not find a test-vector existing in scripts/testv that triggers the HQ_HARMONIC mode and I have chosen to not introduce a new one.

Edited by vaclav