[Bug 707361] video: Add support for 64x32 tiled NV12 color format

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jan 8 17:15:54 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=707361
  GStreamer | gst-plugins-base | git

--- Comment #52 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2014-01-09 01:15:45 UTC ---
Created an attachment (id=265808)
 View: https://bugzilla.gnome.org/attachment.cgi?id=265808
 Review: https://bugzilla.gnome.org/review?bug=707361&attachment=265808

Don't use extra plane and component

As discussed on IRC, a) using an extra plane without actually having associated
plane data was not very nice and b) using the forth component would prevent
support for tile ARGB or A420 formats.

Proposed solution for a)  is to encode the size in tiles in the stride:

  (y_tile << 16) | x_tiles

For b) I simply added tile_mode (the tiling mode, currently ZFLIPZ_2X2),
tile_ws (the tile width shift), tile_hs (the tile height shift). It was discuss
that we probably don't need to do the union with the reserved data since this
structure is never allocated on the stack or not by GStreamer. A fourth opinion
is welcomed.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list