[Mesa-dev] [PATCH 4/8] etnaviv: add 2D GPU YUV->RGB blitter

Lucas Stach l.stach at pengutronix.de
Fri Apr 26 08:05:08 UTC 2019


Am Freitag, den 26.04.2019, 08:24 +0200 schrieb Christian Gmeiner:
> Am Fr., 12. Apr. 2019 um 19:38 Uhr schrieb Lucas Stach <l.stach at pengutronix.de>:
> > 
> > This adds a blit path using the 2D GPU for a linear YUV to tiled RGB
> > blit. This allows to implement importing of planar YUV textures with
> > a single copy.
> > 
> > > > Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
> > ---
[...]
> > +
> > +   switch (blit_info->src.format) {
> > +   case PIPE_FORMAT_NV12:
> > +      src_format = DE_FORMAT_NV12;
> > +      break;
> > +   case PIPE_FORMAT_YUYV:
> > +      src_format = DE_FORMAT_YUY2;
> > +      break;
> 
> Do you need to support YUVU in your utlra fast video-path with glReadPixels(..)?

Yes, as this is the output format of the VDOA. Using the VPU together
with the VDOA is the highest performing video decode path on i.MX6.

Regards,
Lucas


More information about the mesa-dev mailing list