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

Side by Side Diff: webrtc/modules/audio_coding/neteq/test/delay_tool/plot_neteq_delay.m

Issue 2781663005: Added licence boilerplate to our MATLAB files. (Closed)
Patch Set: Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 %
2 % Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
hlundin-webrtc 2017/03/28 12:01:14 2011 See https://chromium.googlesource.com/externa
3 %
4 % Use of this source code is governed by a BSD-style license
5 % that can be found in the LICENSE file in the root of the source
6 % tree. An additional intellectual property rights grant can be found
7 % in the file PATENTS. All contributing project authors may
8 % be found in the AUTHORS file in the root of the source tree.
9 %
10
1 function [delay_struct, delayvalues] = plot_neteq_delay(delayfile, varargin) 11 function [delay_struct, delayvalues] = plot_neteq_delay(delayfile, varargin)
2 12
3 % InfoStruct = plot_neteq_delay(delayfile) 13 % InfoStruct = plot_neteq_delay(delayfile)
4 % InfoStruct = plot_neteq_delay(delayfile, 'skipdelay', skip_seconds) 14 % InfoStruct = plot_neteq_delay(delayfile, 'skipdelay', skip_seconds)
5 % 15 %
6 % Henrik Lundin, 2006-11-17 16 % Henrik Lundin, 2006-11-17
7 % Henrik Lundin, 2011-05-17 17 % Henrik Lundin, 2011-05-17
8 % 18 %
9 19
10 try 20 try
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 % positive jump 188 % positive jump
179 x(n+1:end)=x(n+1:end)-65536; 189 x(n+1:end)=x(n+1:end)-65536;
180 end 190 end
181 191
182 jumps=find(abs((diff(x(n+1:end))-1))>65000); 192 jumps=find(abs((diff(x(n+1:end))-1))>65000);
183 end 193 end
184 194
185 y=x; 195 y=x;
186 196
187 return; 197 return;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698