[vlc-commits] grain: fix clobber list

Rémi Duraffort git at videolan.org
Thu Nov 24 21:41:41 CET 2011


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Nov 11 15:39:29 2011 +0100| [e854291dbab92b860772cab2b9119539fe73eadb] | committer: Rémi Denis-Courmont

grain: fix clobber list

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e854291dbab92b860772cab2b9119539fe73eadb
---

 modules/video_filter/grain.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/video_filter/grain.c b/modules/video_filter/grain.c
index 40d9428..a180ae3 100644
--- a/modules/video_filter/grain.c
+++ b/modules/video_filter/grain.c
@@ -156,6 +156,7 @@ static void BlockBlendC(uint8_t *dst, size_t dst_pitch,
 #ifdef CAN_COMPILE_SSE2
 #define _STRING(x) #x
 #define STRING(x) _STRING(x)
+VLC_SSE
 static void BlockBlendSse2(uint8_t *dst, size_t dst_pitch,
                            const uint8_t *src, size_t src_pitch,
                            const int16_t *noise)
@@ -186,7 +187,7 @@ static void BlockBlendSse2(uint8_t *dst, size_t dst_pitch,
                 [src1]"r"(&src[(2*i+0) * src_pitch]),
                 [src2]"r"(&src[(2*i+1) * src_pitch]),
                 [noise]"r"(&noise[2*i * BANK_SIZE])
-            : "memory");
+            : "xmm0", "xmm1", "xmm2", "xmm3", "xmm4", "memory");
     }
 #else
 #   error "BLEND_SIZE unsupported"



More information about the vlc-commits mailing list