obs-studio/plugins/mac-virtualcam/src/obs-plugin
PatTheMav 967bce5e15 mac-virtualcam: Fix distorted virtual cam image when using full range
The root cause of the issue is `swscale` dropping the second plane of
biplanar pixel data, resulting in an "incomplete" frame being fed to the
CVPixelBuffer.

As CVPixelBuffers have dedicated support for full range colour, use
these directly, which improves performance even further (as any
conversion for full range data is avoided as well).

To ensure that OBS does not implicitly enable conversion via `swscale`
a video conversion struct needs to be set in any case, ensuring that the
output range and colourspace match the output configuration.
2022-09-21 11:04:25 -04:00
..
data/locale Update translations from Crowdin 2022-08-17 04:22:50 +00:00
CMakeLists.txt mac-virtualcam: Use IOSurface to share output with virtual cameras 2022-06-10 13:36:54 +02:00
Defines.h mac-virtualcam: Remove unnecessary plugin version number 2021-10-24 00:22:53 -07:00
OBSDALMachServer.h mac-virtualcam: Use IOSurface to share output with virtual cameras 2022-06-10 13:36:54 +02:00
OBSDALMachServer.mm mac-virtualcam: Fix virtualcam video on Intel-based Macs 2022-09-21 11:04:25 -04:00
plugin-main.mm mac-virtualcam: Fix distorted virtual cam image when using full range 2022-09-21 11:04:25 -04:00