VirtualDub plugin for RGB-style color correction in YUV4xx

YUVColor Correction (5000) is a VirtualDub plugin to adjust colors in planar YUV4xx formats, but in style of RGB controls. There is no internal conversion to RGB and back to YUV, as is the case with other plugins. For that, when chroma subsampling was applied, it would be a lossy process in which, for example, color transitions become blurred and some sharpness is lost.. It remains in YUV format. The channels get translated and you can adjust red, green and blue separately. The full version can also adjust gamma, contrast and saturation. I needed it, because I wanted to correct an old MPEG-2 recording shot-by-shot and avoid loss of quality due to re-chroma subsampling. Planar YUV410, planar YUV411, planar YUV420, planar YUV422, and planar YUV444 formats are accepted and the BT.601 and BT.709 color matrices are supported. I tested it in VirtualDub2 32 and 64 Bit. It should also work in older versions.
How i made it?
I had no knowledge in C++ programming. OpenAI's ChatGPT done the most work. But since version 1.2.x, I have done the changes myself. It is based on the VirtualDub Plugin SDK v1.2 and was modified in MS Visual Studio 2022 Community Edition. If you want to edit and compile the source code, you must first download the VDPluginSDK-1.2.zip. After that, let Visual Studio convert the project files and then you can copy and replace the source code from my package. It will output a "SampleVideoFilter.vdf". You have to rename the file or edit it in the VS Project. Btw. comments are in German.
The Features:
Adjust Red, Green and Blue separately
Adjust Gamma, Contrast and Saturation (Full version)
Moveable Sliders
Input Fields
Real-time Preview
Copy and Paste Function
Download:
YUV420 Color Correction (5000) Light v1.0
YUV420 Color Correction (5000) Full v1.0
YUV420 Color Correction (5000) Light v1.0.1
YUV420 Color Correction (5000) Full v1.0.1
YUV420 Color Correction (5000) Light v1.1
YUV420 Color Correction (5000) Full v1.1
YUV420 Color Correction (5000) Light v1.1.1
YUV420 Color Correction (5000) Full v1.1.1
YUV Color Correction (5000) Light v1.2
YUV Color Correction (5000) Full v1.2
YUV Color Correction (5000) Light v1.2.1
YUV Color Correction (5000) Full v1.2.1
YUV Color Correction (5000) Light v1.3
YUV Color Correction (5000) Full v1.3
YUV Color Correction (5000) Light v1.3.1
YUV Color Correction (5000) Full v1.3.1
An alternative plugin
YUV Gamma Correction (5000) allows for independent gamma adjustment using RGB controls in planar YUV4xx formats. It is merely a test plugin as an alternative. There are quality issues, because internal conversion to RGB and back to YUV is required, which introduces rounding errors. Also even so, there is no loss of quality due to repeated chroma subsampling calculations, as that process is not performed. Planar YUV410, planar YUV411, planar YUV420, planar YUV422, and planar YUV444 formats and the BT.601, and BT.709 color matrices are selectable from the ZIP package.
The Features:
Adjust Gamma separately for Red, Green, and Blue
Moveable Sliders
Input Fields
Real-time Preview
Copy and Paste Function
Download: