shithub: opus

Download patch

ref: 447934a8ca27ef5a576cbf5ac48656e8a076cf8d
parent: 82bec7d2a6a78aaad7e8cb5bf4056dc249a7d040
author: Ralph Giles <giles@thaumas.net>
date: Thu Apr 17 11:27:08 EDT 2025

Remove trailing empty lines from source files

General whitespace cleanup to conform to git's standard.

Signed-off-by: Jean-Marc Valin <jeanmarcv@google.com>

--- a/celt/bands.c
+++ b/celt/bands.c
@@ -1694,4 +1694,3 @@
 
    RESTORE_STACK;
 }
-
--- a/celt/opus_custom_demo.c
+++ b/celt/opus_custom_demo.c
@@ -448,4 +448,3 @@
    if (fbytes) free(fbytes);
    return ret;
 }
-
--- a/celt/os_support.h
+++ b/celt/os_support.h
@@ -96,4 +96,3 @@
 #endif*/
 
 #endif /* OS_SUPPORT_H */
-
--- a/celt/rate.c
+++ b/celt/rate.c
@@ -643,4 +643,3 @@
    RESTORE_STACK;
    return codedBands;
 }
-
--- a/configure.ac
+++ b/configure.ac
@@ -1088,4 +1088,3 @@
  Type "make; make install" to compile and install
  Type "make check" to run the test suite
 ])
-
--- a/silk/MacroCount.h
+++ b/silk/MacroCount.h
@@ -707,4 +707,3 @@
 
 #endif
 #endif
-
--- a/silk/NLSF2A.c
+++ b/silk/NLSF2A.c
@@ -138,4 +138,3 @@
         }
     }
 }
-
--- a/silk/NLSF_unpack.c
+++ b/silk/NLSF_unpack.c
@@ -52,4 +52,3 @@
         pred_Q8[ i + 1 ] = psNLSF_CB->pred_Q8[ i + ( silk_RSHIFT( entry, 4 ) & 1 ) * ( psNLSF_CB->order - 1 ) + 1 ];
     }
 }
-
--- a/silk/PLC.h
+++ b/silk/PLC.h
@@ -62,4 +62,3 @@
 );
 
 #endif
-
--- a/silk/bwexpander_32.c
+++ b/silk/bwexpander_32.c
@@ -48,4 +48,3 @@
     }
     ar[ d - 1 ] = silk_SMULWW( chirp_Q16, ar[ d - 1 ] );
 }
-
--- a/silk/debug.c
+++ b/silk/debug.c
@@ -171,4 +171,3 @@
 FILE *silk_debug_store_fp[ silk_NUM_STORES_MAX ];
 int silk_debug_store_count = 0;
 #endif /* SILK_DEBUG */
-
--- a/silk/decoder_set_fs.c
+++ b/silk/decoder_set_fs.c
@@ -105,4 +105,3 @@
 
     return ret;
 }
-
--- a/silk/enc_API.c
+++ b/silk/enc_API.c
@@ -590,4 +590,3 @@
     RESTORE_STACK;
     return ret;
 }
-
--- a/silk/fixed/LTP_analysis_filter_FIX.c
+++ b/silk/fixed/LTP_analysis_filter_FIX.c
@@ -87,4 +87,3 @@
         x_ptr       += subfr_length;
     }
 }
-
--- a/silk/fixed/corrMatrix_FIX.c
+++ b/silk/fixed/corrMatrix_FIX.c
@@ -147,4 +147,3 @@
         }
     }
 }
-
--- a/silk/float/LPC_analysis_filter_FLP.c
+++ b/silk/float/LPC_analysis_filter_FLP.c
@@ -246,4 +246,3 @@
     /* Set first Order output samples to zero */
     silk_memset( r_LPC, 0, Order * sizeof( silk_float ) );
 }
-
--- a/silk/float/find_pred_coefs_FLP.c
+++ b/silk/float/find_pred_coefs_FLP.c
@@ -114,4 +114,3 @@
     /* Copy to prediction struct for use in next frame for interpolation */
     silk_memcpy( psEnc->sCmn.prev_NLSFq_Q15, NLSF_Q15, sizeof( psEnc->sCmn.prev_NLSFq_Q15 ) );
 }
-
--- a/silk/init_decoder.c
+++ b/silk/init_decoder.c
@@ -81,4 +81,3 @@
 
     return(0);
 }
