[x265] [PATCH] Added check for mode 34
Steve Borho
steve at borho.org
Mon Aug 25 21:46:12 CEST 2014
On 08/25, dtyx265 at gmail.com wrote:
> # HG changeset patch
> # User David T Yuen <dtyx265 at gmail.com>
> # Date 1408987126 25200
> # Node ID 157adb623151141d51c01bc085d563195f55e051
> # Parent 6e6756f94b27c3ef30f6159f1880112a7ff978e3
> Added check for mode 34
this was a deliberate omission on my part, missing one possible mode is
ok for lookahead, where we're just trying to estimate intra cost and we
don't even keep track of what the best mode was.
> For fast intra search in EstimateRow::estimateCUCost check intra mode 34
>
> diff -r 6e6756f94b27 -r 157adb623151 source/encoder/slicetype.cpp
> --- a/source/encoder/slicetype.cpp Fri Aug 22 15:53:34 2014 -0500
> +++ b/source/encoder/slicetype.cpp Mon Aug 25 10:18:46 2014 -0700
> @@ -1722,6 +1722,11 @@
> cost = satd(m_me.fenc, FENC_STRIDE, &m_predictions[mode * predsize], cuSize);
> COPY2_IF_LT(acost, cost, lowmode, mode);
> }
> + if (lowmode == 33)
> + {
> + cost = satd(m_me.fenc, FENC_STRIDE, &m_predictions[34 * predsize], cuSize);
> + COPY2_IF_LT(acost, cost, lowmode, mode);
> + }
> if (acost < icost)
> icost = acost;
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
--
Steve Borho
More information about the x265-devel
mailing list