picture buffers and stride

Gildas Bazin gbazin at netcourrier.com
Wed Apr 17 09:18:01 CEST 2002


On Wed, 17 Apr 2002 Samuel Hocevar wrote:
>
>   Ok, what about this strategy then:
>    - change the memory buffer allocation routines to add a stride or
>     margin argument
>    - in the video output plugin, stop creating direct buffers if we
>     just created one which doesn't have the same stride as the first
>     we created
>
>   Frankly, I think all decoders should be allowed to assume all the
>buffers they get have the same size. For the moment we only have MPEG,
>but if/when we start supporting additional formats, we don't want to
>have to kludge all decoders.
>

Ok fair enough, this seems like a good solution and besides everybody seems to agree that handling buffers with different strides is not worth the complexity. I'm convinced :)

--
Gildas

-------------------------------------------------------------
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min)
Minitel: 3615 NETCOURRIER (0,15 € TTC/min)


-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list