-
--- a/silk/lin2log.c
+++ b/silk/lin2log.c
@@ -43,4 +43,3 @@
     /* Piece-wise parabolic approximation */
     return silk_ADD_LSHIFT32( silk_SMLAWB( frac_Q7, silk_MUL( frac_Q7, 128 - frac_Q7 ), 179 ), 31 - lz, 7 );
 }
-
--- a/silk/macros.h
+++ b/silk/macros.h
@@ -152,4 +152,3 @@
 #endif
 
 #endif /* SILK_MACROS_H */
-
--- a/silk/pitch_est_defines.h
+++ b/silk/pitch_est_defines.h
@@ -85,4 +85,3 @@
 extern const opus_int8 silk_Lag_range_stage3_10_ms[ PE_MAX_NB_SUBFR >> 1 ][ 2 ];
 
 #endif
-
--- a/silk/resampler_down2.c
+++ b/silk/resampler_down2.c
@@ -71,4 +71,3 @@
         out[ k ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( out32, 11 ) );
     }
 }
-
--- a/silk/resampler_private_AR2.c
+++ b/silk/resampler_private_AR2.c
@@ -52,4 +52,3 @@
         S[ 1 ]      = silk_SMULWB( out32, A_Q14[ 1 ] );
     }
 }
-
--- a/silk/resampler_structs.h
+++ b/silk/resampler_structs.h
@@ -57,4 +57,3 @@
 }
 #endif
 #endif /* SILK_RESAMPLER_STRUCTS_H */
-
--- a/silk/sigm_Q15.c
+++ b/silk/sigm_Q15.c
@@ -73,4 +73,3 @@
         }
     }
 }
-
--- a/silk/sum_sqr_shift.c
+++ b/silk/sum_sqr_shift.c
@@ -80,4 +80,3 @@
     *shift  = shft;
     *energy = nrg;
 }
-
--- a/silk/tables_NLSF_CB_WB.c
+++ b/silk/tables_NLSF_CB_WB.c
@@ -231,4 +231,3 @@
     silk_NLSF_CB2_BITS_WB_Q5,
     silk_NLSF_DELTA_MIN_WB_Q15,
 };
-
--- a/silk/tables_other.c
+++ b/silk/tables_other.c
@@ -121,4 +121,3 @@
 #ifdef __cplusplus
 }
 #endif
-
--- a/silk/tables_pitch_lag.c
+++ b/silk/tables_pitch_lag.c
@@ -65,5 +65,3 @@
 const opus_uint8 silk_pitch_contour_10_ms_NB_iCDF[3] = {
        113,     63,      0
 };
-
-
--- a/src/mlp.c
+++ b/src/mlp.c
@@ -129,4 +129,3 @@
    for (i=0;i<N;i++)
       state[i] = h[i];
 }
-
--- a/src/mlp_data.c
+++ b/src/mlp_data.c
@@ -669,4 +669,3 @@
    layer2_weights,
    24, 2, 1
 };
-
--- a/src/opus.c
+++ b/src/opus.c
@@ -389,4 +389,3 @@
    return opus_packet_parse_impl(data, len, 0, out_toc,
                                  frames, size, payload_offset, NULL, NULL, NULL);
 }
-
--- a/src/opus_multistream.c
+++ b/src/opus_multistream.c
@@ -89,4 +89,3 @@
    }
    return -1;
 }
-
--- a/src/opus_projection_decoder.c
+++ b/src/opus_projection_decoder.c
@@ -280,4 +280,3 @@
 {
   opus_free(st);
 }
-
--- a/src/opus_projection_encoder.c
+++ b/src/opus_projection_encoder.c
@@ -519,4 +519,3 @@
   va_end(ap);
   return OPUS_BAD_ARG;
 }
-
--- a/src/repacketizer.c
+++ b/src/repacketizer.c
@@ -466,4 +466,3 @@
    }
    return dst_len;
 }
-
--- a/tests/test_opus_projection.c
+++ b/tests/test_opus_projection.c
@@ -381,4 +381,3 @@
   fprintf(stderr, "All projection tests passed.\n");
   return 0;
 }
-
--- a/training/rnn_train.py
+++ b/training/rnn_train.py
@@ -174,4 +174,3 @@
           batch_size=batch_size,
           epochs=206, initial_epoch=205, validation_data=(x_train, y_train))
 model.save("newweights10a1c_ep206.hdf5")
-
--