Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / media / base / simd / filter_yuv.h
blob41851bce6a6ced66897176d8725c4f3158f05a06
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
3 // found in the LICENSE file.
5 #ifndef MEDIA_BASE_SIMD_FILTER_YUV_H_
6 #define MEDIA_BASE_SIMD_FILTER_YUV_H_
8 #include "base/basictypes.h"
9 #include "media/base/media_export.h"
11 namespace media {
13 // These methods are exported for testing purposes only. Library users should
14 // only call the methods listed in yuv_convert.h.
16 MEDIA_EXPORT void FilterYUVRows_C(uint8* ybuf,
17 const uint8* y0_ptr,
18 const uint8* y1_ptr,
19 int source_width,
20 uint8 source_y_fraction);
22 MEDIA_EXPORT void FilterYUVRows_SSE2(uint8* ybuf,
23 const uint8* y0_ptr,
24 const uint8* y1_ptr,
25 int source_width,
26 uint8 source_y_fraction);
28 } // namespace media
30 #endif // MEDIA_BASE_SIMD_FILTER_YUV_H_