• Frank Barchard's avatar
    Fix ARGBToI411 odd width bug. · ba4b409d
    Frank Barchard authored
    The any function for handling ARGBToI411 was not handling the pixel
    replication correctly.  On 422 and odd width was handled by duplicating
    a pixel of source.  411 needs replication for remainders of 1, 2 or 3
    pixels.
    
    The C version was handling odd width but with an average of the remainder
    pixels, which does not match the SIMD 'any' handling off remainder.
    This changes the odd width handling to mimic the any version.
    
    TBR=harryjin@google.com
    BUG=libyuv:491
    
    Review URL: https://codereview.chromium.org/1411733004 .
    ba4b409d
row_any.cc 37.5 KB