[vlc-devel] [PATCH 1/6] chroma: chain: suggest *->CVPI conversion

Rémi Denis-Courmont remi at remlab.net
Wed Jun 10 20:22:35 CEST 2020


Le tiistaina 9. kesäkuuta 2020, 19.43.55 EEST Alexandre Janniaux a écrit :
> When generating pictures with VLC_CODEC_CVPX_BGRA as i_chroma, the core
> will add the following conversion:
> 
>     CVPB -> BGRA -> I422 -> I420
> 
> Instead, by hinting that it could use VLC_CODEC_CVPX_I420, we get the
> following conversion chain:
> 
>     CVPB -> CVPI -> I420

I don't think that this patch does that. It rather just tries to go via CVPI 
(essentially) always. This does not sound like a very good idea.

You may be better off handling this special case in macOS specific plugins.

-- 
Реми Дёни-Курмон
http://www.remlab.net/





More information about the vlc-devel mailing list