[x265] [PATCH] testbench: miss performance test on DST4x4

Steve Borho steve at borho.org
Sat Jan 17 04:24:22 CET 2015


On 01/16, Min Chen wrote:
> # HG changeset patch
> # User Min Chen <chenm003 at 163.com>
> # Date 1421400039 -28800
> # Node ID 9cb63b99080f4e4e0f16928a43f3d1e9192a4377
> # Parent  f9a54da187139a7331f8048365673787cbf14711
> testbench: miss performance test on DST4x4
> ---
>  source/test/mbdstharness.cpp |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)

idst is also missing, and the loop bounds should be NUM_TR_SIZES.  I've
queued a patch that fixes all the ails.

> diff -r f9a54da18713 -r 9cb63b99080f source/test/mbdstharness.cpp
> --- a/source/test/mbdstharness.cpp	Thu Jan 15 11:49:26 2015 +0530
> +++ b/source/test/mbdstharness.cpp	Fri Jan 16 17:20:39 2015 +0800
> @@ -470,6 +470,12 @@
>  
>  void MBDstHarness::measureSpeed(const EncoderPrimitives& ref, const EncoderPrimitives& opt)
>  {
> +    if (opt.dst4x4)
> +    {
> +        printf("dst4x4\t");
> +        REPORT_SPEEDUP(opt.dst4x4, ref.dst4x4, mbuf1, mshortbuf2, 4);
> +    }
> +
>      for (int value = 0; value < NUM_CU_SIZES; value++)
>      {
>          if (opt.cu[value].dct)
> 
> _______________________________________________
> 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