Radzivon Bartoshyk
Radzivon Bartoshyk
Issue you mentioned almost have no relation to coefficients. There is discussion about chroma subsampling, as far as I could see. [Here](https://github.com/kornia/kornia/issues/934#issuecomment-937659992) is one of authors mentioned that coeffs are...
OpenCV use by.601 limited range matrix which is quite common. Nowadays, Bt.709 limited range is more common, because for any size larger than SD bt.709 should be used, but bt....
Most software will use by.601 for SD content, by.709 for HD content and bt.2020 for wide gamut or uhd content. This is common workflow, you’ll find it as default almost...
> Most software will use by.601 for SD content, by.709 for HD content and bt.2020 for wide gamut or uhd content You need this pipeline then. You may ignore it...
P.S I420 means Y'UV 4:2:0 exactly in Bt.601, just to make it clear. But this unlikely that all cameras will always send you I420. But as I already wrote, this...
I420 is in **BT.601 Limited Range** with Y'UV 4:2:0 layout. You could check common YUV FourCC on libyuv page https://chromium.googlesource.com/libyuv/libyuv/+show/master/docs/formats.md. From a practical standpoint, you won't find cameras recording in...
This is Bt.601 full range matrix, not limited. This is an effect you'll see using invalid YUV range. https://github.com/gcanat/video_reader-rs/issues/45 I'm sure that 99% cameras stream NV12 in limited range, but...
I wrote once for image-rs simple and reasonable effective implementation supporting almost arbitrary inversion matrix. https://github.com/image-rs/image/blob/f337e27aadaae8b86484429bc6020fef8a019c95/src/codecs/avif/yuv.rs#L625 I think it might be easier for @omar-abdelgawad just drop in few minutes fixed...
Why not to use mmap for this task?
I can confirm it is not available and this is something that I definitely won’t do. I can accept PR only for this, and based on code I’ll decide if...