From 3f7355426d512169719fcc57800cc9d3c1cb6191 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 28 May 2012 14:49:52 +0200 Subject: [PATCH] docs: update video formats document --- docs/design/part-mediatype-video-raw.txt | 79 +++++++++++++++++++++++++++----- 1 file changed, 67 insertions(+), 12 deletions(-) diff --git a/docs/design/part-mediatype-video-raw.txt b/docs/design/part-mediatype-video-raw.txt index ee38d78..2fa03cf 100644 --- a/docs/design/part-mediatype-video-raw.txt +++ b/docs/design/part-mediatype-video-raw.txt @@ -620,17 +620,17 @@ Formats "v216" packed 4:2:2 16-bit YUV, Y0-U0-Y1-V1 order Component 0: Y - depth: 16 + depth: 16 LE pstride: 4 offset: 0 Component 1: U - depth 16 + depth 16 LE pstride: 8 offset: 2 Component 2: V - depth: 16 + depth: 16 LE pstride: 8 offset: 6 @@ -716,7 +716,7 @@ Formats "Y16" same as "GRAY16_LE" Component 0: Y - depth: 16 + depth: 16 LE offset: 0 pstride: 2 default rstride: RU4 (width * 2) @@ -995,22 +995,22 @@ Formats +--+--+--+--+ +--+--+--+--+ Component 0: R - depth: 16 + depth: 16 LE pstride: 8 offset: 2 Component 1: G - depth 16 + depth 16 LE pstride: 8 offset: 4 Component 2: B - depth: 16 + depth: 16 LE pstride: 8 offset: 6 Component 3: A - depth: 16 + depth: 16 LE pstride: 8 offset: 0 @@ -1025,22 +1025,22 @@ Formats +--+--+--+--+ +--+--+--+--+ Component 0: Y - depth: 16 + depth: 16 LE pstride: 8 offset: 2 Component 1: U - depth 16 + depth 16 LE pstride: 8 offset: 4 Component 2: V - depth: 16 + depth: 16 LE pstride: 8 offset: 6 Component 3: A - depth: 16 + depth: 16 LE pstride: 8 offset: 0 @@ -1070,3 +1070,58 @@ Formats default rstride: width * 4 default size: rstride (image) * height + "I420_10LE" planar 4:2:0 YUV, 10 bits per channel LE + + Component 0: Y + depth: 10 LE + pstride: 2 + default offset: 0 + default rstride: RU4 (width * 2) + default size: rstride (component0) * RU2 (height) + + Component 1: U + depth: 10 LE + pstride: 2 + default offset: size (component0) + default rstride: RU4 (width) + default size: rstride (component1) * RU2 (height) / 2 + + Component 2: V + depth 10 LE + pstride: 2 + default offset: offset (component1) + size (component1) + default rstride: RU4 (width) + default size: rstride (component2) * RU2 (height) / 2 + + Image + default size: size (component0) + + size (component1) + + size (component2) + + "I420_10BE" planar 4:2:0 YUV, 10 bits per channel BE + + Component 0: Y + depth: 10 BE + pstride: 2 + default offset: 0 + default rstride: RU4 (width * 2) + default size: rstride (component0) * RU2 (height) + + Component 1: U + depth: 10 BE + pstride: 2 + default offset: size (component0) + default rstride: RU4 (width) + default size: rstride (component1) * RU2 (height) / 2 + + Component 2: V + depth 10 BE + pstride: 2 + default offset: offset (component1) + size (component1) + default rstride: RU4 (width) + default size: rstride (component2) * RU2 (height) / 2 + + Image + default size: size (component0) + + size (component1) + + size (component2) -- 2.7.4