From f81bdda8dd737febcd16f8f2bafdea41189678a2 Mon Sep 17 00:00:00 2001 From: angiebird Date: Fri, 13 Mar 2020 17:25:49 -0700 Subject: [PATCH] Add missing Copyright to python files BUG=webm:1655,webm:1654 Change-Id: I2063c59218e082f40958dddbdcb1c105d5440199 --- tools/3D-Reconstruction/MotionEST/Anandan.py | 10 +++++++++- tools/3D-Reconstruction/MotionEST/Exhaust.py | 10 +++++++++- tools/3D-Reconstruction/MotionEST/GroundTruth.py | 10 +++++++++- tools/3D-Reconstruction/MotionEST/HornSchunck.py | 10 +++++++++- tools/3D-Reconstruction/MotionEST/MotionEST.py | 10 +++++++++- tools/3D-Reconstruction/MotionEST/SearchSmooth.py | 10 +++++++++- tools/3D-Reconstruction/MotionEST/Util.py | 10 +++++++++- tools/3D-Reconstruction/genY4M/genY4M.py | 9 +++++++++ tools/non_greedy_mv/non_greedy_mv.py | 9 +++++++++ 9 files changed, 81 insertions(+), 7 deletions(-) diff --git a/tools/3D-Reconstruction/MotionEST/Anandan.py b/tools/3D-Reconstruction/MotionEST/Anandan.py index b96cd9fd0..5ff9e9893 100644 --- a/tools/3D-Reconstruction/MotionEST/Anandan.py +++ b/tools/3D-Reconstruction/MotionEST/Anandan.py @@ -1,4 +1,12 @@ -#!/usr/bin/env python +## Copyright (c) 2020 The WebM 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. +## + # coding: utf-8 import numpy as np import numpy.linalg as LA diff --git a/tools/3D-Reconstruction/MotionEST/Exhaust.py b/tools/3D-Reconstruction/MotionEST/Exhaust.py index 97cfc41de..2d6a4d811 100644 --- a/tools/3D-Reconstruction/MotionEST/Exhaust.py +++ b/tools/3D-Reconstruction/MotionEST/Exhaust.py @@ -1,4 +1,12 @@ -#!/usr/bin/env python +## Copyright (c) 2020 The WebM 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. +## + # coding: utf-8 import numpy as np import numpy.linalg as LA diff --git a/tools/3D-Reconstruction/MotionEST/GroundTruth.py b/tools/3D-Reconstruction/MotionEST/GroundTruth.py index 20eb5f1eb..12bc53ff7 100644 --- a/tools/3D-Reconstruction/MotionEST/GroundTruth.py +++ b/tools/3D-Reconstruction/MotionEST/GroundTruth.py @@ -1,4 +1,12 @@ -#!/ usr / bin / env python +## Copyright (c) 2020 The WebM 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. +## + #coding : utf - 8 import numpy as np import numpy.linalg as LA diff --git a/tools/3D-Reconstruction/MotionEST/HornSchunck.py b/tools/3D-Reconstruction/MotionEST/HornSchunck.py index 38fcae1e7..976bd4a17 100644 --- a/tools/3D-Reconstruction/MotionEST/HornSchunck.py +++ b/tools/3D-Reconstruction/MotionEST/HornSchunck.py @@ -1,4 +1,12 @@ -#!/usr/bin/env python +## Copyright (c) 2020 The WebM 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. +## + # coding: utf-8 import numpy as np import numpy.linalg as LA diff --git a/tools/3D-Reconstruction/MotionEST/MotionEST.py b/tools/3D-Reconstruction/MotionEST/MotionEST.py index a9a4acedc..0959530fa 100644 --- a/tools/3D-Reconstruction/MotionEST/MotionEST.py +++ b/tools/3D-Reconstruction/MotionEST/MotionEST.py @@ -1,4 +1,12 @@ -#!/ usr / bin / env python +## Copyright (c) 2020 The WebM 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. +## + #coding : utf - 8 import numpy as np import numpy.linalg as LA diff --git a/tools/3D-Reconstruction/MotionEST/SearchSmooth.py b/tools/3D-Reconstruction/MotionEST/SearchSmooth.py index e0b7fb638..2dc6771ee 100644 --- a/tools/3D-Reconstruction/MotionEST/SearchSmooth.py +++ b/tools/3D-Reconstruction/MotionEST/SearchSmooth.py @@ -1,4 +1,12 @@ -#!/usr/bin/env python +## Copyright (c) 2020 The WebM 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. +## + # coding: utf-8 import numpy as np import numpy.linalg as LA diff --git a/tools/3D-Reconstruction/MotionEST/Util.py b/tools/3D-Reconstruction/MotionEST/Util.py index a5265f44e..551881cfd 100644 --- a/tools/3D-Reconstruction/MotionEST/Util.py +++ b/tools/3D-Reconstruction/MotionEST/Util.py @@ -1,4 +1,12 @@ -#!/usr/bin/env python +## Copyright (c) 2020 The WebM 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. +## + # coding: utf-8 import numpy as np import numpy.linalg as LA diff --git a/tools/3D-Reconstruction/genY4M/genY4M.py b/tools/3D-Reconstruction/genY4M/genY4M.py index 6ef5c6c8c..8028102f0 100644 --- a/tools/3D-Reconstruction/genY4M/genY4M.py +++ b/tools/3D-Reconstruction/genY4M/genY4M.py @@ -1,3 +1,12 @@ +## Copyright (c) 2020 The WebM 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. +## + import argparse from os import listdir, path from PIL import Image diff --git a/tools/non_greedy_mv/non_greedy_mv.py b/tools/non_greedy_mv/non_greedy_mv.py index 513faa435..a46b7e760 100644 --- a/tools/non_greedy_mv/non_greedy_mv.py +++ b/tools/non_greedy_mv/non_greedy_mv.py @@ -1,3 +1,12 @@ +## Copyright (c) 2020 The WebM 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. +## + import sys import matplotlib.pyplot as plt from matplotlib.collections import LineCollection -- 2.40.0