The first element in UV plane of the NV12 should be mapped to Cb, and the first element in UV plane of the NV21 should be mapped to Cr.
Bug 1778405 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
The first element in UV plane of the NV12 [should be mapped to Cb](https://searchfox.org/mozilla-central/rev/f816e52d85cdaf0be7c9e1d2297f833e9ef53e2e/dom/media/gtest/YUVBufferGenerator.cpp#96), and the first element in UV plane of the NV21 [should be mapped to Cr](https://searchfox.org/mozilla-central/rev/f816e52d85cdaf0be7c9e1d2297f833e9ef53e2e/dom/media/gtest/YUVBufferGenerator.cpp#127).
The first element in UV plane of the NV12 [should be mapped to Cb](https://searchfox.org/mozilla-central/rev/f816e52d85cdaf0be7c9e1d2297f833e9ef53e2e/dom/media/gtest/YUVBufferGenerator.cpp#96), and the first element in UV plane of the NV21 [should be mapped to Cr](https://searchfox.org/mozilla-central/rev/f816e52d85cdaf0be7c9e1d2297f833e9ef53e2e/dom/media/gtest/YUVBufferGenerator.cpp#132).