drm pixel formats update

Ville Syrjälä ville.syrjala at linux.intel.com
Wed Nov 16 14:20:44 PST 2011


On Wed, Nov 16, 2011 at 01:23:01PM -0800, Jesse Barnes wrote:
> On Wed, 16 Nov 2011 23:19:38 +0200
> Ville Syrjälä <ville.syrjala at linux.intel.com> wrote:
> > Oh and one extra detail just occured to me regarding the three plane
> > formats. Should we even define formats for both the YUV vs. YVU
> > variant. Seeing as we now have independent handles and offsets for
> > each plane, we can make do with just one format definition.
> 
> Don't you still need to know the order?  I.e. what's in handle[1], U or
> V?

We could define it so that handle[1] is always Cb and handle [2] is Cr,
for example. Then it's up to user space to set the handles orrectly,
which it has to do anyway.

-- 
Ville Syrjälä
Intel OTC


More information about the dri-devel mailing list