]> source.dussan.org Git - tigervnc.git/commitdiff
Fix typo in SIMD dispatch routines which was causing 4:2:0 upsampling to be used...
authorDRC <dcommander@users.sourceforge.net>
Sat, 7 Aug 2010 16:12:08 +0000 (16:12 +0000)
committerDRC <dcommander@users.sourceforge.net>
Sat, 7 Aug 2010 16:12:08 +0000 (16:12 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4118 3789f03b-4d11-0410-bbf8-ca57d06f2519

common/jpeg/simd/jsimd_i386.c
common/jpeg/simd/jsimd_x86_64.c

index 66af02483339df26c0cf4cdb0d752e3f27c8d731..ab52519bedadf124698ab758a6e254e67a938739 100644 (file)
@@ -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,
index 3437a9a52cc378ced69faa2497c59a5ef7a3e25e..92610074b59bcf6258b9b3559060798124587dac 100644 (file)
@@ -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);
 }