• Show log

    Commit

  • Hash : 54792ba3
    Author : James Cowgill
    Date : 2015-09-16T23:05:46

    Fix MIPS DSPr2 4:2:0 upsample bug w/ small images
    The DSPr2 code was errantly comparing the residual (t9, width & 0xF)
    with the end pointer (t4, out + width) instead of the width directly
    (a1).  This would give the wrong results with any image whose output
    width was less than 16.  The other small changes (ulw to lw and removal
    of the nop) are just some easy optimizations around this code.
    
    This issue caused a buffer overrun and subsequent segfault on images
    whose scaled output height was 1 pixel and whose scaled output width was
    < 16 pixels.  Note that the "plain" (non-fancy and non-merged) upsample
    routine, which was affected by this bug, is normally not used except
    when decompressing a non-YCbCr JPEG image, but it is also used when
    decompressing a single-row image (because the other upsampling
    algorithms require at least two rows.)
    
    Closes #16.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/libjpeg-turbo.git
    Git SSH git@git.kmx.io:kc3-lang/libjpeg-turbo.git
    Public access ? public
    Description

    Fork of libjpeg with SIMD

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg_l thodg
    Tags