On Sun, 24 Jan 2016 20:03:01 -0500 "Ronald S. Bultje" <[email protected]> wrote:
> Hi, > > On Sun, Jan 24, 2016 at 6:49 PM, Hendrik Leppkes <[email protected]> > wrote: > > Unfortunately that doesn't alleviate the other issues, like the > > complexity needed in the decoders during frame threading, or the extra > > resources needed (extra image surfaces for every thread). > > > > So, the extra code is just in the decoders, which already need it anyway > (because they implement frame-mt), right? Or do hwaccels need extra code > also? > > The extra resources aren't a big deal IMO. Memory use isn't typically a big > issue, we're adding a fw kb extra for contexts but practically all memory > is in framebuffers regardless. It's can be a big deal for hardware decoding, because hw surfaces might be a more constrained resource than system RAM. Also, you often have to preallocate _all_ surfaces you're going to use, so you'll have to add the exact number of additionally needed surfaces to the preallocation. _______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
