Commit c4a30a32 authored by Jan Kiene's avatar Jan Kiene
Browse files

Merge branch 'lc3plus_update_v1.4.3' into 'main'

[split-non-be] Update lib_lc3plus to v1.4.3

See merge request !1396
parents 9bcd1cb6 2b6d463c
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+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      *
@@ -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)
    {
@@ -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;
    }
@@ -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;
+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      *
+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      *
@@ -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);

+807 −154

File changed.

Preview size limit exceeded, changes collapsed.

Loading