[vlc-devel] [PATCH] picture: split the plane definition from the picture creation

Steve Lhomme robux4 at gmail.com
Wed Feb 1 16:30:55 CET 2017

On Tue, Jan 31, 2017 at 5:05 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le tiistaina 31. tammikuuta 2017, 8.56.21 EET Steve Lhomme a écrit :
>> On Mon, Jan 30, 2017 at 6:01 PM, Rémi Denis-Courmont <remi at remlab.net>
> wrote:
>> > Le maanantaina 30. tammikuuta 2017, 10.49.54 EET Steve Lhomme a écrit :
>> >> This way we can tell plane dimensions from a video format anywhere.
>> >
>> > That seems pretty useless. The plane dimensions only represent how VLC
>> > would allocate a picture in RAM. It says nothing of the actual format
>> > allocated by the video output plugin nor the alignment requirements of
>> > the decoder and filters .
>> For now I need this to decode to GPU memory rather than CPU memory.
> As I already wrote, the VLC picture plane dimensions are completely irrelevant
> in this case. This patch makes zero sense to me.

Maybe I'm not clear enough. I need this to provide planes to the
decoder. But instead of being allocated with malloc() they are
allocated in the GPU. I want to mirror exactly what VLC provides to
the decoder.

Also it should probably named plane_Setup() as there are already some
plane_ functions.

> --
> 雷米‧德尼-库尔蒙
> https://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