[Mesa-dev] [RFC PATCH 0/7] gallium: Video postprocessor rework

Thomas Hellstrom thellstrom at vmware.com
Thu Mar 2 20:00:04 UTC 2017


This patch series introduces a postprocessor abstraction. It could be promoted
to a gallium interface but for now it's implemented as a utility. The idea
is that a driver wanting to implement the whole or part of the postprocessing
pipeline using video hardware can do that. It also significantly simplifies
implementing a future full postprocessor pipeline also in the libVA
state tracker.

Some highlights:
- The postprocessor abstraction is very similar to the vl compositor API,
except it add filters.
- The bounce buffer cache. Caches buffers where we know more about the usage.
This may duplicate driver functionality but for drivers with strongly typed
buffers, it's a big win.
- Moving the bicubic filter. Avoids duplicated code and makes things like
rotation and blending straightforward.
- A g3dvl implementation. Mostly replicates the old implementation using the
vl compositor, but with provisions to replace part of the postprocessing
pipeline.
- State tracker modifications for VDPAU and VA.

- Tested with mplayer -vo vdpau software playback on Nouveau.




More information about the mesa-dev mailing list