[Bug 758548] vaapipostproc: Allow video scaling using capsfilter

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 29 09:05:05 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=758548

--- Comment #3 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Hi,

This a head up of what I've been doing lately on this issue.

I started studying what Scott did on transform_caps() vmethod because I didn't
understand it. Then I realized how this vmethod is implemented in other
elements and how Scott bring these implementations into vaapipostproc. Great
job, Scott!

But I also realized that vaapipostproc is a "super-element" which bundles these
video filters

* videoscale
* videoconvert
* deinterlace
* videobalance

among other tasks, such as skin color enhancement.

This means that, if we want to provide the same user experience, as using a
combination of those elements, we need to implement these complex functions
transform_caps() and fixate_caps() as all those elements do. It is not a
trivial task. Though what Scott did is a good start.

I have worked a lot, re-writing Scott patch because I saw it is required to
handle the color formats differently (querying the available surface-upload and
surface-download color formats) and only transforming the caps when the sink
caps were not fixated yet. It works but still I'm facing tons of regressions :/

-- 
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