2PantsOn:
>To make it fastest I've used lookup tables, rather than calculating every pixel.
And you tested speed with direct calculation and under the table?
There is an opinion that access to memory borrows more time than calculation.
Can you make a choice between table-based calculation and direct-calculation?
P.S. If colors=false, speed up to 25-27fps (native video fps=30)
>To make it fastest I've used lookup tables, rather than calculating every pixel.
And you tested speed with direct calculation and under the table?
There is an opinion that access to memory borrows more time than calculation.
Can you make a choice between table-based calculation and direct-calculation?
P.S. If colors=false, speed up to 25-27fps (native video fps=30)