Re: [FFmpeg-devel] [PATCH v6] avcodec/v210dec: add the frame and slice threading support

2019-10-17 Thread Limin Wang
On Thu, Oct 17, 2019 at 06:43:33PM +0200, Michael Niedermayer wrote: > On Tue, Oct 15, 2019 at 06:37:10PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Threading is to avoid a core cpu being occupied fully with other filters > > like scale, > > regarding performance, if your

Re: [FFmpeg-devel] [PATCH v6] avcodec/v210dec: add the frame and slice threading support

2019-10-17 Thread Michael Niedermayer
On Tue, Oct 15, 2019 at 06:37:10PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Threading is to avoid a core cpu being occupied fully with other filters like > scale, > regarding performance, if your cpu frequency is very high, the gain is very > small, but > with more cores and

[FFmpeg-devel] [PATCH v6] avcodec/v210dec: add the frame and slice threading support

2019-10-15 Thread lance . lmwang
From: Limin Wang Threading is to avoid a core cpu being occupied fully with other filters like scale, regarding performance, if your cpu frequency is very high, the gain is very small, but with more cores and fewer cpu MHz cpus, you will get more improvements. The following is my testing