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

Issue 2445343007: Add MSA optimized I422ToRGB565Row_MSA, I422ToARGB4444Row_MSA and I422ToARGB1555Row_MSA functions (Closed)

Created:
4 years, 1 month ago by manojkumar.bhosale
Modified:
4 years, 1 month ago
CC:
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 I422ToRGB565Row_MSA, I422ToARGB4444Row_MSA and I422ToARGB1555Row_MSA functions R=fbarchard@google.com BUG=libyuv:634 Performance Gain (vs C vectorized) I422ToRGB565Row_MSA : ~1.5x I422ToRGB565Row_Any_MSA : ~1.5x I422ToARGB4444Row_MSA : ~1.4x I422ToARGB4444Row_Any_MSA : ~1.4x I422ToARGB1555Row_MSA : ~1.4x I422ToARGB1555Row_Any_MSA : ~1.4x Performance Gain (vs C non-vectorized) I422ToRGB565Row_MSA : ~6.8x I422ToRGB565Row_Any_MSA : ~6.8x I422ToARGB4444Row_MSA : ~6.6x I422ToARGB4444Row_Any_MSA : ~6.6x I422ToARGB1555Row_MSA : ~6.6x I422ToARGB1555Row_Any_MSA : ~6.6x Committed: https://chromium.googlesource.com/libyuv/libyuv/+/10ce829bad9b1d9908874b8aa9f3ba8d04523282

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -50 lines) Patch
M include/libyuv/row.h View 2 chunks +36 lines, -0 lines 0 comments Download
M source/convert_from.cc View 3 chunks +24 lines, -0 lines 0 comments Download
M source/row_any.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M source/row_msa.cc View 8 chunks +133 lines, -50 lines 5 comments Download

Messages

Total messages: 8 (3 generated)
manojkumar.bhosale
4 years, 1 month ago (2016-10-27 12:00:49 UTC) #1
manojkumar.bhosale
Updated with reviewers, cc list and performance gain numbers
4 years, 1 month ago (2016-10-27 12:04:48 UTC) #4
fbarchard1
lgtm https://codereview.chromium.org/2445343007/diff/1/source/row_msa.cc File source/row_msa.cc (right): https://codereview.chromium.org/2445343007/diff/1/source/row_msa.cc#newcode23 source/row_msa.cc:23: #define FILLYUVTORGBCONSTS(yuvconst, ub, vr, ug, vg, bb, bg, ...
4 years, 1 month ago (2016-10-27 17:37:15 UTC) #5
fbarchard1
Committed patchset #1 (id:1) manually as 10ce829bad9b1d9908874b8aa9f3ba8d04523282 (presubmit successful).
4 years, 1 month ago (2016-10-27 17:47:40 UTC) #7
fbarchard1
4 years, 1 month ago (2016-10-27 18:22:55 UTC) #8
Message was sent while issue was closed.
rebased and landed

https://codereview.chromium.org/2445343007/diff/1/source/row_msa.cc
File source/row_msa.cc (right):

https://codereview.chromium.org/2445343007/diff/1/source/row_msa.cc#newcode23
source/row_msa.cc:23: #define FILLYUVTORGBCONSTS(yuvconst, ub, vr, ug, vg, bb,
bg, br, yg) {  \
On 2016/10/27 17:37:14, fbarchard1 wrote:
> suggest using the same name as row_gcc: YUVTORGB_SETUP

Done.

https://codereview.chromium.org/2445343007/diff/1/source/row_msa.cc#newcode341
source/row_msa.cc:341: I422TORGB(src0, src1, src2, vec_ub, vec_vr, vec_ug,
vec_vg,
On 2016/10/27 17:37:15, fbarchard1 wrote:
> Suggest renaming I422ToRGB to YUVTORGB for consistency with row_gcc.cc

Done.

Powered by Google App Engine
This is Rietveld 408576698