From f7ea6aff05aca8f0ba2114f828aa4f1c9f85903f Mon Sep 17 00:00:00 2001 From: Bryce Seager van Dyk Date: Wed, 3 Jun 2020 21:43:25 +0000 Subject: [PATCH] Bug 1643143 - Touch up doc comment and diagram for PlanarYCbCrImage. r=mattwoodrow Differential Revision: https://phabricator.services.mozilla.com/D78144 --- gfx/layers/ImageContainer.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gfx/layers/ImageContainer.h b/gfx/layers/ImageContainer.h index bd334bdd3d68..fcfd30466029 100644 --- a/gfx/layers/ImageContainer.h +++ b/gfx/layers/ImageContainer.h @@ -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 */