Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(392)

Issue 2421843002: Add MSA optimized ARGB4444ToI420 and ARGB4444ToARGB functions (Closed)

Created:
4 years, 2 months ago by manojkumar.bhosale
Modified:
4 years, 2 months ago
CC:
petar.jovanovic, gordana.cmiljanovic_imgtec.com, raghu.gandham_imgtec.com, parag.salasakar_imgtec.com, mandar.sahastrabuddhe_imgtec.com, rob.isherwood_imgtec.com
Target Ref:
refs/heads/master
Project:
libyuv
Visibility:
Public.

Description

Add MSA optimized ARGB4444ToI420 and ARGB4444ToARGB functions R=fbarchard@google.com BUG=libyuv:634 Performance gains : (Auto-vectorized C vs MSA SIMD) ARGB4444ToYRow_MSA : ~3.0x ARGB4444ToUVRow_MSA : ~1.8x ARGB4444ToARGBRow_MSA : ~3.4x ARGB4444ToYRow_Any_MSA : ~2.8x ARGB4444ToUVRow_Any_MSA : ~1.7x ARGB4444ToARGBRow_Any_MSA : ~3.2x Committed: https://chromium.googlesource.com/libyuv/libyuv/+/78c58ab8aa66b87e9ae8944f56a696d1ac29edce

Patch Set 1 #

Total comments: 9

Patch Set 2 : Incorporated review comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+351 lines, -0 lines) Patch
M include/libyuv/row.h View 1 6 chunks +13 lines, -0 lines 0 comments Download
M source/convert.cc View 1 3 chunks +36 lines, -0 lines 0 comments Download
M source/convert_argb.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M source/convert_from_argb.cc View 1 7 chunks +96 lines, -0 lines 0 comments Download
M source/row_any.cc View 1 3 chunks +9 lines, -0 lines 0 comments Download
M source/row_msa.cc View 1 1 chunk +189 lines, -0 lines 1 comment Download

Messages

Total messages: 9 (3 generated)
manojkumar.bhosale
4 years, 2 months ago (2016-10-14 08:30:15 UTC) #1
manojkumar.bhosale
Updated with reviewers, cc list and performance gain numbers
4 years, 2 months ago (2016-10-14 08:35:35 UTC) #4
fbarchard1
lgtm mostly style concern. I would have used the intel approach which takes less assembler. ...
4 years, 2 months ago (2016-10-14 21:35:16 UTC) #5
manojkumar.bhosale
Used Intel strategy and new performance as below, ARGB4444ToARGBRow_MSA : ~3.4x ARGB4444ToARGBRow_Any_MSA : ~3.2x ARGBToYRow_MSA ...
4 years, 2 months ago (2016-10-19 11:56:28 UTC) #6
fbarchard1
lgtm nit about ARGBToUV being unrolled more than necessary. Re Overall for ARGB4444 to Y/UV ...
4 years, 2 months ago (2016-10-19 18:10:33 UTC) #7
fbarchard1
4 years, 2 months ago (2016-10-19 18:10:54 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
78c58ab8aa66b87e9ae8944f56a696d1ac29edce (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698