| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_YUV_CONVERT_H_ | 5 #ifndef MEDIA_BASE_YUV_CONVERT_H_ |
| 6 #define MEDIA_BASE_YUV_CONVERT_H_ | 6 #define MEDIA_BASE_YUV_CONVERT_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 | 9 |
| 10 namespace media { | 10 namespace media { |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 int height); | 114 int height); |
| 115 | 115 |
| 116 void ConvertNV21ToYUV(const uint8* src, | 116 void ConvertNV21ToYUV(const uint8* src, |
| 117 uint8* yplane, | 117 uint8* yplane, |
| 118 uint8* uplane, | 118 uint8* uplane, |
| 119 uint8* vplane, | 119 uint8* vplane, |
| 120 int width, | 120 int width, |
| 121 int height); | 121 int height); |
| 122 | 122 |
| 123 // Empty SIMD register state after calling optimized scaler functions. | 123 // Empty SIMD register state after calling optimized scaler functions. |
| 124 // This method is only used in unit test after calling SIMD functions. | |
| 125 void EmptyRegisterState(); | 124 void EmptyRegisterState(); |
| 126 | 125 |
| 127 } // namespace media | 126 } // namespace media |
| 128 | 127 |
| 129 #endif // MEDIA_BASE_YUV_CONVERT_H_ | 128 #endif // MEDIA_BASE_YUV_CONVERT_H_ |
| OLD | NEW |