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

Side by Side Diff: media/base/cpu_features.h

Issue 7003082: Implements RGB to YV12 conversion in YASM. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | media/base/cpu_features_arm.cc » ('j') | media/base/simd/x86inc.asm » ('J')
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 // This file provide utility functions to check CPU features such as SSE2, 5 // This file provide utility functions to check CPU features such as SSE2,
6 // NEON. 6 // NEON.
7 7
8 #ifndef MEDIA_BASE_CPU_FEATURES_H_ 8 #ifndef MEDIA_BASE_CPU_FEATURES_H_
9 #define MEDIA_BASE_CPU_FEATURES_H_ 9 #define MEDIA_BASE_CPU_FEATURES_H_
10 10
11 namespace media { 11 namespace media {
12 12
13 // Returns true if CPU has SSE2 support. 13 // Returns true if CPU has SSE2 support.
14 bool hasSSE2(); 14 bool hasSSE2();
15 15
16 // Returns true if CPU supports SSE2, SSE3, and SSSE3.
17 bool hasSSSE3();
18
16 } // namespace media 19 } // namespace media
17 20
18 #endif // MEDIA_BASE_CPU_FEATURES_H_ 21 #endif // MEDIA_BASE_CPU_FEATURES_H_
OLDNEW
« no previous file with comments | « no previous file | media/base/cpu_features_arm.cc » ('j') | media/base/simd/x86inc.asm » ('J')

Powered by Google App Engine
This is Rietveld 408576698