- From: Johannes Kron via GitHub <sysbot+gh@w3.org>
- Date: Thu, 28 Nov 2019 11:32:10 +0000
- To: public-webrtc-logs@w3.org
> If the bits per pixel is 12, how can the bits per channel be 8? For YUV 420, which is what the SW decoder outputs, two of the channels are subsampled so that for an area of 2x2 pixels there are 4 Y samples, 1 U sample, and 1 V sample. If all are encoded using 8 bits that gives in total 48 bits for 4 pixels. However, many HW decoders output directly into RGB in which the output is 3x8 pixels. So the problem (from my perspective) is that you get different result depending on if the frame is decoded using a SW or HW decoder. So the bit depth per channel is same in both cases. Another solution is of course to always report the bit depth per RGB pixel. > > If this is problem of before vs after conversion, don't we just need to clarify that this value is before converting it? I.e. the raw information. > > Otherwise, should there be a before and an after value? -- GitHub Notification of comment by drkron Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/516#issuecomment-559457452 using your GitHub account
Received on Thursday, 28 November 2019 11:32:12 UTC