• Manojkumar Bhosale's avatar
    Add MSA optimized I444/I400/J400/YUY2/UYVY to ARGB row functions · eed66b20
    Manojkumar Bhosale authored
    BUG=libyuv:634
    
    Change-Id: Ida80027c36a938a3bcf6f4480626f8eb9495e1be
    
    Performance Gain (vs C auto-vectorized)
    I444ToARGBRow_MSA       - ~1.6x
    I444ToARGBRow_Any_MSA   - ~1.6x
    I400ToARGBRow_MSA       - ~5.5x
    I400ToARGBRow_Any_MSA   - ~5.3x
    J400ToARGBRow_MSA       - ~1.0x
    J400ToARGBRow_Any_MSA   - ~1.0x
    YUY2ToARGBRow_MSA       - ~1.6x
    YUY2ToARGBRow_Any_MSA   - ~1.6x
    UYVYToARGBRow_MSA       - ~1.6x
    UYVYToARGBRow_Any_MSA   - ~1.6x
    
    Performance Gain (vs C non-vectorized)
    I444ToARGBRow_MSA       - ~7.3x
    I444ToARGBRow_Any_MSA   - ~7.1x
    I400ToARGBRow_MSA       - ~5.5x
    I400ToARGBRow_Any_MSA   - ~5.2x
    J400ToARGBRow_MSA       - ~6.8x
    J400ToARGBRow_Any_MSA   - ~5.7x
    YUY2ToARGBRow_MSA       - ~7.2x
    YUY2ToARGBRow_Any_MSA   - ~7.0x
    UYVYToARGBRow_MSA       - ~7.1x
    UYVYToARGBRow_Any_MSA   - ~6.9x
    
    Change-Id: Ida80027c36a938a3bcf6f4480626f8eb9495e1be
    Reviewed-on: https://chromium-review.googlesource.com/439246Reviewed-by: 's avatarFrank Barchard <fbarchard@google.com>
    Commit-Queue: Frank Barchard <fbarchard@google.com>
    eed66b20
convert_argb.cc 49 KB