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

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

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 5 years 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 | « media/base/simd/convert_rgb_to_yuv_sse2.cc ('k') | media/base/simd/convert_rgb_to_yuv_ssse3.asm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/simd/convert_rgb_to_yuv_ssse3.h
diff --git a/media/base/simd/convert_rgb_to_yuv_ssse3.h b/media/base/simd/convert_rgb_to_yuv_ssse3.h
index 92144c9aaca15e6742e8406c3d9e1feeb9e450ae..19ece73a26928a5cae3ea5d06924caab98e5c9fd 100644
--- a/media/base/simd/convert_rgb_to_yuv_ssse3.h
+++ b/media/base/simd/convert_rgb_to_yuv_ssse3.h
@@ -5,6 +5,9 @@
#ifndef MEDIA_BASE_SIMD_CONVERT_RGB_TO_YUV_SSSE3_H_
#define MEDIA_BASE_SIMD_CONVERT_RGB_TO_YUV_SSSE3_H_
+#include <stddef.h>
+#include <stdint.h>
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -20,17 +23,17 @@ extern "C" {
// issue on at least Win64.
// Convert a row of 24-bit RGB pixels to YV12 pixels.
-void ConvertRGBToYUVRow_SSSE3(const uint8* rgb,
- uint8* y,
- uint8* u,
- uint8* v,
+void ConvertRGBToYUVRow_SSSE3(const uint8_t* rgb,
+ uint8_t* y,
+ uint8_t* u,
+ uint8_t* v,
ptrdiff_t width);
// Convert a row of 32-bit RGB pixels to YV12 pixels.
-void ConvertARGBToYUVRow_SSSE3(const uint8* argb,
- uint8* y,
- uint8* u,
- uint8* v,
+void ConvertARGBToYUVRow_SSSE3(const uint8_t* argb,
+ uint8_t* y,
+ uint8_t* u,
+ uint8_t* v,
ptrdiff_t width);
#ifdef __cplusplus
« no previous file with comments | « media/base/simd/convert_rgb_to_yuv_sse2.cc ('k') | media/base/simd/convert_rgb_to_yuv_ssse3.asm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698