| OLD | NEW |
| 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 defines the YUV conversion functions for each specific | 5 // This file defines the YUV conversion functions for each specific |
| 6 // optimization. | 6 // optimization. |
| 7 | 7 |
| 8 #ifndef MEDIA_BASE_YUV_CONVERT_INTERNAL_H_ | 8 #ifndef MEDIA_BASE_YUV_CONVERT_INTERNAL_H_ |
| 9 #define MEDIA_BASE_YUV_CONVERT_INTERNAL_H_ | 9 #define MEDIA_BASE_YUV_CONVERT_INTERNAL_H_ |
| 10 | 10 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 void ConvertRGB32ToYUV_C(const uint8* rgbframe, | 27 void ConvertRGB32ToYUV_C(const uint8* rgbframe, |
| 28 uint8* yplane, | 28 uint8* yplane, |
| 29 uint8* uplane, | 29 uint8* uplane, |
| 30 uint8* vplane, | 30 uint8* vplane, |
| 31 int width, | 31 int width, |
| 32 int height, | 32 int height, |
| 33 int rgbstride, | 33 int rgbstride, |
| 34 int ystride, | 34 int ystride, |
| 35 int uvstride); | 35 int uvstride); |
| 36 | 36 |
| 37 // C version of converting RGB24 to YV12. |
| 38 void ConvertRGB24ToYUV_C(const uint8* rgbframe, |
| 39 uint8* yplane, |
| 40 uint8* uplane, |
| 41 uint8* vplane, |
| 42 int width, |
| 43 int height, |
| 44 int rgbstride, |
| 45 int ystride, |
| 46 int uvstride); |
| 47 |
| 48 // C version of converting YUY2 to YV12. |
| 49 void ConvertYUY2ToYUV_C(const uint8* src, |
| 50 uint8* yplane, |
| 51 uint8* uplane, |
| 52 uint8* vplane, |
| 53 int width, |
| 54 int height); |
| 55 |
| 37 } // namespace media | 56 } // namespace media |
| 38 | 57 |
| 39 #endif // MEDIA_BASE_YUV_CONVERT_INTERNAL_H_ | 58 #endif // MEDIA_BASE_YUV_CONVERT_INTERNAL_H_ |
| OLD | NEW |