Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1625)

Unified Diff: media/base/simd/yuv_convert.h

Issue 7003082: Implements RGB to YV12 conversion in YASM. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/base/simd/yuv_convert.cc » ('j') | media/base/simd/yuv_convert.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/simd/yuv_convert.h
===================================================================
--- media/base/simd/yuv_convert.h (revision 0)
+++ media/base/simd/yuv_convert.h (revision 0)
@@ -0,0 +1,59 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MEDIA_BASE_SIMD_YUV_CONVERT_H_
+#define MEDIA_BASE_SIMD_YUV_CONVERT_H_
+
+#include "base/basictypes.h"
+#include "media/base/yuv_convert.h"
+
+namespace media {
+namespace simd {
Alpha Left Google 2011/08/22 14:16:59 I'd put them in yuv_convert_internal.h and name th
+
+void ConvertRGB32toYUV(const uint8* rgbframe,
Alpha Left Google 2011/08/22 14:16:59 Add a _SSE2 suffix.
+ uint8* yplane,
+ uint8* uplane,
+ uint8* vplane,
+ int width,
+ int height,
+ int rgbstride,
+ int ystride,
+ int uvstride);
+
+void ConvertRGB24toYUV(const uint8* rgbframe,
Alpha Left Google 2011/08/22 14:16:59 Add a _SSE2 suffix.
+ uint8* yplane,
+ uint8* uplane,
+ uint8* vplane,
+ int width,
+ int height,
+ int rgbstride,
+ int ystride,
+ int uvstride);
+
+void ConvertYUVtoRGB32(const uint8* y_buf,
Alpha Left Google 2011/08/22 14:16:59 Add a _SSE2 suffix.
+ const uint8* u_buf,
+ const uint8* v_buf,
+ uint8* rgb_buf,
+ int width,
+ int height,
+ int y_pitch,
+ int uv_pitch,
+ int rgb_pitch,
+ YUVType yuv_type);
+
+void ConvertYUVtoRGB24(const uint8* y_buf,
Alpha Left Google 2011/08/22 14:16:59 Add a _SSE2 suffix.
+ const uint8* u_buf,
+ const uint8* v_buf,
+ uint8* rgb_buf,
+ int width,
+ int height,
+ int y_pitch,
+ int uv_pitch,
+ int rgb_pitch,
+ YUVType yuv_type);
+
+} // namespace simd
+} // namespace media
+
+#endif // MEDIA_BASE_SIMD_YUV_CONVERT_H_
Property changes on: media\base\simd\yuv_convert.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « no previous file | media/base/simd/yuv_convert.cc » ('j') | media/base/simd/yuv_convert.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698