Merge pull request #21119 from anna-khakimova:ak/simd_addc

* GAPI Fluid: SIMD for AddC kernel

* Final version

* Applied comments.
This commit is contained in:
Anna Khakimova
2021-11-29 14:20:53 +03:00
committed by GitHub
parent f044037ec5
commit d58b5ef74b
10 changed files with 424 additions and 77 deletions
@@ -57,6 +57,7 @@ namespace core {
G_TYPED_KERNEL(GAddC, <GMat(GMat, GScalar, int)>, "org.opencv.core.math.addC") {
static GMatDesc outMeta(GMatDesc a, GScalarDesc, int ddepth) {
GAPI_Assert(a.chan <= 4);
return a.withDepth(ddepth);
}
};