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

Unified Diff: media/base/simd/filter_yuv_sse2.cc

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/filter_yuv_c.cc ('k') | media/base/simd/linear_scale_yuv_to_rgb_mmx.asm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/simd/filter_yuv_sse2.cc
diff --git a/media/base/simd/filter_yuv_sse2.cc b/media/base/simd/filter_yuv_sse2.cc
index b30f8d7f51e2261eb056e02ea07029e67e13d4d4..85ee5a7141779c569d21a55093fb58e1038b0c75 100644
--- a/media/base/simd/filter_yuv_sse2.cc
+++ b/media/base/simd/filter_yuv_sse2.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <stdint.h>
+
#if defined(_MSC_VER)
#include <intrin.h>
#else
@@ -13,11 +15,11 @@
namespace media {
-void FilterYUVRows_SSE2(uint8* dest,
- const uint8* src0,
- const uint8* src1,
+void FilterYUVRows_SSE2(uint8_t* dest,
+ const uint8_t* src0,
+ const uint8_t* src1,
int width,
- uint8 fraction) {
+ uint8_t fraction) {
int pixel = 0;
// Process the unaligned bytes first.
« no previous file with comments | « media/base/simd/filter_yuv_c.cc ('k') | media/base/simd/linear_scale_yuv_to_rgb_mmx.asm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698