Answer the question
In order to leave comments, you need to log in
How to play a video in mirror?
Hello.
There is a task to glue and play a video in a mirror, on android and Ios, for this I want to write a library in c ++
An approximate picture, the picture does not relate to the task in any way, I took it so as not to draw and it was clearer
What tools are better to use, what you should pay attention to was the most portable?
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
Hmmm... Well, I would suggest you the following algorithm:
1. Take 1/3 of the bottom of the picture, copy it to a separate buffer.
2. In this buffer, you invert the points along the Y axis (you flip the image).
3. Do a Gaussian blur.
4. Apply "shading" according to the exponential law (minimum above, maximum below).
It seems that this effect can then be achieved.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question