Bug 1643143 - Touch up doc comment and diagram for PlanarYCbCrImage. r=mattwoodrow

Differential Revision: https://phabricator.services.mozilla.com/D78144
This commit is contained in:
Bryce Seager van Dyk 2020-06-03 21:43:25 +00:00
Родитель f3527b4c51
Коммит f7ea6aff05
1 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -769,16 +769,16 @@ struct PlanarYCbCrData {
* formats from hardware decoder. They are per-pixel skips in the
* source image.
*
* For example when image width is 640, mYStride is 670, mYSkip is 3,
* For example when image width is 640, mYStride is 670, mYSkip is 2,
* the mYChannel buffer looks like:
*
* |<----------------------- mYStride ----------------------------->|
* |<----------------- mYSize.width --------------->|
* 0 3 6 9 12 15 18 21 659 669
* 0 3 6 9 12 15 18 21 639 669
* |----------------------------------------------------------------|
* |Y___Y___Y___Y___Y___Y___Y___Y... |%%%%%%%%%|
* |Y___Y___Y___Y___Y___Y___Y___Y... |%%%%%%%%%|
* |Y___Y___Y___Y___Y___Y___Y___Y... |%%%%%%%%%|
* |Y___Y___Y___Y___Y___Y___Y___Y... |%%%%%%%%%%%%%%%|
* |Y___Y___Y___Y___Y___Y___Y___Y... |%%%%%%%%%%%%%%%|
* |Y___Y___Y___Y___Y___Y___Y___Y... |%%%%%%%%%%%%%%%|
* | |<->|
* mYSkip
*/