1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Merge pull request #19233 from anna-khakimova:ak/simd_absdiffc

GAPI: SIMD optimization for AbsDiffC kernel

* SIMD optimization for AbsDiffC kernel

* Applied comments

* Applying comments and refactoring: Remove new univ intrinsics.

* Performance experiment

* Applied comments.Step2

* Applied comments. Step3
This commit is contained in:
Anna Khakimova
2021-02-08 16:02:35 +03:00
committed by GitHub
parent e5518ee657
commit 7ab3a80d0a
4 changed files with 299 additions and 21 deletions
+2 -2
View File
@@ -298,8 +298,8 @@ namespace core {
}
};
G_TYPED_KERNEL(GAbsDiffC, <GMat(GMat, GScalar)>, "org.opencv.core.matrixop.absdiffC") {
static GMatDesc outMeta(GMatDesc a, GScalarDesc) {
G_TYPED_KERNEL(GAbsDiffC, <GMat(GMat,GScalar)>, "org.opencv.core.matrixop.absdiffC") {
static GMatDesc outMeta(const GMatDesc& a, const GScalarDesc&) {
return a;
}
};