/dports/games/flightgear/flightgear-2020.3.11/3rdparty/iaxclient/lib/gsm/src/ |
H A D | long_term.c | 95 L_max = 0; 112 L_max = L_max >> (6 - scal); /* sub(6, scal) */ 205 L_max = 0; 250 L_max = L_max >> (6 - scal); /* sub(6, scal) */ 412 if (S0 > L_max) { L_max = S0; Nc = lambda; } 413 if (S1 > L_max) { L_max = S1; Nc = lambda + 1; } 414 if (S2 > L_max) { L_max = S2; Nc = lambda + 2; } 415 if (S3 > L_max) { L_max = S3; Nc = lambda + 3; } 416 if (S4 > L_max) { L_max = S4; Nc = lambda + 4; } 430 L_max = L_max >> (6 - scal); /* sub(6, scal) */ [all …]
|
/dports/net/h323plus/h323plus-1_27_2/plugins/audio/GSM0610/src/ |
H A D | long_term.c | 94 L_max = 0; 111 L_max = L_max >> (6 - scal); /* sub(6, scal) */ 201 L_max = 0; 246 L_max = L_max >> (6 - scal); /* sub(6, scal) */ 408 if (S0 > L_max) { L_max = S0; Nc = lambda; } 409 if (S1 > L_max) { L_max = S1; Nc = lambda + 1; } 410 if (S2 > L_max) { L_max = S2; Nc = lambda + 2; } 411 if (S3 > L_max) { L_max = S3; Nc = lambda + 3; } 412 if (S4 > L_max) { L_max = S4; Nc = lambda + 4; } 426 L_max = L_max >> (6 - scal); /* sub(6, scal) */ [all …]
|
/dports/multimedia/libxine/xine-lib-1.2.11/contrib/gsm610/ |
H A D | long_term.c | 98 L_max = 0; 115 L_max = L_max >> (6 - scal); /* sub(6, scal) */ 205 L_max = 0; 250 L_max = L_max >> (6 - scal); /* sub(6, scal) */ 414 if (S0 > L_max) { L_max = S0; Nc = lambda; } 415 if (S1 > L_max) { L_max = S1; Nc = lambda + 1; } 416 if (S2 > L_max) { L_max = S2; Nc = lambda + 2; } 417 if (S3 > L_max) { L_max = S3; Nc = lambda + 3; } 418 if (S4 > L_max) { L_max = S4; Nc = lambda + 4; } 433 L_max = L_max >> (6 - scal); /* sub(6, scal) */ [all …]
|
/dports/audio/libsndfile/libsndfile-1.0.31/src/GSM610/ |
H A D | long_term.c | 87 L_max = 0 ; in Cut_Calculation_of_the_LTP_parameters() 104 L_max = L_max >> (6 - scal) ; /* sub (6, scal) */ in Cut_Calculation_of_the_LTP_parameters() 191 L_max = 0 ; in Calculation_of_the_LTP_parameters() 236 L_max = L_max >> (6 - scal) ; /* sub (6, scal) */ in Calculation_of_the_LTP_parameters() 399 if (S0 > L_max) { L_max = S0 ; Nc = lambda ; } in Cut_Calculation_of_the_LTP_parameters() 400 if (S1 > L_max) { L_max = S1 ; Nc = lambda + 1 ; } in Cut_Calculation_of_the_LTP_parameters() 401 if (S2 > L_max) { L_max = S2 ; Nc = lambda + 2 ; } in Cut_Calculation_of_the_LTP_parameters() 417 L_max = L_max >> (6 - scal) ; /* sub (6, scal) */ in Cut_Calculation_of_the_LTP_parameters() 569 if (S0 > L_max) { L_max = S0 ; Nc = lambda ; } in Calculation_of_the_LTP_parameters() 586 L_max = L_max >> (6 - scal) ; /* sub (6, scal) */ in Calculation_of_the_LTP_parameters() [all …]
|
/dports/audio/lmms/lmms-1.2.2/plugins/LadspaEffect/swh/gsm/ |
H A D | long_term.c | 93 L_max = 0; 110 L_max = L_max >> (6 - scal); /* sub(6, scal) */ 200 L_max = 0; 245 L_max = L_max >> (6 - scal); /* sub(6, scal) */ 407 if (S0 > L_max) { L_max = S0; Nc = lambda; } 408 if (S1 > L_max) { L_max = S1; Nc = lambda + 1; } 409 if (S2 > L_max) { L_max = S2; Nc = lambda + 2; } 410 if (S3 > L_max) { L_max = S3; Nc = lambda + 3; } 411 if (S4 > L_max) { L_max = S4; Nc = lambda + 4; } 425 L_max = L_max >> (6 - scal); /* sub(6, scal) */ [all …]
|
/dports/audio/gsm/gsm-1.0-pl19/src/ |
H A D | long_term.c | 93 L_max = 0; 110 L_max = L_max >> (6 - scal); /* sub(6, scal) */ 200 L_max = 0; 245 L_max = L_max >> (6 - scal); /* sub(6, scal) */ 407 if (S0 > L_max) { L_max = S0; Nc = lambda; } 408 if (S1 > L_max) { L_max = S1; Nc = lambda + 1; } 409 if (S2 > L_max) { L_max = S2; Nc = lambda + 2; } 410 if (S3 > L_max) { L_max = S3; Nc = lambda + 3; } 411 if (S4 > L_max) { L_max = S4; Nc = lambda + 4; } 425 L_max = L_max >> (6 - scal); /* sub(6, scal) */ [all …]
|
/dports/comms/mgetty+sendfax/mgetty-1.1.37/voice/libmgsm/ |
H A D | long_term.c | 93 L_max = 0; 110 L_max = L_max >> (6 - scal); /* sub(6, scal) */ 200 L_max = 0; 245 L_max = L_max >> (6 - scal); /* sub(6, scal) */ 407 if (S0 > L_max) { L_max = S0; Nc = lambda; } 408 if (S1 > L_max) { L_max = S1; Nc = lambda + 1; } 409 if (S2 > L_max) { L_max = S2; Nc = lambda + 2; } 410 if (S3 > L_max) { L_max = S3; Nc = lambda + 3; } 411 if (S4 > L_max) { L_max = S4; Nc = lambda + 4; } 425 L_max = L_max >> (6 - scal); /* sub(6, scal) */ [all …]
|
/dports/net/pjsip/pjproject-2.11.1/third_party/gsm/src/ |
H A D | long_term.c | 94 L_max = 0; 111 L_max = L_max >> (6 - scal); /* sub(6, scal) */ 201 L_max = 0; 246 L_max = L_max >> (6 - scal); /* sub(6, scal) */ 408 if (S0 > L_max) { L_max = S0; Nc = lambda; } 409 if (S1 > L_max) { L_max = S1; Nc = lambda + 1; } 410 if (S2 > L_max) { L_max = S2; Nc = lambda + 2; } 411 if (S3 > L_max) { L_max = S3; Nc = lambda + 3; } 412 if (S4 > L_max) { L_max = S4; Nc = lambda + 4; } 426 L_max = L_max >> (6 - scal); /* sub(6, scal) */ [all …]
|
/dports/net/opal/opal-3.10.10/plugins/audio/GSM0610/src/ |
H A D | long_term.c | 94 L_max = 0; 111 L_max = L_max >> (6 - scal); /* sub(6, scal) */ 201 L_max = 0; 246 L_max = L_max >> (6 - scal); /* sub(6, scal) */ 408 if (S0 > L_max) { L_max = S0; Nc = lambda; } 409 if (S1 > L_max) { L_max = S1; Nc = lambda + 1; } 410 if (S2 > L_max) { L_max = S2; Nc = lambda + 2; } 411 if (S3 > L_max) { L_max = S3; Nc = lambda + 3; } 412 if (S4 > L_max) { L_max = S4; Nc = lambda + 4; } 426 L_max = L_max >> (6 - scal); /* sub(6, scal) */ [all …]
|
/dports/audio/sox/sox-14.4.2/libgsm/ |
H A D | long_term.c | 92 L_max = 0; in Cut_Calculation_of_the_LTP_parameters() 109 L_max = L_max >> (6 - scal); /* sub(6, scal) */ in Cut_Calculation_of_the_LTP_parameters() 199 L_max = 0; in Calculation_of_the_LTP_parameters() 244 L_max = L_max >> (6 - scal); /* sub(6, scal) */ in Calculation_of_the_LTP_parameters() 406 if (S0 > L_max) { L_max = S0; Nc = lambda; } in Cut_Calculation_of_the_LTP_parameters() 407 if (S1 > L_max) { L_max = S1; Nc = lambda + 1; } in Cut_Calculation_of_the_LTP_parameters() 408 if (S2 > L_max) { L_max = S2; Nc = lambda + 2; } in Cut_Calculation_of_the_LTP_parameters() 409 if (S3 > L_max) { L_max = S3; Nc = lambda + 3; } in Cut_Calculation_of_the_LTP_parameters() 410 if (S4 > L_max) { L_max = S4; Nc = lambda + 4; } in Cut_Calculation_of_the_LTP_parameters() 424 L_max = L_max >> (6 - scal); /* sub(6, scal) */ in Cut_Calculation_of_the_LTP_parameters() [all …]
|
/dports/audio/swh-lv2/lv2-1.0.16-4-g1aa77e5/util/gsm/ |
H A D | long_term.c | 93 L_max = 0; 110 L_max = L_max >> (6 - scal); /* sub(6, scal) */ 200 L_max = 0; 245 L_max = L_max >> (6 - scal); /* sub(6, scal) */ 407 if (S0 > L_max) { L_max = S0; Nc = lambda; } 408 if (S1 > L_max) { L_max = S1; Nc = lambda + 1; } 409 if (S2 > L_max) { L_max = S2; Nc = lambda + 2; } 410 if (S3 > L_max) { L_max = S3; Nc = lambda + 3; } 411 if (S4 > L_max) { L_max = S4; Nc = lambda + 4; } 425 L_max = L_max >> (6 - scal); /* sub(6, scal) */ [all …]
|
/dports/audio/swhplugins/ladspa-0.4.17/gsm/ |
H A D | long_term.c | 93 L_max = 0; 110 L_max = L_max >> (6 - scal); /* sub(6, scal) */ 200 L_max = 0; 245 L_max = L_max >> (6 - scal); /* sub(6, scal) */ 407 if (S0 > L_max) { L_max = S0; Nc = lambda; } 408 if (S1 > L_max) { L_max = S1; Nc = lambda + 1; } 409 if (S2 > L_max) { L_max = S2; Nc = lambda + 2; } 410 if (S3 > L_max) { L_max = S3; Nc = lambda + 3; } 411 if (S4 > L_max) { L_max = S4; Nc = lambda + 4; } 425 L_max = L_max >> (6 - scal); /* sub(6, scal) */ [all …]
|
/dports/graphics/luminance-qt5/luminance-hdr-2.6.1.1/src/TonemappingOperators/mantiuk08/ |
H A D | display_function.cpp | 49 DisplayFunctionGGBA::DisplayFunctionGGBA(float gamma, float L_max, in DisplayFunctionGGBA() argument 52 init(gamma, L_max, L_black, E_amb, screen_refl); in DisplayFunctionGGBA() 55 void DisplayFunctionGGBA::init(float gamma, float L_max, float L_black, in init() argument 58 this->L_max = L_max; in init() 86 (double)L_max, (double)L_black); in print() 93 if (L > (L_offset + L_max)) L = L_offset + L_max; in inv_display() 94 return pow_F((L - L_offset) / (L_max - L_black), 1 / gamma); in inv_display() 99 return pow(pix, gamma) * (L_max - L_black) + L_offset; in display() 106 const vfloat vmax = F2V(L_max); in inv_display() 115 (F2V(L_max) - F2V(L_black)) + in display()
|
H A D | display_function.h | 67 float gamma, L_max, L_offset, L_black, E_amb, screen_refl; variable 70 DisplayFunctionGGBA(float gamma, float L_max, float L_black, float E_amb, 85 void init(float gamma, float L_max, float L_black, float E_amb,
|
/dports/graphics/pfstools/pfstools-2.1.0/src/tmo/mantiuk08/ |
H A D | display_function.cpp | 47 DisplayFunctionGGBA::DisplayFunctionGGBA( float gamma, float L_max, float L_black, float E_amb, flo… in DisplayFunctionGGBA() argument 49 init( gamma, L_max, L_black, E_amb, screen_refl ); in DisplayFunctionGGBA() 52 void DisplayFunctionGGBA::init( float gamma, float L_max, float L_black, float E_amb, float screen_… in init() argument 55 this->L_max = L_max; in init() 80 …fprintf( fh, " gamma = %g\t L_max = %g\t L_black = %g\n", (double)gamma, (double)L_max, (double)… in print() 87 if( L > (L_offset+L_max) ) L = L_offset + L_max; in inv_display() 88 return powf( (L - L_offset)/(L_max-L_black), 1/gamma ); in inv_display() 94 return pow( pix, gamma ) * (L_max-L_black) + L_offset; in display() 187 float gamma = 2.2f, L_max = 100.f, L_black = 1.f, k = 0.01, E_amb = 50; in createDisplayFunctionFromArgs() local 203 L_max = strtod( token+2, NULL ); in createDisplayFunctionFromArgs() [all …]
|
H A D | display_function.h | 62 float gamma, L_max, L_offset, L_black, E_amb, screen_refl; variable 65 DisplayFunctionGGBA( float gamma, float L_max, float L_black, float E_amb, float screen_refl ); 73 void init( float gamma, float L_max, float L_black, float E_amb, float screen_refl );
|
/dports/graphics/pfstools/pfstools-2.1.0/src/filter/ |
H A D | display_function.cpp | 47 DisplayFunctionGGBA::DisplayFunctionGGBA( float gamma, float L_max, float L_black, float E_amb, flo… in DisplayFunctionGGBA() argument 49 init( gamma, L_max, L_black, E_amb, screen_refl ); in DisplayFunctionGGBA() 52 void DisplayFunctionGGBA::init( float gamma, float L_max, float L_black, float E_amb, float screen_… in init() argument 56 this->L_max = L_max; in init() 81 …fprintf( fh, " gamma = %g\t L_max = %g\t L_black = %g\n", (double)gamma, (double)L_max, (double)… in print() 88 if( L > (L_offset+L_max) ) L = L_offset + L_max; in inv_display() 89 return powf( (L - L_offset)/(L_max-L_black), 1/gamma ); in inv_display() 96 return pow( pix, gamma ) * (L_max-L_black) + L_offset; in display() 189 float gamma = 2.2f, L_max = 100.f, L_black = 1.f, k = 0.01, E_amb = 50; in createDisplayFunctionFromArgs() local 205 L_max = strtod( token+2, NULL ); in createDisplayFunctionFromArgs() [all …]
|
H A D | display_function.h | 62 float gamma, L_max, L_offset, L_black, E_amb, screen_refl; variable 65 DisplayFunctionGGBA( float gamma, float L_max, float L_black, float E_amb, float screen_refl ); 73 void init( float gamma, float L_max, float L_black, float E_amb, float screen_refl );
|
/dports/audio/vo-amrwbenc/vo-amrwbenc-0.1.3/amrwbenc/src/ |
H A D | cor_h_x.c | 45 Word32 L_max, L_max1, L_max2, L_max3; in cor_h_x() local 48 L_max = 0; in cor_h_x() 62 if(L_tmp > L_max) in cor_h_x() 64 L_max = L_tmp; in cor_h_x() 107 L_max = ((L_max + L_max1 + L_max2 + L_max3) >> 2); in cor_h_x() 108 L_tot = vo_L_add(L_tot, L_max); /* +max/4 */ in cor_h_x() 109 L_tot = vo_L_add(L_tot, (L_max >> 1)); /* +max/8 */ in cor_h_x()
|
/dports/net/iaxmodem/iaxmodem-1.2.0/lib/spandsp/src/ |
H A D | gsm0610_long_term.c | 171 int32_t L_max; in evaluate_ltp_parameters() local 220 L_max = gsm0610_max_cross_corr(wt, dp, &Nc); in evaluate_ltp_parameters() 222 L_max = 0; in evaluate_ltp_parameters() 270 if (L_result > L_max) in evaluate_ltp_parameters() 273 L_max = L_result; in evaluate_ltp_parameters() 281 L_max <<= 1; in evaluate_ltp_parameters() 285 L_max = L_max >> (6 - scale); in evaluate_ltp_parameters() 300 if (L_max <= 0) in evaluate_ltp_parameters() 303 if (L_max >= L_power) in evaluate_ltp_parameters() 308 R = (int16_t) ((L_max << temp) >> 16); in evaluate_ltp_parameters()
|
/dports/graphics/gmt/gmt-6.3.0/src/ |
H A D | sph2grd.c | 297 if (L > L_max) L_max = L; in GMT_sph2grd() 302 if (M_max > L_max) { in GMT_sph2grd() 310 if (L_max > L) { in GMT_sph2grd() 311 L_max = L; in GMT_sph2grd() 312 …sen high-cut bandpass filter sets effective L_max = %d and M_max = %d\n", L_max, MIN(L_max,M_max)); in GMT_sph2grd() 322 gmt_M_malloc2 (GMT, C, S, L_max + 1, NULL, double *); in GMT_sph2grd() 323 for (L = 0; L <= L_max; L++) gmt_M_malloc2 (GMT, C[L], S[L], L_max + 1, NULL, double); in GMT_sph2grd() 379 n_PLM = LM_index (L_max + 1, L_max + 1); /* Number of P_lm terms needed */ in GMT_sph2grd() 409 n_bytes += 2 * (L_max + 1) * (L_max + 1) * sizeof (double); /* C[] and S[] contents */ in GMT_sph2grd() 450 for (L = L_min; L <= L_max; L++) { /* For all degrees */ in GMT_sph2grd() [all …]
|
/dports/lang/squeak/Squeak-4.10.2.2614-src/Cross/plugins/SoundCodecPrims/ |
H A D | sqSoundCodecPluginBasicPrims.c | 1627 L_max = L_max >> (6 - scal); /* sub(6, scal) */ 1762 L_max = L_max >> (6 - scal); /* sub(6, scal) */ 1924 if (S0 > L_max) { L_max = S0; Nc = lambda; } 1925 if (S1 > L_max) { L_max = S1; Nc = lambda + 1; } 1926 if (S2 > L_max) { L_max = S2; Nc = lambda + 2; } 1927 if (S3 > L_max) { L_max = S3; Nc = lambda + 3; } 1928 if (S4 > L_max) { L_max = S4; Nc = lambda + 4; } 1929 if (S5 > L_max) { L_max = S5; Nc = lambda + 5; } 1930 if (S6 > L_max) { L_max = S6; Nc = lambda + 6; } 1942 L_max = L_max >> (6 - scal); /* sub(6, scal) */ [all …]
|
/dports/math/octave-forge-queueing/queueing/inst/ |
H A D | qncsgb.m | 133 L_max = max(L); variable 141 ##[X_minus X_plus] = [0 1/L_max]; 146 i = find(L<L_max); 147 bN = Z+L_tot+L_max*(N-1)-sum( (L_max-L(i)).*Q_lower_Nm1(i) ); 149 bN = Z+L_tot+L_max*(N-1)-sum( (L_max-L(i)).*Q_upper_Nm1(i) ); 174 L_max = max(L); variable 176 m_max = sum( L == L_max ); 179 ## maximum that is, L(i) < L_max 180 i=find(L<L_max); 181 y(i) = L(i)*N./(Z+L_tot+L_max*N); [all …]
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/spandsp/src/ |
H A D | gsm0610_long_term.c | 258 int32_t L_max; in evaluate_ltp_parameters() local 303 L_max = gsm0610_max_cross_corr(wt, dp, Nc_out); in evaluate_ltp_parameters() 304 L_max <<= 1; in evaluate_ltp_parameters() 308 L_max = L_max >> (6 - scale); in evaluate_ltp_parameters() 323 if (L_max <= 0) in evaluate_ltp_parameters() 326 if (L_max >= L_power) in evaluate_ltp_parameters() 331 R = (int16_t) ((L_max << temp) >> 16); in evaluate_ltp_parameters()
|
/dports/comms/spandsp/spandsp-284fe91/src/ |
H A D | gsm0610_long_term.c | 258 int32_t L_max; in evaluate_ltp_parameters() local 303 L_max = gsm0610_max_cross_corr(wt, dp, Nc_out); in evaluate_ltp_parameters() 304 L_max <<= 1; in evaluate_ltp_parameters() 308 L_max = L_max >> (6 - scale); in evaluate_ltp_parameters() 323 if (L_max <= 0) in evaluate_ltp_parameters() 326 if (L_max >= L_power) in evaluate_ltp_parameters() 331 R = (int16_t) ((L_max << temp) >> 16); in evaluate_ltp_parameters()
|