O
O
Oleg Gamega2015-10-31 21:56:37
Mobile development
Oleg Gamega, 2015-10-31 21:56:37

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
cda982fe.png
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

1 answer(s)
V
Vadim Deryabkin, 2017-06-19
@Vadimatorikda

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 question

Ask a Question

731 491 924 answers to any question