This patch optimizes the constant bokeh blur CPU implementation by pre-computing the blur kernel from the bokeh kernel, and thus avoid interpolation in the blur loop. Gives a 2x improvement.
This patch optimizes the constant bokeh blur CPU implementation by pre-computing the blur kernel from the bokeh kernel, and thus avoid interpolation in the blur loop. Gives a 2x improvement.