F
F
Fotonick2017-03-09 23:04:32
Android
Fotonick, 2017-03-09 23:04:32

How to speed up the preview of the filter superimposed on the photo?

Playing around with photo filters in my app. I downloaded a bunch from here www.jhlabs.com/ip/filters/index.html
When using the filter, the calculation takes a VERY long time, despite the fact that I use a miserable 360*360 image. The real photo from the camera does not have enough patience. How to speed up the calculation and preview of the effect? Instagram filters are applied instantly...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GavriKos, 2017-03-09
@GavriKos

Write your own filter and be sure that everything is done optimally there. And it is desirable on NDK at once.
In fact - profile, see if it really slows down, or you did something wrong with it. If liba - throw out liba.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question