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

Unified Diff: media/base/simd/convert_rgb_to_yuv_ssse3.cc

Issue 2694113002: Delete media/base/yuv_convert and dependents. Prefer libyuv. (Closed)
Patch Set: Fix media_unittests. Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/simd/convert_rgb_to_yuv_ssse3.asm ('k') | media/base/simd/convert_rgb_to_yuv_ssse3.inc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/simd/convert_rgb_to_yuv_ssse3.cc
diff --git a/media/base/simd/convert_rgb_to_yuv_ssse3.cc b/media/base/simd/convert_rgb_to_yuv_ssse3.cc
deleted file mode 100644
index 2ab2b989dce37d59967e6a37fc05a5a9a2095a6b..0000000000000000000000000000000000000000
--- a/media/base/simd/convert_rgb_to_yuv_ssse3.cc
+++ /dev/null
@@ -1,64 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "media/base/simd/convert_rgb_to_yuv.h"
-
-#include "build/build_config.h"
-#include "media/base/simd/convert_rgb_to_yuv_ssse3.h"
-
-namespace media {
-
-void ConvertRGB32ToYUV_SSSE3(const uint8_t* rgbframe,
- uint8_t* yplane,
- uint8_t* uplane,
- uint8_t* vplane,
- int width,
- int height,
- int rgbstride,
- int ystride,
- int uvstride) {
- for (; height >= 2; height -= 2) {
- ConvertARGBToYUVRow_SSSE3(rgbframe, yplane, uplane, vplane, width);
- rgbframe += rgbstride;
- yplane += ystride;
-
- ConvertARGBToYUVRow_SSSE3(rgbframe, yplane, NULL, NULL, width);
- rgbframe += rgbstride;
- yplane += ystride;
-
- uplane += uvstride;
- vplane += uvstride;
- }
-
- if (height)
- ConvertARGBToYUVRow_SSSE3(rgbframe, yplane, uplane, vplane, width);
-}
-
-void ConvertRGB24ToYUV_SSSE3(const uint8_t* rgbframe,
- uint8_t* yplane,
- uint8_t* uplane,
- uint8_t* vplane,
- int width,
- int height,
- int rgbstride,
- int ystride,
- int uvstride) {
- for (; height >= 2; height -= 2) {
- ConvertRGBToYUVRow_SSSE3(rgbframe, yplane, uplane, vplane, width);
- rgbframe += rgbstride;
- yplane += ystride;
-
- ConvertRGBToYUVRow_SSSE3(rgbframe, yplane, NULL, NULL, width);
- rgbframe += rgbstride;
- yplane += ystride;
-
- uplane += uvstride;
- vplane += uvstride;
- }
-
- if (height)
- ConvertRGBToYUVRow_SSSE3(rgbframe, yplane, uplane, vplane, width);
-}
-
-} // namespace media
« no previous file with comments | « media/base/simd/convert_rgb_to_yuv_ssse3.asm ('k') | media/base/simd/convert_rgb_to_yuv_ssse3.inc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698