Chromium Code Reviews| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 106 int ystride, | 106 int ystride, |
| 107 int uvstride); | 107 int uvstride); |
| 108 | 108 |
| 109 void ConvertYUY2ToYUV(const uint8* src, | 109 void ConvertYUY2ToYUV(const uint8* src, |
| 110 uint8* yplane, | 110 uint8* yplane, |
| 111 uint8* uplane, | 111 uint8* uplane, |
| 112 uint8* vplane, | 112 uint8* vplane, |
| 113 int width, | 113 int width, |
| 114 int height); | 114 int height); |
| 115 | 115 |
| 116 void ConvertNV21ToYUV(const uint8* src, | |
|
scherkus (not reviewing)
2012/04/13 03:01:57
do you know why none of these methods accept a str
wjia(left Chromium)
2012/04/17 23:49:32
There could be strides for Y and UV (typically ali
| |
| 117 uint8* yplane, | |
| 118 uint8* uplane, | |
| 119 uint8* vplane, | |
| 120 int width, | |
| 121 int height); | |
| 122 | |
| 116 // Empty SIMD register state after calling optimized scaler functions. | 123 // Empty SIMD register state after calling optimized scaler functions. |
| 117 // This method is only used in unit test after calling SIMD functions. | 124 // This method is only used in unit test after calling SIMD functions. |
| 118 void EmptyRegisterState(); | 125 void EmptyRegisterState(); |
| 119 | 126 |
| 120 } // namespace media | 127 } // namespace media |
| 121 | 128 |
| 122 #endif // MEDIA_BASE_YUV_CONVERT_H_ | 129 #endif // MEDIA_BASE_YUV_CONVERT_H_ |
| OLD | NEW |