diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2014-01-08 19:41:56 -0500 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2014-01-13 10:47:03 -0500 |
commit | f52fd7a68b8b6e5814aa076fcade6f0d5a7ef066 (patch) | |
tree | 8159d1f68a519d20cd1d9a8e56f37157beb93e1f /docs | |
parent | d899e6df5ac162709f8d2cf53c23d0fa8ce3f09f (diff) |
video: Don't use extra plane and componenent for tile format
Instead of using extra plane, we encode the number of tiles in x and y in the stride of
each planes (i.e. y_tiles << 16 | x_tiles) and introduce tile_mode, tile_width and
tile_height into GstVideoFormatInfo structure.
https://bugzilla.gnome.org/show_bug.cgi?id=707361
Diffstat (limited to 'docs')
-rw-r--r-- | docs/design/part-mediatype-video-raw.txt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/design/part-mediatype-video-raw.txt b/docs/design/part-mediatype-video-raw.txt index 99771e96f..ad8f2564c 100644 --- a/docs/design/part-mediatype-video-raw.txt +++ b/docs/design/part-mediatype-video-raw.txt @@ -1213,21 +1213,21 @@ Formats depth 8 pstride: 2 default offset: size (component0) - default rstride: RU128 (width) + default rstride: (y_tiles << 16) | x_tiles + default x_tiles: RU128 (width) >> tile_width + default y_tiles: RU32 (height) >> tile_height Component 2: V depth: 8 pstride: 2 default offset: offset (component1) + 1 - default rstride: RU128 (width) - - Component 3: T - pstride TileMode zigzag - w_sub 6 - h_sub 5 - default offset: 0 - default rstride: y_tiles + default rstride: (y_tiles << 16) | x_tiles + default x_tiles: RU128 (width) >> tile_width + default y_tiles: RU64 (height) >> (tile_height + 1) Image - default size: RU128 (width) * RU32 (height) * 3 / 2 + default size: RU128 (width) * (RU32 (height) + RU64 (height) / 2) + tile mode: ZFLIPZ_2X2 + tile width: 6 + tile height: 5 |