Pushed into master. On Thu, Jul 16, 2020 at 10:57 AM Pooja Venkatesan < po...@multicorewareinc.com> wrote:
> From 613e174411f9d52677444f142f6f6dc0fe2e7885 Mon Sep 17 00:00:00 2001 > From: Pooja Venkatesan <po...@multicorewareinc.com> > Date: Thu, 9 Jul 2020 18:04:29 +0530 > Subject: [PATCH] Fix cost estimation error for hist-based scenecut > > --- > source/encoder/slicetype.cpp | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/source/encoder/slicetype.cpp b/source/encoder/slicetype.cpp > index 5292473b1..81d2adbe6 100644 > --- a/source/encoder/slicetype.cpp > +++ b/source/encoder/slicetype.cpp > @@ -2244,7 +2244,7 @@ bool Lookahead::scenecut(Lowres **frames, int p0, > int p1, bool bRealScenecut, in > * and not considered a scenecut. */ > for (int cp1 = p1; cp1 <= maxp1; cp1++) > { > - if (!m_param->bHistBasedSceneCut && !scenecutInternal(frames, > p0, cp1, false)) > + if (!scenecutInternal(frames, p0, cp1, false) && > !m_param->bHistBasedSceneCut) > { > /* Any frame in between p0 and cur_p1 cannot be a real > scenecut. */ > for (int i = cp1; i > p0; i--) > -- > 2.24.0.windows.2 > > Regards, > *Pooja Venkatesan*, > Video Codec Engineer, > Media & AI analytics BU > > _______________________________________________ > x265-devel mailing list > x265-devel@videolan.org > https://mailman.videolan.org/listinfo/x265-devel > -- Regards, *Aruna Matheswaran,* Video Codec Engineer, Media & AI analytics BU,
_______________________________________________ x265-devel mailing list x265-devel@videolan.org https://mailman.videolan.org/listinfo/x265-devel