| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 void ConvertRGB32ToYUV(const uint8* rgbframe, | 70 void ConvertRGB32ToYUV(const uint8* rgbframe, |
| 71 uint8* yplane, | 71 uint8* yplane, |
| 72 uint8* uplane, | 72 uint8* uplane, |
| 73 uint8* vplane, | 73 uint8* vplane, |
| 74 int width, | 74 int width, |
| 75 int height, | 75 int height, |
| 76 int rgbstride, | 76 int rgbstride, |
| 77 int ystride, | 77 int ystride, |
| 78 int uvstride); | 78 int uvstride); |
| 79 | 79 |
| 80 void ConvertRGB24ToYUV(const uint8* rgbframe, |
| 81 uint8* yplane, |
| 82 uint8* uplane, |
| 83 uint8* vplane, |
| 84 int width, |
| 85 int height, |
| 86 int rgbstride, |
| 87 int ystride, |
| 88 int uvstride); |
| 89 |
| 90 void ConvertYUY2ToYUV(const uint8* src, |
| 91 uint8* yplane, |
| 92 uint8* uplane, |
| 93 uint8* vplane, |
| 94 int width, |
| 95 int height); |
| 80 } // namespace media | 96 } // namespace media |
| 81 | 97 |
| 82 #endif // MEDIA_BASE_YUV_CONVERT_H_ | 98 #endif // MEDIA_BASE_YUV_CONVERT_H_ |
| OLD | NEW |