Commit ec6ec5ed authored by vaclav's avatar vaclav
Browse files

Merge remote-tracking branch 'remotes/origin/main' into 694-omasa-crash-for-extreme-sample

parents 3c77cfde 0fc61df2
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1467,7 +1467,9 @@ const int16_t pr_pd_idx_pairs[3][3][2] = { { { 1, 1 },{ 2, 2 },{ 3, 3 } },{ { 1,
const int16_t remix_order_set[1][DIRAC_MAX_ANA_CHANS] = { /* WYZX --> WYXZ... */
    { 0, 1, 3, 2, 4, 5, 6, 7, 8, 9, 10 }
};
#ifdef SPAR_HOA_DBG
const int16_t keep_planar[IVAS_SPAR_MAX_CH - IVAS_SPAR_MAX_DMX_CHS] = { 1, 1, 1, 1, 1, 1 };
#endif
const int16_t HOA_keep_ind[IVAS_SPAR_MAX_FB_IN_CHAN] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 15};
const int16_t HOA_keep_ind_spar[IVAS_SPAR_MAX_CH] = {0, 1, 2, 3, 4, 8, 9, 10, 10, 10, 10};
const int16_t HOA_keep_ind_spar512[IVAS_SPAR_MAX_CH] = {0, 1, 2, 3, 4,  5, 6, 7, 8, 9, 10};
+2 −0
Original line number Diff line number Diff line
@@ -180,7 +180,9 @@ extern const ivas_huff_models_t ivas_huff_drct_r_consts[TOTAL_DRCT_QUANT_STRATS]
extern const ivas_huff_models_t ivas_huff_decd_r_consts[TOTAL_DECD_QUANT_STRATS];
extern const ivas_spar_br_table_t ivas_spar_br_table_consts[IVAS_SPAR_BR_TABLE_LEN];
extern const int16_t remix_order_set[1][DIRAC_MAX_ANA_CHANS];
#ifdef SPAR_HOA_DBG
extern const int16_t keep_planar[IVAS_SPAR_MAX_CH - FOA_CHANNELS];
#endif
extern const int16_t HOA_keep_ind[IVAS_SPAR_MAX_FB_IN_CHAN];
extern const int16_t HOA_keep_ind_spar[IVAS_SPAR_MAX_CH];
extern const int16_t HOA_keep_ind_spar512[IVAS_SPAR_MAX_CH];
+5 −2
Original line number Diff line number Diff line
@@ -156,6 +156,9 @@
#define SPLIT_REND_PRED_QUANT_63_PNTS
#define SPLIT_REND_WITH_HEAD_ROT_PARAMBIN               /* Nokia: Issue 623: Split rendering support for parambin renderer */
#define FIX_658_SPLIT_REND_MASA                         /*Dlb : Fix for issue 658, uninitialized memory access in MASA in Split rendering 0DOF mode*/
#ifdef SBA_AND_OBJECTS
#define OSBA_SPLIT_RENDERING
#endif
#endif

#define MASA_AND_OBJECTS                                /* Nokia: Combination of MASA and objects */
@@ -163,10 +166,10 @@
#define SBA_AND_OBJECTS
#ifdef SBA_AND_OBJECTS
#define OSBA_BR_SWITCHING
#define OSBA_SPLIT_RENDERING
#endif

#define FIX_264_AUDIO_CHANNELS_TO_HEAP                  /* VA: issue 243: Move audio channels memory from stack to heap */
#define FIX_691_OSBA_CRASH                              /* FhG: Fix for issue 691: Crash for OSBA Stereo out */


#define FIX_694_OMASA_EXTREME                           /* Nokia: fix for crash in OMASA on extreme sample */
+0 −37
Original line number Diff line number Diff line
@@ -13714,43 +13714,6 @@ const float SHBCB_SubGain5bit[128] =
    -1.0319320f, -0.3646283f, -0.2706210f, -0.1999401f
};
/* 5-bit SWB TBE Gain shape codebook in linear domain */
const float SHBCB_SubGain5bit_Linear[128] =
{
    0.7148779f,   0.3338397f,   0.3968293f,   0.4288434f,
    0.3704218f,   0.4662302f,   0.4954065f,   0.6119182f,
    0.0953547f,   0.1157587f,   0.8737744f,   0.3276141f,
    0.0248484f,   0.4350941f,   0.5010864f,   0.5405046f,
    0.8070146f,   0.3943615f,   0.3038853f,   0.2585717f,
    0.3227228f,   0.5631068f,   0.2846687f,   0.6520339f,
    0.6003934f,   0.4863782f,   0.4977593f,   0.3544197f,
    0.9627575f,   0.0726042f,   0.0331859f,   0.0280922f,
    0.2727022f,   0.3460397f,   0.4562386f,   0.7493843f,
    0.7453516f,   0.5222745f,   0.2745141f,   0.1279921f,
    0.5206095f,   0.7343889f,   0.2366333f,   0.2559601f,
    0.7099450f,   0.2673885f,   0.1921454f,   0.5261242f,
    0.1327955f,   0.2004371f,   0.3135739f,   0.8913248f,
    0.1027291f,   0.1007387f,   0.0911556f,   0.9689233f,
    0.4677018f,   0.2990939f,   0.3447584f,   0.7242186f,
    0.0247854f,   0.0458665f,   0.3474266f,   0.7023649f,
    0.6324765f,   0.5506413f,   0.3273258f,   0.3947177f,
    0.7742773f,   0.4603549f,   0.1169132f,   0.0621896f,
    0.5940259f,   0.5914681f,   0.4394770f,   0.2279776f,
    0.2424894f,   0.5659803f,   0.5648066f,   0.4951982f,
    0.5773947f,   0.2484205f,   0.6670044f,   0.2593132f,
    0.9295383f,   0.2084896f,   0.1697136f,   0.1662293f,
    0.5284109f,   0.4850199f,   0.4179306f,   0.5341725f,
    0.5046524f,   0.3401957f,   0.5514884f,   0.5382623f,
    0.2758891f,   0.1518727f,   0.6583195f,   0.5768060f,
    0.1783466f,   0.3452303f,   0.5827488f,   0.6721577f,
    0.3645189f,   0.5012657f,   0.6931207f,   0.2671610f,
    0.4139961f,   0.6682788f,   0.4326411f,   0.4004867f,
    0.1617602f,   0.8647654f,   0.3020888f,   0.2133654f,
    0.3137825f,   0.3432938f,   0.7035535f,   0.4934421f,
    0.4418455f,   0.4953783f,   0.5813250f,   0.4439323f,
    0.0929112f,   0.4318886f,   0.5362644f,   0.6310444f
};
/* 5-bit TD WB BWE temporal shaping codebook */
const float HBCB_SubGain5bit[128] =
{
+0 −1
Original line number Diff line number Diff line
@@ -530,7 +530,6 @@ extern const float wb_bwe_lsfvq_cbook_8bit[];
extern const float lbr_wb_bwe_lsfvq_cbook_2bit[];
extern const float swb_tbe_lsfvq_cbook_8b[];
extern const float SHBCB_SubGain5bit[]; /* 5 bit Quantizer table for SHB gain shapes */
extern const float SHBCB_SubGain5bit_Linear[];
extern const float HBCB_SubGain5bit[];  /* 5-bit TD WB BWE temporal shaping codebook */
extern const float SHBCB_FrameGain64[]; /* 6 bit Quantizer table for SHB overall gain */
extern const float SHBCB_FrameGain16[];
Loading