[x265] [PATCH 3 of 4] Adding support for pixel instance of templated weightUnidir primitive
Steve Borho
steve at borho.org
Tue Oct 1 20:01:57 CEST 2013
On Tue, Oct 1, 2013 at 2:51 AM, <shazeb at multicorewareinc.com> wrote:
> # HG changeset patch
> # User Shazeb Nawaz Khan <shazeb at multicorewareinc.com>
> # Date 1380607714 -19800
> # Tue Oct 01 11:38:34 2013 +0530
> # Node ID 0da50ad39b4137976e4e2b295c32e1a710843b60
> # Parent 07d712e6265cb6f052a55fe7a1448d48b5339acc
> Adding support for pixel instance of templated weightUnidir primitive
>
it would be better to combine this with the previous patch which introduces
the primitive
>
> diff -r 07d712e6265c -r 0da50ad39b41 source/test/pixelharness.cpp
> --- a/source/test/pixelharness.cpp Tue Oct 01 11:36:00 2013 +0530
> +++ b/source/test/pixelharness.cpp Tue Oct 01 11:38:34 2013 +0530
> @@ -604,6 +604,15 @@
> }
> }
>
> + if (opt.weightpUniPixel)
> + {
> + if (!check_weightpUni(ref.weightpUniPixel, opt.weightpUniPixel))
> + {
> + printf("Weighted Prediction for Unidir failed!\n");
> + return false;
> + }
> + }
> +
> if (opt.weightpUni)
> {
> if (!check_weightpUni(ref.weightpUni, opt.weightpUni))
> @@ -751,6 +760,12 @@
> REPORT_SPEEDUP(opt.blockcpy_sc, ref.blockcpy_sc, 64, 64,
> (short*)pbuf1, FENC_STRIDE, (uint8_t*)pbuf2, STRIDE);
> }
>
> + if (opt.weightpUniPixel)
> + {
> + printf("WeightpUni");
> + REPORT_SPEEDUP(opt.weightpUniPixel, ref.weightpUniPixel, sbuf1,
> pbuf1, 64, 64, 32, 32, 128, 1 << 9, 10, 100);
> + }
> +
> if (opt.weightpUni)
> {
> printf("WeightpUni");
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
--
Steve Borho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20131001/7454da16/attachment-0001.html>
More information about the x265-devel
mailing list