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

Unified Diff: media/base/simd/linear_scale_yuv_to_rgb_sse.asm

Issue 12211067: Change prototypes to yuv_convert_simd_x86 yasm and equivalent C to portably sign extend int args (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use ptrdiff_t to portably sign-extend yuv_convert yasm routines' int args Created 7 years, 10 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
Index: media/base/simd/linear_scale_yuv_to_rgb_sse.asm
diff --git a/media/base/simd/linear_scale_yuv_to_rgb_sse.asm b/media/base/simd/linear_scale_yuv_to_rgb_sse.asm
index 7bde0e78b336657ce573f7712c3266af6d3ae4c7..0d6685f18c560699a713e961bf1bee91669f019b 100644
--- a/media/base/simd/linear_scale_yuv_to_rgb_sse.asm
+++ b/media/base/simd/linear_scale_yuv_to_rgb_sse.asm
@@ -17,7 +17,7 @@
; const uint8* u_buf,
; const uint8* v_buf,
; uint8* rgb_buf,
-; int width,
-; int source_dx);
+; ptrdiff_t width,
+; ptrdiff_t source_dx);
%define SYMBOL LinearScaleYUVToRGB32Row_SSE
%include "linear_scale_yuv_to_rgb_mmx.inc"

Powered by Google App Engine
This is Rietveld 408576698