For YUV420 10 bit semiplanar format (also called as P010 as described in MSDN link) the data arrangement is as follows,
- Y (luma) is stored in a plane with each pixel taking a word (16 bit)
- U and V (chroma) is stored in a seperate plane together in interleaved format. UV takes 32 bit together. Least significant word is U, MSW is V
Question is within 16bit, how are the 10bit data packed. Does pixel data start from 0th bit to 10th bit, or from 6th bit to 16th bit? The explanation is not clear in MSDN. Pointing out the corresponding spec in standard will also be helpful