Index: media/base/yuv_convert.h |
=================================================================== |
--- media/base/yuv_convert.h (revision 13092) |
+++ media/base/yuv_convert.h (working copy) |
@@ -9,7 +9,7 @@ |
namespace media { |
-// Convert a frame of YUV to 32 bit ARGB. |
+// Convert a frame of YV12 (aka YUV420) to 32 bit ARGB. |
void ConvertYV12ToRGB32(const uint8* yplane, |
const uint8* uplane, |
const uint8* vplane, |
@@ -20,6 +20,18 @@ |
int uvstride, |
int rgbstride); |
+// Convert a frame of YV16 (aka YUV422) to 32 bit ARGB. |
+void ConvertYV16ToRGB32(const uint8* yplane, |
+ const uint8* uplane, |
+ const uint8* vplane, |
+ uint8* rgbframe, |
+ size_t frame_width, |
+ size_t frame_height, |
+ int ystride, |
+ int uvstride, |
+ int rgbstride); |
+ |
+ |
#endif // MEDIA_BASE_YUV_CONVERT_H_ |
} // namespace media |