Open polyh3dron opened 1 year ago
Current used jpeg stack is 8 bits per pixel only. Same goes for the used image types in Go.
Not sure if its trivial to modify current used jpeg stack to 10, 12, or 16 bits per pixel. If so, one would also have to change quite a portion where the image types are being used..
Anyway, I'm not planning on diving further into that. Someone else has to chime in here.
Internally I switched to turbojpeg v3 API. There are APIs for 12 bit and 16 bit encodes and decodes. However there seems to be no SIMD support for these bit dephs yet and therefore are in the range of 2x-3x slower compared to 8 bit, so I'm not very keen to try it out atm.
Please consider adding HDR to this plugin, it would make it the only viable way to game on a PC at 4K in HDR and do dual PC streaming in HDR and/or tonemap on the 2nd PC while recording in HDR on the gaming PC. As it is, it's possible to tonemap to SDR on the gaming PC's output, but this also means any OBS recording on the main PC will also be tonemapped to SDR.