Loading .gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -1031,7 +1031,7 @@ check-first-frame-is-sid: expose_as: "logs-sidstart" expire_in: "5 days" lc3plus-ensure-no-code-changes: .lc3plus-ensure-no-code-changes: extends: - .test-job-linux - .rules-merge-request Loading lib_lc3plus/adjust_global_gain.c +16 −6 Original line number Diff line number Diff line /****************************************************************************** * ETSI TS 103 634 V1.4.1 * * ETSI TS 103 634 V1.4.3 * * Low Complexity Communication Codec Plus (LC3plus) * * * * Copyright licence is solely granted through ETSI Intellectual Property * Loading @@ -15,11 +15,14 @@ void processAdjustGlobalGain_fl(LC3_INT* gg_idx, LC3_INT gg_idx_min, LC3_INT gg_ , LC3_INT16 hrmode, LC3_INT16 frame_dms ) { LC3_FLOAT delta = 0; LC3_INT delta2 = 0; LC3_FLOAT delta; LC3_INT delta2; LC3_INT gg_idx_inc; #ifdef CR8_G_ADD_75MS LC3_FLOAT factor; #else LC3_INT factor; #endif if (frame_dms == 25) { Loading @@ -32,7 +35,14 @@ void processAdjustGlobalGain_fl(LC3_INT* gg_idx, LC3_INT gg_idx_min, LC3_INT gg_ } else if (frame_dms == 50) { factor = 2; } else } #ifdef CR8_G_ADD_75MS else if (frame_dms == 75) { factor = 1.2; } #endif else { factor = 1; } Loading Loading @@ -60,7 +70,7 @@ void processAdjustGlobalGain_fl(LC3_INT* gg_idx, LC3_INT gg_idx_min, LC3_INT gg_ if (hrmode) { if (nBits > target) { gg_idx_inc = (int) factor * (((nBits - target)/ delta) + 1); gg_idx_inc = (int) (factor * (((nBits - target)/ delta) + 1)); gg_idx_inc = MIN(gg_idx_inc, 10 * factor); *gg_idx += gg_idx_inc; Loading lib_lc3plus/al_fec_fl.c +1 −1 Original line number Diff line number Diff line /****************************************************************************** * ETSI TS 103 634 V1.4.1 * * ETSI TS 103 634 V1.4.3 * * Low Complexity Communication Codec Plus (LC3plus) * * * * Copyright licence is solely granted through ETSI Intellectual Property * Loading lib_lc3plus/apply_global_gain.c +2 −2 Original line number Diff line number Diff line /****************************************************************************** * ETSI TS 103 634 V1.4.1 * * ETSI TS 103 634 V1.4.3 * * Low Complexity Communication Codec Plus (LC3plus) * * * * Copyright licence is solely granted through ETSI Intellectual Property * Loading @@ -13,7 +13,7 @@ void processApplyGlobalGain_fl(LC3_FLOAT x[], LC3_INT xLen, LC3_INT global_gain_idx, LC3_INT global_gain_off) { LC3_FLOAT gg = 0; LC3_FLOAT gg; gg = LC3_POW(10, (LC3_FLOAT)(global_gain_idx + global_gain_off) / 28); Loading lib_lc3plus/ari_codec.c +807 −154 File changed.Preview size limit exceeded, changes collapsed. Show changes Loading
.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -1031,7 +1031,7 @@ check-first-frame-is-sid: expose_as: "logs-sidstart" expire_in: "5 days" lc3plus-ensure-no-code-changes: .lc3plus-ensure-no-code-changes: extends: - .test-job-linux - .rules-merge-request Loading
lib_lc3plus/adjust_global_gain.c +16 −6 Original line number Diff line number Diff line /****************************************************************************** * ETSI TS 103 634 V1.4.1 * * ETSI TS 103 634 V1.4.3 * * Low Complexity Communication Codec Plus (LC3plus) * * * * Copyright licence is solely granted through ETSI Intellectual Property * Loading @@ -15,11 +15,14 @@ void processAdjustGlobalGain_fl(LC3_INT* gg_idx, LC3_INT gg_idx_min, LC3_INT gg_ , LC3_INT16 hrmode, LC3_INT16 frame_dms ) { LC3_FLOAT delta = 0; LC3_INT delta2 = 0; LC3_FLOAT delta; LC3_INT delta2; LC3_INT gg_idx_inc; #ifdef CR8_G_ADD_75MS LC3_FLOAT factor; #else LC3_INT factor; #endif if (frame_dms == 25) { Loading @@ -32,7 +35,14 @@ void processAdjustGlobalGain_fl(LC3_INT* gg_idx, LC3_INT gg_idx_min, LC3_INT gg_ } else if (frame_dms == 50) { factor = 2; } else } #ifdef CR8_G_ADD_75MS else if (frame_dms == 75) { factor = 1.2; } #endif else { factor = 1; } Loading Loading @@ -60,7 +70,7 @@ void processAdjustGlobalGain_fl(LC3_INT* gg_idx, LC3_INT gg_idx_min, LC3_INT gg_ if (hrmode) { if (nBits > target) { gg_idx_inc = (int) factor * (((nBits - target)/ delta) + 1); gg_idx_inc = (int) (factor * (((nBits - target)/ delta) + 1)); gg_idx_inc = MIN(gg_idx_inc, 10 * factor); *gg_idx += gg_idx_inc; Loading
lib_lc3plus/al_fec_fl.c +1 −1 Original line number Diff line number Diff line /****************************************************************************** * ETSI TS 103 634 V1.4.1 * * ETSI TS 103 634 V1.4.3 * * Low Complexity Communication Codec Plus (LC3plus) * * * * Copyright licence is solely granted through ETSI Intellectual Property * Loading
lib_lc3plus/apply_global_gain.c +2 −2 Original line number Diff line number Diff line /****************************************************************************** * ETSI TS 103 634 V1.4.1 * * ETSI TS 103 634 V1.4.3 * * Low Complexity Communication Codec Plus (LC3plus) * * * * Copyright licence is solely granted through ETSI Intellectual Property * Loading @@ -13,7 +13,7 @@ void processApplyGlobalGain_fl(LC3_FLOAT x[], LC3_INT xLen, LC3_INT global_gain_idx, LC3_INT global_gain_off) { LC3_FLOAT gg = 0; LC3_FLOAT gg; gg = LC3_POW(10, (LC3_FLOAT)(global_gain_idx + global_gain_off) / 28); Loading
lib_lc3plus/ari_codec.c +807 −154 File changed.Preview size limit exceeded, changes collapsed. Show changes