cloud-game/pkg/encoder
sergystepanov f4c3a8cfef
Add new YUV converter with avg color calc (#287)
Add new YUV converter with 2x2 pixel matrix YUV color estimation.

The new YUV color converter, as opposed to the original one, uses more precise color calculations based on four neighboring pixels' average color values which helps a great deal with image aliasing / shimmering artifacts.
By default, it runs in the multithreaded mode with the game frames sliced between 2*(CPU cores) goroutines.
In case if this estimation mode doesn't work as expected it is possible to switch back to the original mode.

The default encoder is switched to x264 since it's faster now.
2021-03-07 18:17:52 +03:00
..
h264 Refactor and update VPX codec (#285) 2021-02-27 18:09:55 +03:00
opus Use new OPUS buffer every audio frame for less garbage 2021-01-21 19:25:19 +03:00
vpx Refactor and update VPX codec (#285) 2021-02-27 18:09:55 +03:00
yuv Add new YUV converter with avg color calc (#287) 2021-03-07 18:17:52 +03:00
codec.go Use modified x264 lib (#275) 2021-02-21 13:51:44 +03:00
pipe.go Add new YUV converter with avg color calc (#287) 2021-03-07 18:17:52 +03:00
type.go Refactor and update VPX codec (#285) 2021-02-27 18:09:55 +03:00