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

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

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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
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

Powered by Google App Engine
This is Rietveld 408576698