Added licence boilerplate to our MATLAB files.
The command
tools/checklicenses/checklicenses.py --ignore-suppressions ./webrtc
previously produced this output:
'webrtc/modules/audio_processing/test/apmtest.m' has non-whitelisted license 'UNKNOWN'
'webrtc/modules/audio_processing/transient/test/readDetection.m' has non-whitelisted license 'UNKNOWN'
'webrtc/modules/audio_processing/transient/test/readPCM.m' has non-whitelisted license 'UNKNOWN'
...
This CL adds the WebRTC licence with appropriate year to all our
MATLAB files. All these files were contributed by WebRTC project
members hlundin@, pbos@, niklase@.
BUG=chromium:98592
NOTRY=True
Review-Url: https://codereview.webrtc.org/2781663005
Cr-Commit-Position: refs/heads/master@{#17428}
diff --git a/webrtc/modules/audio_coding/codecs/ilbc/complexityMeasures.m b/webrtc/modules/audio_coding/codecs/ilbc/complexityMeasures.m
index f768194..5c39e36 100644
--- a/webrtc/modules/audio_coding/codecs/ilbc/complexityMeasures.m
+++ b/webrtc/modules/audio_coding/codecs/ilbc/complexityMeasures.m
@@ -1,3 +1,13 @@
+%
+% Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
+%
+% Use of this source code is governed by a BSD-style license
+% that can be found in the LICENSE file in the root of the source
+% tree. An additional intellectual property rights grant can be found
+% in the file PATENTS. All contributing project authors may
+% be found in the AUTHORS file in the root of the source tree.
+%
+
clear;
pack;
%
diff --git a/webrtc/modules/audio_coding/neteq/test/delay_tool/parse_delay_file.m b/webrtc/modules/audio_coding/neteq/test/delay_tool/parse_delay_file.m
index 77b394f..031d8a3 100644
--- a/webrtc/modules/audio_coding/neteq/test/delay_tool/parse_delay_file.m
+++ b/webrtc/modules/audio_coding/neteq/test/delay_tool/parse_delay_file.m
@@ -1,3 +1,13 @@
+%
+% Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
+%
+% Use of this source code is governed by a BSD-style license
+% that can be found in the LICENSE file in the root of the source
+% tree. An additional intellectual property rights grant can be found
+% in the file PATENTS. All contributing project authors may
+% be found in the AUTHORS file in the root of the source tree.
+%
+
function outStruct = parse_delay_file(file)
fid = fopen(file, 'rb');
diff --git a/webrtc/modules/audio_coding/neteq/test/delay_tool/plot_neteq_delay.m b/webrtc/modules/audio_coding/neteq/test/delay_tool/plot_neteq_delay.m
index bc1c85a..86d533f 100644
--- a/webrtc/modules/audio_coding/neteq/test/delay_tool/plot_neteq_delay.m
+++ b/webrtc/modules/audio_coding/neteq/test/delay_tool/plot_neteq_delay.m
@@ -1,3 +1,13 @@
+%
+% Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
+%
+% Use of this source code is governed by a BSD-style license
+% that can be found in the LICENSE file in the root of the source
+% tree. An additional intellectual property rights grant can be found
+% in the file PATENTS. All contributing project authors may
+% be found in the AUTHORS file in the root of the source tree.
+%
+
function [delay_struct, delayvalues] = plot_neteq_delay(delayfile, varargin)
% InfoStruct = plot_neteq_delay(delayfile)
diff --git a/webrtc/modules/audio_processing/test/apmtest.m b/webrtc/modules/audio_processing/test/apmtest.m
index 3172cd1..1c8183c 100644
--- a/webrtc/modules/audio_processing/test/apmtest.m
+++ b/webrtc/modules/audio_processing/test/apmtest.m
@@ -1,3 +1,13 @@
+%
+% Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
+%
+% Use of this source code is governed by a BSD-style license
+% that can be found in the LICENSE file in the root of the source
+% tree. An additional intellectual property rights grant can be found
+% in the file PATENTS. All contributing project authors may
+% be found in the AUTHORS file in the root of the source tree.
+%
+
function apmtest(task, testname, filepath, casenumber, legacy)
%APMTEST is a tool to process APM file sets and easily display the output.
% APMTEST(TASK, TESTNAME, CASENUMBER) performs one of several TASKs:
diff --git a/webrtc/modules/audio_processing/transient/test/plotDetection.m b/webrtc/modules/audio_processing/transient/test/plotDetection.m
index f81ad50..8e12ab9 100644
--- a/webrtc/modules/audio_processing/transient/test/plotDetection.m
+++ b/webrtc/modules/audio_processing/transient/test/plotDetection.m
@@ -1,3 +1,13 @@
+%
+% Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
+%
+% Use of this source code is governed by a BSD-style license
+% that can be found in the LICENSE file in the root of the source
+% tree. An additional intellectual property rights grant can be found
+% in the file PATENTS. All contributing project authors may
+% be found in the AUTHORS file in the root of the source tree.
+%
+
function [] = plotDetection(PCMfile, DATfile, fs, chunkSize)
%[] = plotDetection(PCMfile, DATfile, fs, chunkSize)
%
diff --git a/webrtc/modules/audio_processing/transient/test/readDetection.m b/webrtc/modules/audio_processing/transient/test/readDetection.m
index 1a9e8a7..832bf31 100644
--- a/webrtc/modules/audio_processing/transient/test/readDetection.m
+++ b/webrtc/modules/audio_processing/transient/test/readDetection.m
@@ -1,3 +1,13 @@
+%
+% Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
+%
+% Use of this source code is governed by a BSD-style license
+% that can be found in the LICENSE file in the root of the source
+% tree. An additional intellectual property rights grant can be found
+% in the file PATENTS. All contributing project authors may
+% be found in the AUTHORS file in the root of the source tree.
+%
+
function [d, t] = readDetection(file, fs, chunkSize)
%[d, t] = readDetection(file, fs, chunkSize)
%
diff --git a/webrtc/modules/audio_processing/transient/test/readPCM.m b/webrtc/modules/audio_processing/transient/test/readPCM.m
index 47ccac3..cd3cef8 100644
--- a/webrtc/modules/audio_processing/transient/test/readPCM.m
+++ b/webrtc/modules/audio_processing/transient/test/readPCM.m
@@ -1,3 +1,13 @@
+%
+% Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
+%
+% Use of this source code is governed by a BSD-style license
+% that can be found in the LICENSE file in the root of the source
+% tree. An additional intellectual property rights grant can be found
+% in the file PATENTS. All contributing project authors may
+% be found in the AUTHORS file in the root of the source tree.
+%
+
function [x, t] = readPCM(file, fs)
%[x, t] = readPCM(file, fs)
%