From 98332bda816c8f62d9e01f5ee93aa2c357d3a511 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 15 Oct 2012 15:50:44 +0200 Subject: [PATCH] docs: fix RGB8P format description docs --- docs/design/part-mediatype-video-raw.txt | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/docs/design/part-mediatype-video-raw.txt b/docs/design/part-mediatype-video-raw.txt index c3e86e6..5e74dec 100644 --- a/docs/design/part-mediatype-video-raw.txt +++ b/docs/design/part-mediatype-video-raw.txt @@ -897,19 +897,22 @@ Formats "RGB8P" 8-bit paletted RGB - Component 0: R + Component 0: INDEX depth: 8 + pstride: 1 + default offset: 0 + default rstride: RU4 (width) + default size: rstride (component0) * height - Component 1: G - depth 8 - - Component 2: B - depth: 8 + Component 1: PALETTE + depth 32 + pstride: 4 + default offset: size (component0) + rstride: 4 + size: 256 * 4 Image - default pstride: 1 - default rstride: RU4 (width) - default size: rstride (image) * height + default size: size (component0) + size (component1) "YUV9" planar 4:1:0 YUV -- 2.7.4