4 ms·
Why does is it make sense to compare RGB32 to YUV? I would’ve thought simple RGB24 to be a more apt comparison in the context below: With RGB32, you need 32 b
by WhitneyLand 4y ago
Why does is it make sense to compare RGB32 to YUV?
I would’ve thought simple RGB24 to be a more apt comparison in the context below:
With RGB32, you need 32 bits per pixel. With an YUV 4:2:0 format, for 4 pixels you need to store a total of 6 samples, so 6x8= 48 bits. That is effectively 48/4 = 12 bits per pixel, so only 37.5% of RGB32. That matters.
- omegalulw 4y agoI'm confused as well. Idk why the author is comparing RGB32 to YUV.
- Scali 4y agoThis was in the context of using the video as a texture. As I tried to explain, the RGB texture formats with 8-bit precision use 32-bit words. There are no 24-bit formats available as a texture format. NV12 is also a native texture format, so it makes sense to compare these two formats in this context.
- WhitneyLand 4y agoThat makes sense, thanks. Nice write up btw.