[Spice-commits] 2 commits - common/quic.c common/quic_tmpl.c

Frediano Ziglio fziglio at kemper.freedesktop.org
Thu Aug 3 12:33:27 UTC 2017


 common/quic.c      |   12 ++++++------
 common/quic_tmpl.c |    2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

New commits:
commit 9f6a67129462f69ffaf6ce290bbbcf6a6e939b9b
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Thu Aug 3 10:56:20 2017 +0100

    quic: fix typo golomb_deoding -> golomb_decoding
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Christophe Fergeau <cfergeau at redhat.com>

diff --git a/common/quic_tmpl.c b/common/quic_tmpl.c
index b9056bb..3c84791 100644
--- a/common/quic_tmpl.c
+++ b/common/quic_tmpl.c
@@ -627,7 +627,7 @@ static void FNAME(uncompress_row)(Encoder *encoder, Channel *channel,
 #undef RLE_PRED_2_IMP
 #undef RLE_PRED_3_IMP
 #undef golomb_coding
-#undef golomb_deoding
+#undef golomb_decoding
 #undef update_model
 #undef find_bucket
 #undef family
commit b64ee40a60f5e0d89c22a996ab9d90b7c1acdb4b
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Thu Aug 3 10:55:11 2017 +0100

    quic: fix typo corelate -> correlate
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Christophe Fergeau <cfergeau at redhat.com>

diff --git a/common/quic.c b/common/quic.c
index 8567368..b753d07 100644
--- a/common/quic.c
+++ b/common/quic.c
@@ -82,11 +82,11 @@ typedef struct QuicFamily {
     unsigned int golomb_code[256][MAXNUMCODES];
 
     /* array for translating distribution U to L for depths up to 8 bpp,
-    initialized by decorelateinit() */
+    initialized by decorrelate_init() */
     BYTE xlatU2L[256];
 
     /* array for translating distribution L to U for depths up to 8 bpp,
-       initialized by corelateinit() */
+       initialized by correlate_init() */
     unsigned int xlatL2U[256];
 } QuicFamily;
 
@@ -315,7 +315,7 @@ static unsigned int cnt_l_zeroes(const unsigned int bits)
 #include "quic_family_tmpl.c"
 #endif
 
-static void decorelate_init(QuicFamily *family, int bpc)
+static void decorrelate_init(QuicFamily *family, int bpc)
 {
     const unsigned int pixelbitmask = bppmask[bpc];
     const unsigned int pixelbitmaskshr = pixelbitmask >> 1;
@@ -332,7 +332,7 @@ static void decorelate_init(QuicFamily *family, int bpc)
     }
 }
 
-static void corelate_init(QuicFamily *family, int bpc)
+static void correlate_init(QuicFamily *family, int bpc)
 {
     const unsigned long int pixelbitmask = bppmask[bpc];
     unsigned long int s;
@@ -388,8 +388,8 @@ static void family_init(QuicFamily *family, int bpc, int limit)
         }
     }
 
-    decorelate_init(family, bpc);
-    corelate_init(family, bpc);
+    decorrelate_init(family, bpc);
+    correlate_init(family, bpc);
 }
 
 static void more_io_words(Encoder *encoder)


More information about the Spice-commits mailing list