aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2010-08-07 16:12:08 +0000
committerDRC <dcommander@users.sourceforge.net>2010-08-07 16:12:08 +0000
commitbacbbaa6973193e39cf7e40fe698d06962085cd4 (patch)
treefb19e83a4ca01f35e882b92a2631ba2604d783ff /common
parentaab8ddd427394e6567c4ab5e14c8f166d29a770c (diff)
downloadtigervnc-bacbbaa6973193e39cf7e40fe698d06962085cd4.tar.gz
tigervnc-bacbbaa6973193e39cf7e40fe698d06962085cd4.zip
Fix typo in SIMD dispatch routines which was causing 4:2:0 upsampling to be used instead of 4:2:2 when decompressing JPEG images using SSE2 code
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4118 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common')
-rw-r--r--common/jpeg/simd/jsimd_i386.c2
-rw-r--r--common/jpeg/simd/jsimd_x86_64.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/jpeg/simd/jsimd_i386.c b/common/jpeg/simd/jsimd_i386.c
index 66af0248..ab52519b 100644
--- a/common/jpeg/simd/jsimd_i386.c
+++ b/common/jpeg/simd/jsimd_i386.c
@@ -382,7 +382,7 @@ jsimd_h2v2_fancy_upsample (j_decompress_ptr cinfo,
{
if ((simd_support & JSIMD_SSE2) &&
IS_ALIGNED_SSE(jconst_fancy_upsample_sse2))
- jsimd_h2v1_fancy_upsample_sse2(cinfo->max_v_samp_factor,
+ jsimd_h2v2_fancy_upsample_sse2(cinfo->max_v_samp_factor,
compptr->downsampled_width, input_data, output_data_ptr);
else if (simd_support & JSIMD_MMX)
jsimd_h2v2_fancy_upsample_mmx(cinfo->max_v_samp_factor,
diff --git a/common/jpeg/simd/jsimd_x86_64.c b/common/jpeg/simd/jsimd_x86_64.c
index 3437a9a5..92610074 100644
--- a/common/jpeg/simd/jsimd_x86_64.c
+++ b/common/jpeg/simd/jsimd_x86_64.c
@@ -260,7 +260,7 @@ jsimd_h2v2_fancy_upsample (j_decompress_ptr cinfo,
JSAMPARRAY input_data,
JSAMPARRAY * output_data_ptr)
{
- jsimd_h2v1_fancy_upsample_sse2(cinfo->max_v_samp_factor,
+ jsimd_h2v2_fancy_upsample_sse2(cinfo->max_v_samp_factor,
compptr->downsampled_width,
input_data, output_data_ptr);
}