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

Side by Side Diff: media/base/simd/filter_yuv.h

Issue 516543004: Cleanup: Remove unneeded media/ SSE2 checks and unused code. (try 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix build Created 6 years, 3 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 unified diff | Download patch
« no previous file with comments | « media/base/simd/convert_yuv_to_rgb_x86.cc ('k') | media/base/simd/filter_yuv_mmx.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_BASE_SIMD_FILTER_YUV_H_ 5 #ifndef MEDIA_BASE_SIMD_FILTER_YUV_H_
6 #define MEDIA_BASE_SIMD_FILTER_YUV_H_ 6 #define MEDIA_BASE_SIMD_FILTER_YUV_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "media/base/media_export.h" 9 #include "media/base/media_export.h"
10 10
11 namespace media { 11 namespace media {
12 12
13 // These methods are exported for testing purposes only. Library users should 13 // These methods are exported for testing purposes only. Library users should
14 // only call the methods listed in yuv_convert.h. 14 // only call the methods listed in yuv_convert.h.
15 15
16 MEDIA_EXPORT void FilterYUVRows_C(uint8* ybuf, 16 MEDIA_EXPORT void FilterYUVRows_C(uint8* ybuf,
17 const uint8* y0_ptr, 17 const uint8* y0_ptr,
18 const uint8* y1_ptr, 18 const uint8* y1_ptr,
19 int source_width, 19 int source_width,
20 int source_y_fraction); 20 int source_y_fraction);
21 21
22 MEDIA_EXPORT void FilterYUVRows_MMX(uint8* ybuf,
23 const uint8* y0_ptr,
24 const uint8* y1_ptr,
25 int source_width,
26 int source_y_fraction);
27
28 MEDIA_EXPORT void FilterYUVRows_SSE2(uint8* ybuf, 22 MEDIA_EXPORT void FilterYUVRows_SSE2(uint8* ybuf,
29 const uint8* y0_ptr, 23 const uint8* y0_ptr,
30 const uint8* y1_ptr, 24 const uint8* y1_ptr,
31 int source_width, 25 int source_width,
32 int source_y_fraction); 26 int source_y_fraction);
33 27
34 } // namespace media 28 } // namespace media
35 29
36 #endif // MEDIA_BASE_SIMD_FILTER_YUV_H_ 30 #endif // MEDIA_BASE_SIMD_FILTER_YUV_H_
OLDNEW
« no previous file with comments | « media/base/simd/convert_yuv_to_rgb_x86.cc ('k') | media/base/simd/filter_yuv_mmx.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698