[vlc-devel] [PATCH v2 21/22] opengl: document filters implementation

Alexandre Janniaux ajanni at videolabs.io
Thu Jul 2 18:21:02 CEST 2020


Hi,

The point that I explained in previous patchset is exactly
that it can very easily be exposed as a filter_t by exposing
a video fliter capability wrapping an instantiation of
opengl{filters=MODULE_STRING}, but opengl filters by themselves
have a much wider range and removes opengl limitation regarding
resource usage and complex problematics on context switching,
threading and resource provision.

Where I join your point is that we shouldn't expose «opengl
filters» with a mechanism completely different than video filter,
and this is a UX problem, not a capability issue.

> Normally, hardware-accelerated filter are just regular filters that check their
> input format, not some custom filter type.

Since years, the OpenGL doesn't handle the input format,
glconv modules did and glinterop are doing it now. Here the
hardware-accelerated filter will be the video filter "opengl"
but not necessarily "opengl filter" modules directly.

Regards,
--
Alexandre Janniaux
Videolabs

On Thu, Jul 02, 2020 at 06:24:35PM +0300, Rémi Denis-Courmont wrote:
> Le torstaina 2. heinäkuuta 2020, 18.12.03 EEST Alexandre Janniaux a écrit :
> > The documentation is not up-to-date anymore with the option.
> >
> > I feel that we also didn't choose about how to handle --gl-filter
> > addition/removal which would change the documentation here.
>
> It's not just the CLI. Having a separate capability for OpenGL is also a
> problem, as it won't fit the existing filtering system and any redesign thereof.
> And it won't work with the GUI, which is in fact the main problem with
> hardware acceleration to this date.
>
> Normally, hardware-accelerated filter are just regular filters that check their
> input format, not some custom filter type.
>
> --
> 雷米‧德尼-库尔蒙
> http://www.remlab.net/
>
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list