[Beta Test] Ambilight for PC display

Beta test of the image capture module. Due to the display of the preview with the aura of color zones, the performance decreases by about 20 frames, since it is impossible to implement the asynchronous functionality of the capture and display module with the current application model.

A check of the volume of data transferred to the tape controller has also been implemented. To reduce the input lag, it was decided to transfer only changes.

From the preliminary results, it became clear that the entire code is executed exclusively on one core. Such behavior imposes a limitation on the number of frames per second and makes the application dependent on the core clock frequency and the speed of RAM, since the memory volumes for the frame depend on the current resolution of the captured image.

As a result, the maximum that I could “squeeze” out of my processor was about 100 frames per second with a delay of about 7 milliseconds. This is a very good result, which does not affect the visual perception of the backlight response in any way.