Loading lib_com/bitstream.c +28 −0 Original line number Diff line number Diff line Loading @@ -791,7 +791,11 @@ int16_t get_ivas_max_num_indices_metadata( /* o } else if ( ivas_total_brate <= IVAS_32k ) { #ifdef FIX_502_IND_LIST_SIZE return 125; #else return 110; #endif } else if ( ivas_total_brate <= IVAS_48k ) { Loading @@ -799,23 +803,43 @@ int16_t get_ivas_max_num_indices_metadata( /* o } else if ( ivas_total_brate <= IVAS_96k ) { #ifdef FIX_502_IND_LIST_SIZE return 240; #else return 200; #endif } else if ( ivas_total_brate <= IVAS_128k ) { #ifdef FIX_502_IND_LIST_SIZE return 305; #else return 250; #endif } else if ( ivas_total_brate <= IVAS_160k ) { #ifdef FIX_502_IND_LIST_SIZE return 425; #else return 320; #endif } else if ( ivas_total_brate <= IVAS_192k ) { #ifdef FIX_502_IND_LIST_SIZE return 630; #else return 430; #endif } else if ( ivas_total_brate <= IVAS_256k ) { #ifdef FIX_502_IND_LIST_SIZE return 850; #else return 600; #endif } else if ( ivas_total_brate <= IVAS_384k ) { Loading @@ -823,7 +847,11 @@ int16_t get_ivas_max_num_indices_metadata( /* o } else { #ifdef FIX_502_IND_LIST_SIZE return 1750; #else return 1500; #endif } } else if ( ivas_format == MC_FORMAT ) Loading lib_com/options.h +2 −0 Original line number Diff line number Diff line Loading @@ -208,6 +208,8 @@ #define FIX_485_STATIC_BUFFERS /* FhG: move static buffers in DirAC parameter estimator to the DirAC struct */ #define FIX_502_IND_LIST_SIZE /* Fix issue #502: insufficient index buffer sizes */ /* ################## End DEVELOPMENT switches ######################### */ /* clang-format on */ Loading Loading
lib_com/bitstream.c +28 −0 Original line number Diff line number Diff line Loading @@ -791,7 +791,11 @@ int16_t get_ivas_max_num_indices_metadata( /* o } else if ( ivas_total_brate <= IVAS_32k ) { #ifdef FIX_502_IND_LIST_SIZE return 125; #else return 110; #endif } else if ( ivas_total_brate <= IVAS_48k ) { Loading @@ -799,23 +803,43 @@ int16_t get_ivas_max_num_indices_metadata( /* o } else if ( ivas_total_brate <= IVAS_96k ) { #ifdef FIX_502_IND_LIST_SIZE return 240; #else return 200; #endif } else if ( ivas_total_brate <= IVAS_128k ) { #ifdef FIX_502_IND_LIST_SIZE return 305; #else return 250; #endif } else if ( ivas_total_brate <= IVAS_160k ) { #ifdef FIX_502_IND_LIST_SIZE return 425; #else return 320; #endif } else if ( ivas_total_brate <= IVAS_192k ) { #ifdef FIX_502_IND_LIST_SIZE return 630; #else return 430; #endif } else if ( ivas_total_brate <= IVAS_256k ) { #ifdef FIX_502_IND_LIST_SIZE return 850; #else return 600; #endif } else if ( ivas_total_brate <= IVAS_384k ) { Loading @@ -823,7 +847,11 @@ int16_t get_ivas_max_num_indices_metadata( /* o } else { #ifdef FIX_502_IND_LIST_SIZE return 1750; #else return 1500; #endif } } else if ( ivas_format == MC_FORMAT ) Loading
lib_com/options.h +2 −0 Original line number Diff line number Diff line Loading @@ -208,6 +208,8 @@ #define FIX_485_STATIC_BUFFERS /* FhG: move static buffers in DirAC parameter estimator to the DirAC struct */ #define FIX_502_IND_LIST_SIZE /* Fix issue #502: insufficient index buffer sizes */ /* ################## End DEVELOPMENT switches ######################### */ /* clang-format on */ Loading