Delivery package: Unused functions
In the code foreseen to be delivered (generated via scripts/prepare_delivery.sh --strip_sr
), there are a number of unused functions (can be found via scripts/find_unused_symbols.sh):
-
G192_ReadFrame_compact -
G192_WriteVoipFrame_short -
IVAS_DEC_GetJbmData -
IVAS_DEC_VoIP_Flush -
IVAS_DEC_GetDefaultRenderConfig -
IVAS_ENC_EncodeFrameToCompact -
IVAS_REND_GetCombinedOrientation -
IVAS_REND_GetMainOrientation -
IVAS_REND_GetTrackedRotation -
IVAS_REND_RemoveInput -
JbmFileReader_getFilePath -
TsmScaleFileReader_getFilePath -
MIME_Writer_Open_FILE -
RTPDUMP_OpenForReading <-- inherited from EVS -
RTPDUMP_OpenForWriting <-- inherited from EVS -
RTPDUMP_SetDefaultRtpPacketHeader <-- inherited from EVS -
RTPDUMP_WritePacket <-- inherited from EVS -
convertBytestreamToSerial -> @malenovsky -
convertSerialToBytestream -> @malenovsky -
ivas_binaural_cldfb <-- within DEBUGGING -
ivas_orient_trk_GetMainOrientation (called from IVAS_REND_GetMainOrientation) -
ivas_orient_trk_GetTrackedRotation (called from IVAS_REND_GetTrackedRotation) -
get_core_max_num_indices -> @malenovsky -
ivas_sba_get_max_md_bits -> @malenovsky
(plus some BASOP operators, which I would recommend not to touch)
-
DEPR_L_add_c -
DEPR_L_macNs -
DEPR_L_msuNs -
DEPR_L_sat_co -
DEPR_L_sub_c -
DEPR_i_mult -
L40_abs -
L40_add_o -
L40_lshl -
L40_lshr -
L40_max -
L40_min -
L40_negate -
L40_shl_o -
L40_shl_r -
L40_shr_r -
L40_sub -
L40_sub_o -
L_mac0_o -
L_mls_o -
L_msu0_o -
L_msu_o -
L_rotl -
L_rotr -
L_saturate40 -
L_saturate40_o -
L_shr_o -
L_sub_o -
Mpy_32_16_r -
add_o -
idiv1616U -
msu_ro -
mult_o -
mult_ro -
norm_L40 -
rotl -
rotr -
shl_r -
shr_r -
sub_o -
sum_l
I personally would also just leave everything related to MIME as is, and instead focus on
- BS_Reader_Rewind --> only used in #ifdef DEBUGGING ... #endif; but this switch is not available on this interface level so far...; update (20024-02-15): it is available through #include "lib_dec.h" -> #include "common_api_types.h" -> #include "options.h"
- ivas_binaural_cldfb --> defined within #ifdef DEBUGGING ... #endif but never used
- ivas_orient_trk_GetMainOrientation --> called from IVAS_REND_GetMainOrientation(), but this function is nowhere called...
- ivas_orient_trk_GetTrackedRotation --> called from IVAS_REND_GetTrackedRotation(), but this function is nowhere called...
Edited by vaclav