[vlc-devel] [PATCH 0/2] Filters with chroma conversion

Rémi Denis-Courmont remi at remlab.net
Fri May 12 16:28:55 CEST 2017

Le perjantaina 12. toukokuuta 2017, 11.16.18 EEST Steve Lhomme a écrit :
> I did some performance tests. For 1080p decoding + filter there is no
> frame dropped in software decoding or hardware decoding. The CPU usage
> is way down with the hardware decoding, although the CPU double copy
> makes the display thread very busy. It's still better battery wise.

Good for you. That does not make it universally tru because that is not what 
hardware decoders are designed for.

We would have enabled hardware decoding without pass-through by default if it 
worked well everywhere.

> There is the decoder+filter/vout adapt chain in video_output/display.c
> but it's not used because the filter is never added to the chain in
> the first place. Here is an example of trying to add a filter when
> using DXVA2 decoding:

The filter is PURPOSEFULLY refusing to perform conversion from GPU.

The points is, the core infrastructure to do conversion for filters is there, 
and there is no need to add another way to do the exact same thing.


More information about the vlc-devel mailing list