[vlc-devel] [RFC 0/1] Let decoders decide over DPB size.

Rémi Denis-Courmont remi at remlab.net
Sat Aug 24 13:11:53 CEST 2013


Le samedi 24 août 2013 12:54:25 Julian Scheel a écrit :
> > I don't see that. For VDPAU, pictures are just picture_t structures. The
> > DPB size is overestimated, but the overhead is negligible.
> 
> That overhead is not negligible if you can not be sure to have enough
> memory for the upper limit of the decoder.

I am sure there is enough memory to allocate 24 times sizeof(picture_t) bytes.

> >> Would you see any other decoder modules that
> >> would actually required the picture pool to include dpb as of now?
> > 
> > Almost all decoders would need to be updated to set their respective DPB
> > size explicitly.
> 
> What about keeping a default of 2, as it is with the current code, and
> let the decoders explicitly override when needed? -> 18 for H264
> decoders, 3 for VP*.

Mmh.

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list