This patch has been pushed to the master branch. *__________________________* *Karam Singh* *Ph.D. IIT Guwahati* Senior Software (Video Coding) Engineer Mobile: +91 8011279030 Block 9A, 6th floor, DLF Cyber City Manapakkam, Chennai 600 089
On Tue, Sep 10, 2024 at 10:54 PM Dash Santosh < dash.sathyanaraya...@multicorewareinc.com> wrote: > This patch optimizes the frame threads count on Windows ARM devices. The > number of frame threads is set to the number of CPU cores, which enhances > the overall encoding performance on ARM-based Windows devices. > > From 09c947262350231868608e3e30b03cfdc1230b25 Mon Sep 17 00:00:00 2001 > From: Dash Santosh <dash.sathyanaraya...@multicorewareinc.com> > Date: Tue, 10 Sep 2024 20:29:20 +0530 > Subject: [PATCH] Framethreads tuning for Windows ARM devices > > --- > source/common/threadpool.cpp | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/source/common/threadpool.cpp b/source/common/threadpool.cpp > index 91e82a24e..9c27be783 100644 > --- a/source/common/threadpool.cpp > +++ b/source/common/threadpool.cpp > @@ -669,7 +669,11 @@ void ThreadPool::getFrameThreadsCount(x265_param* p, > int cpuCount) > else if (cpuCount >= 16) > p->frameNumThreads = 4; > else if (cpuCount >= 8) > +#if _WIN32 && X265_ARCH_ARM64 > + p->frameNumThreads = cpuCount; > +#else > p->frameNumThreads = 3; > +#endif > else if (cpuCount >= 4) > p->frameNumThreads = 2; > else > -- > 2.43.0.windows.1 > > -- > > * <https://multicorewareinc.com/>* > <https://www.linkedin.com/company/multicoreware-inc/> > <https://twitter.com/MulticoreWare> > <https://www.facebook.com/multicoreware> > <https://www.youtube.com/channel/UCXZ1A1MzS5JwBqwBkNfsBBw?sub_confirmation=1> > <https://www.instagram.com/multicoreware.inc/> > > *Dash Santosh* > > *Research Engineer, Video Engineering* > > Mobile: +91 78679 43737 > > IndiQube Echo Point, Avinashi Road > > Coimbatore - 641 014 > > > > > _______________________________________________ > x265-devel mailing list > x265-devel@videolan.org > https://mailman.videolan.org/listinfo/x265-devel >
_______________________________________________ x265-devel mailing list x265-devel@videolan.org https://mailman.videolan.org/listinfo/x265-devel