Add NV12 support (V4L2 needs work) - #133
Conversation
|
Excellent, thanks for the improvement! The reason why We can update it by adding |
|
@Muny I'm continuing these works, could you please rebase on current devel? |
|
@kakulukiya45t654645 We are working on this issue to update the V4L2 interoperability code, we also need to update and verify in the loongarch64 environment, but I do not have the environment. Could you please update it when we are ready? What we need is to re-run the script |
|
@Muny Sorry later thanks! I merged temporary and will create new branch for remaining works. |
Spurred by #132
This is my first attempt at adding NV12 support.
Tested on Win11 with .NET 8.0 with an Elgato CamLink 4K.
I couldn't quite figure out the code generator for the V4L2 native methods, so that will need support. I'm willing to help test that on x86_64 Linux once that's working.
To make it easier to support new frame formats in the future, it may be wise to make some use of a library like libyuv (just a suggestion, I know you want to keep the number of dependencies low)