summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorangiebird <angiebird@google.com>2020-03-13 17:25:49 -0700
committerangiebird <angiebird@google.com>2020-03-16 11:59:49 -0700
commitf81bdda8dd737febcd16f8f2bafdea41189678a2 (patch)
treef06003554ce3f5acc82d8f639f0dc7670c7c1aff /tools
parent34f3fe951254c85abd848441c3cc87bd5e24413b (diff)
downloadlibvpx-f81bdda8dd737febcd16f8f2bafdea41189678a2.tar.gz
libvpx-f81bdda8dd737febcd16f8f2bafdea41189678a2.tar.bz2
libvpx-f81bdda8dd737febcd16f8f2bafdea41189678a2.zip
Add missing Copyright to python files
BUG=webm:1655,webm:1654 Change-Id: I2063c59218e082f40958dddbdcb1c105d5440199
Diffstat (limited to 'tools')
-rw-r--r--tools/3D-Reconstruction/MotionEST/Anandan.py10
-rw-r--r--tools/3D-Reconstruction/MotionEST/Exhaust.py10
-rw-r--r--tools/3D-Reconstruction/MotionEST/GroundTruth.py10
-rw-r--r--tools/3D-Reconstruction/MotionEST/HornSchunck.py10
-rw-r--r--tools/3D-Reconstruction/MotionEST/MotionEST.py10
-rw-r--r--tools/3D-Reconstruction/MotionEST/SearchSmooth.py10
-rw-r--r--tools/3D-Reconstruction/MotionEST/Util.py10
-rw-r--r--tools/3D-Reconstruction/genY4M/genY4M.py9
-rw-r--r--tools/non_greedy_mv/non_greedy_mv.py9
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