diff options
author | Frank Barchard <fbarchard@google.com> | 2020-05-27 23:23:51 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-05-28 18:58:37 +0000 |
commit | 8869628c24a31989427e2856203865b38383d848 (patch) | |
tree | f2a7a86ee0b0ac5ed00e1205f4f5b53e9e3587d6 | |
parent | 6efd8f2cf03d47efe9774884fdcc8652173c52ee (diff) | |
download | libyuv-8869628c24a31989427e2856203865b38383d848.tar.gz |
Remove unnecessary include of convert_argb
Bug: libyuv:861, b/156642185
Change-Id: I3ddbe2f7b61629ed18b6879203203a51b3700773
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/2219047
Reviewed-by: Mirko Bonadei <mbonadei@chromium.org>
Commit-Queue: Frank Barchard <fbarchard@chromium.org>
-rw-r--r-- | source/row_any.cc | 1 | ||||
-rw-r--r-- | source/row_gcc.cc | 2 | ||||
-rw-r--r-- | source/row_mmi.cc | 1 | ||||
-rw-r--r-- | source/row_msa.cc | 1 | ||||
-rw-r--r-- | source/row_neon.cc | 2 | ||||
-rw-r--r-- | source/row_neon64.cc | 2 | ||||
-rw-r--r-- | source/row_win.cc | 2 | ||||
-rw-r--r-- | unit_test/convert_test.cc | 12 |
8 files changed, 0 insertions, 23 deletions
diff --git a/source/row_any.cc b/source/row_any.cc index 8e3e9110..57469c8f 100644 --- a/source/row_any.cc +++ b/source/row_any.cc @@ -13,7 +13,6 @@ #include <string.h> // For memset. #include "libyuv/basic_types.h" -#include "libyuv/convert_argb.h" // For kYuvI601Constants #ifdef __cplusplus namespace libyuv { diff --git a/source/row_gcc.cc b/source/row_gcc.cc index 9a18d594..f7054188 100644 --- a/source/row_gcc.cc +++ b/source/row_gcc.cc @@ -10,8 +10,6 @@ #include "libyuv/row.h" -#include "libyuv/convert_argb.h" // For kYuvI601Constants - #ifdef __cplusplus namespace libyuv { extern "C" { diff --git a/source/row_mmi.cc b/source/row_mmi.cc index bf7a57e9..d4afceb8 100644 --- a/source/row_mmi.cc +++ b/source/row_mmi.cc @@ -12,7 +12,6 @@ #include <string.h> // For memcpy and memset. #include "libyuv/basic_types.h" -#include "libyuv/convert_argb.h" // For kYuvI601Constants #ifdef __cplusplus namespace libyuv { diff --git a/source/row_msa.cc b/source/row_msa.cc index 37ad0951..aebe4b41 100644 --- a/source/row_msa.cc +++ b/source/row_msa.cc @@ -14,7 +14,6 @@ // This module is for GCC MSA #if !defined(LIBYUV_DISABLE_MSA) && defined(__mips_msa) -#include "libyuv/convert_argb.h" // For kYuvI601Constants #include "libyuv/macros_msa.h" #ifdef __cplusplus diff --git a/source/row_neon.cc b/source/row_neon.cc index a9a377a1..13707338 100644 --- a/source/row_neon.cc +++ b/source/row_neon.cc @@ -12,8 +12,6 @@ #include <stdio.h> -#include "libyuv/convert_argb.h" // For kYuvI601Constants - #ifdef __cplusplus namespace libyuv { extern "C" { diff --git a/source/row_neon64.cc b/source/row_neon64.cc index 26a90300..06e9eea9 100644 --- a/source/row_neon64.cc +++ b/source/row_neon64.cc @@ -10,8 +10,6 @@ #include "libyuv/row.h" -#include "libyuv/convert_argb.h" // For kYuvI601Constants - #ifdef __cplusplus namespace libyuv { extern "C" { diff --git a/source/row_win.cc b/source/row_win.cc index 1d2ce400..74d87e11 100644 --- a/source/row_win.cc +++ b/source/row_win.cc @@ -14,8 +14,6 @@ #if !defined(LIBYUV_DISABLE_X86) && defined(_MSC_VER) && \ (defined(_M_IX86) || (defined(_M_X64) && !defined(__clang__))) -#include "libyuv/convert_argb.h" // For kYuvI601Constants - #if defined(_M_X64) #include <emmintrin.h> #include <tmmintrin.h> // For _mm_maddubs_epi16 diff --git a/unit_test/convert_test.cc b/unit_test/convert_test.cc index 6bfed10b..1d008e57 100644 --- a/unit_test/convert_test.cc +++ b/unit_test/convert_test.cc @@ -787,18 +787,6 @@ TESTQPLANARTOB(I420Alpha, 2, 2, ABGR, 4, 4, 1) TESTBIPLANARTOBI(FMT_PLANAR, SUBSAMP_X, SUBSAMP_Y, FMT_B, FMT_C, BPP_B, \ benchmark_width_, _Opt, +, 0) -#define kYuvJPEGConstantsVU kYvuJPEGConstants -#define NV12ToABGRMatrix(a, b, c, d, e, f, g, h, i) \ - NV21ToARGBMatrix(a, b, c, d, e, f, g##VU, h, i) -#define NV21ToABGRMatrix(a, b, c, d, e, f, g, h, i) \ - NV12ToARGBMatrix(a, b, c, d, e, f, g##VU, h, i) -#define NV12ToRAWMatrix(a, b, c, d, e, f, g, h, i) \ - NV21ToRGB24Matrix(a, b, c, d, e, f, g##VU, h, i) -#define NV21ToRAWMatrix(a, b, c, d, e, f, g, h, i) \ - NV12ToRGB24Matrix(a, b, c, d, e, f, g##VU, h, i) -#define NV12ToRGB565Matrix(a, b, c, d, e, f, g, h, i) \ - NV12ToRGB565Matrix(a, b, c, d, e, f, &kYuvJPEGConstants, g, h) - #define JNV12ToARGB(a, b, c, d, e, f, g, h) \ NV12ToARGBMatrix(a, b, c, d, e, f, &kYuvJPEGConstants, g, h) #define JNV21ToARGB(a, b, c, d, e, f, g, h) \ |