[vlc-devel] [PATCH 05/12] image: implement the get_device to provide a decoder device to the decoder

Steve Lhomme robux4 at ycbcr.xyz
Mon Dec 9 11:32:17 CET 2019


On 2019-12-02 18:38, Rémi Denis-Courmont wrote:
> Le maanantaina 2. joulukuuta 2019, 15.26.12 EET Steve Lhomme a écrit :
>> The decoder device is created with a NULL window. This can work with some
>> decoder devices but in some case none will be created and we just get NULL.
> 
> Do we really want to support hardware decoding for images? Seems to me that
> between the overhead of allocating the hardware context and moving the pixels,
> it will be slower than software decoding anyway.

Indeed, most of the time it's forced to output RGBA or YUVA anyway. So 
we don't need hardware decoding for now. I'll just return NULL.


More information about the vlc-devel mailing list