Question

Renderscript intrinsics is very fast and useful. However, there are situations where we might want to build our own intrinsics, e.g. current convolution doesn't support the "valid" mode as in matlab. It would be very nice to have it. So, I'm wondering if it's possible to do so and connect nicely with the java layer (just like the existing intrinsics)? If it's possible, would you sketch how? Thank you.

Était-ce utile?

La solution

no, there's no way to add custom intrinsics right now. in the next release we're planning to add support for clipped intrinsics in the same way that clipped kernels operate since 4.3, which would allow you to add a valid mode equivalent to Matlab.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top