[x265] [PATCH] Fix for crash in filterHorizontal pel-pel and pel-short in vc9
deepthidevaki at multicorewareinc.com
deepthidevaki at multicorewareinc.com
Tue Jul 2 14:10:45 CEST 2013
# HG changeset patch
# User Deepthi Devaki
# Date 1372766997 -19800
# Node ID 746ac39df1a3e154219fea1b83376aca22fe7220
# Parent 936c56e589ec2b4f9f9a5ea8d0fa92fc8dbc8e07
Fix for crash in filterHorizontal pel-pel and pel-short in vc9
diff -r 936c56e589ec -r 746ac39df1a3 source/common/vec/ipfilter16.inc
--- a/source/common/vec/ipfilter16.inc Mon Jul 01 16:07:56 2013 +0530
+++ b/source/common/vec/ipfilter16.inc Tue Jul 02 17:39:57 2013 +0530
@@ -511,7 +511,9 @@
}
else
{
- vec_src0.load_partial(4, src + col);
+ vec_src0.load(src + col);
+ vec_src0 &= Vec8s(-1, -1, -1, -1, 0, 0, 0, 0);
+
}
vec_src0 = vec_src0 * vec_c; // Assuming that there is no overflow (Everywhere in this function!)
@@ -614,7 +616,8 @@
}
else
{
- vec_src0.load_partial(4, src + col);
+ vec_src0.load(src + col);
+ vec_src0 &= Vec8s(-1, -1, -1, -1, 0, 0, 0, 0);
}
vec_src0 = vec_src0 * vec_c; // Assuming that there is no overflow (Everywhere in this function!)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xhevc_deepthid.patch
Type: text/x-patch
Size: 1222 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20130702/b2943ac2/attachment.bin>
More information about the x265-devel
mailing list