summaryrefslogtreecommitdiffstats
path: root/media/base/cpu_features.h
blob: c5bdcd70174321deeaea80f50f101e186882b46f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) 2011 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.

// This file provide utility functions to check CPU features such as SSE2,
// NEON.

#ifndef MEDIA_BASE_CPU_FEATURES_H_
#define MEDIA_BASE_CPU_FEATURES_H_

namespace media {

// Returns true if CPU has SSE2 support.
bool hasSSE2();

}  // namespace media

#endif  // MEDIA_BASE_CPU_FEATURES_H_