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

Unified Diff: source/scale_neon.cc

Issue 2093913004: rounding for arm filter (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: arm or aarch64 Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/scale_common.cc ('k') | source/scale_neon64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/scale_neon.cc
diff --git a/source/scale_neon.cc b/source/scale_neon.cc
index 26bb70592e7dfd8f546a6cc24a8270ec5d9a9bb0..44b0c8080d1e05e1e4594bddd066ebdc5190ee95 100644
--- a/source/scale_neon.cc
+++ b/source/scale_neon.cc
@@ -612,8 +612,8 @@ void ScaleFilterCols_NEON(uint8* dst_ptr, const uint8* src_ptr,
"vmovl.u16 q10, d21 \n"
"vmul.s32 q11, q11, q13 \n"
"vmul.s32 q12, q12, q10 \n"
- "vshrn.s32 d18, q11, #16 \n"
- "vshrn.s32 d19, q12, #16 \n"
+ "vrshrn.s32 d18, q11, #16 \n"
+ "vrshrn.s32 d19, q12, #16 \n"
"vadd.s16 q8, q8, q9 \n"
"vmovn.s16 d6, q8 \n"
« no previous file with comments | « source/scale_common.cc ('k') | source/scale_neon64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698