Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(296)

Unified Diff: third_party/opus/src/silk/float/pitch_analysis_core_FLP.c

Issue 2962373002: [Opus] Update to v1.2.1 (Closed)
Patch Set: Pre-increment instead of post-increment Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/opus/src/silk/float/pitch_analysis_core_FLP.c
diff --git a/third_party/opus/src/silk/float/pitch_analysis_core_FLP.c b/third_party/opus/src/silk/float/pitch_analysis_core_FLP.c
index d0e637a29dc95d5e63ade14d98f9e3f4ce7e0bd8..b37169378b1f525660fccef65f8a2fb431ecc809 100644
--- a/third_party/opus/src/silk/float/pitch_analysis_core_FLP.c
+++ b/third_party/opus/src/silk/float/pitch_analysis_core_FLP.c
@@ -159,7 +159,7 @@ opus_int silk_pitch_analysis_core_FLP( /* O Voicing estimate: 0 voiced,
/* Low-pass filter */
for( i = frame_length_4kHz - 1; i > 0; i-- ) {
- frame_4kHz[ i ] += frame_4kHz[ i - 1 ];
+ frame_4kHz[ i ] = silk_ADD_SAT16( frame_4kHz[ i ], frame_4kHz[ i - 1 ] );
}
/******************************************************************************
« no previous file with comments | « third_party/opus/src/silk/float/noise_shape_analysis_FLP.c ('k') | third_party/opus/src/silk/float/prefilter_FLP.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698