[vlc-devel] [PATCH 05/27] opengl: store video format in sampler

Alexandre Janniaux ajanni at videolabs.io
Mon Jun 29 16:36:02 CEST 2020


Hi,

I completely agree, but the code needs to match what is currently
in place in the repository, or patches are needed to change that
beforehand.

Regards,
--
Alexandre Janniaux
Videolabs

On Mon, Jun 29, 2020 at 05:31:04PM +0300, Rémi Denis-Courmont wrote:
> Le maanantaina 29. kesäkuuta 2020, 17.05.23 EEST Romain Vimont a écrit :
> > The line below, I set p_palette to NULL because we don't use it. But
> > yes, it's hacky.
>
> It's not hacky. What's hacky is to have a palette in video_format_t.
>
> > It was to avoid video_format_Copy() (which imposes error handling).
>
> It's about time we stop treating palettized pixmaps as decoded images,
> actually decode the palette in the decoder and *not* have a palette field in
> the video format.
>
> The year is not 1990.
>
> There are exactly one video decoder that can output palettized RGB, avcodec,
> and zero that can output YUVP (YUVP is only valid for SPU).
>
> And then video_format_Copy() cannot fail any longer.
>
> --
> レミ・デニ-クールモン
> 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