From bd49854c3299d1cc090255ef6414d723e8652862 Mon Sep 17 00:00:00 2001 From: Joan Pau Beltran Date: Wed, 1 Jun 2016 15:31:52 +0200 Subject: [PATCH] docs: design: add IYU2 raw video format description https://bugzilla.gnome.org/show_bug.cgi?id=763026 --- docs/design/part-mediatype-video-raw.txt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/docs/design/part-mediatype-video-raw.txt b/docs/design/part-mediatype-video-raw.txt index 541b366..c7fc837 100644 --- a/docs/design/part-mediatype-video-raw.txt +++ b/docs/design/part-mediatype-video-raw.txt @@ -754,6 +754,30 @@ Formats default rstride: RU4 (width * 3) default size: rstride (image) * height + "IYU2" packed 4:4:4 YUV, U-Y-V order + + +--+--+--+ +--+--+--+ + |U0|Y0|V0| |U1|Y1|V1| ... + +--+--+--+ +--+--+--+ + + Component 0: Y + depth: 8 + pstride: 3 + offset: 1 + + Component 1: U + depth 8 + pstride: 3 + offset: 0 + + Component 2: V + depth: 8 + pstride: 3 + offset: 2 + + Image + default rstride: RU4 (width * 3) + default size: rstride (image) * height "RGB16" rgb 5-6-5 bits per component -- 2.7.4