[video-codec] NHW Project - speed measurement 2 - very high compression

Raphael Canut <nhwcodec@gmail.com> Tue, 11 December 2018 16:51 UTC

Return-Path: <nhwcodec@gmail.com>
X-Original-To: video-codec@ietfa.amsl.com
Delivered-To: video-codec@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B3D19130E6C for <video-codec@ietfa.amsl.com>; Tue, 11 Dec 2018 08:51:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WfLBI0EAZn6Z for <video-codec@ietfa.amsl.com>; Tue, 11 Dec 2018 08:51:51 -0800 (PST)
Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 19EA2130E68 for <video-codec@ietf.org>; Tue, 11 Dec 2018 08:51:51 -0800 (PST)
Received: by mail-lj1-x231.google.com with SMTP id k15-v6so13590596ljc.8 for <video-codec@ietf.org>; Tue, 11 Dec 2018 08:51:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=aLICkXEhvhDNp0F7V95GIr6xmJJey9AeXGBVcqs0tsI=; b=s6106hRG0tcpxNK9vF9XiSxSUG00lWbo6jsMxK2a1zKUDzzcxclAA9Alxxw2aA+qkd iNEwZrPn6s6VGKLFJxOJjra7cIoj08IcT4WZKePrcYG8MOmp87NQcv7eM7EXbrUTZfFy cYGGOymLEEUahpa+WK+z2deJNYAyHboUUvtx+P9AqwyRu9C8S9vZ4cIZ4PPy4uZAm9tL 5/tVDp1/4OfbmqZEoG/ltio0ZfVF6gj7FT8dDWfYy9iWguWp/nPfegkVv+3dcBbmCzV/ mvHP+uYfEyuo+4MPxQZPXD/M6iGK7b4N1DOXjO4MIB2H94fUOZyk4yA/yWjDlj+ZPMjB uScw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=aLICkXEhvhDNp0F7V95GIr6xmJJey9AeXGBVcqs0tsI=; b=BgiYFd1vBdess/B2VSMiLxxigwjfUCQHKM+FHIp+ep8cMlA9J2KdyR9Yb4OaWQpAoK S5FaUTSKu3oYJevmlktvYUbPRluJQtJfTjKbiim9hRNK/5DRSNRG2q3X0/UDHYnVmQ5k mXCOLuOiJ6XGf0p+0210PM2sdXbYDb+IbsLntH80IK7h7QTXh7vMhXpgM/t/42LFk1VW 15gdX6oRKux2HWfl7ziygfcEh94orDwCq54LT1/gPmyHlauVbPCWAh0GPIsjtC2MMQd6 GTuG/EKbNJJ8zQgGiYAH3j+YxD15zqgbnSLAcPpa8rKRjlh43UerL0OHrRsQfGs5olBy o6Bg==
X-Gm-Message-State: AA+aEWaSbVRAblpUiFjb6RofKpkenWyNFA8PdDrJal3yIpOPWSn7TH1V yu1FfLmTfO0IxcB2x7i7aG43XjTw8h3aWHe6BB61E9nQ
X-Google-Smtp-Source: AFSGD/VFTC2E2bntuhZiCxu+H7U+a1CvFF/FLQdjO0J4/l1Rk2dTL9+idEnFblnwfoIfW0ct57EvJYOU9ZTun/dhwc0=
X-Received: by 2002:a2e:568b:: with SMTP id k11-v6mr10643384lje.105.1544547108590; Tue, 11 Dec 2018 08:51:48 -0800 (PST)
MIME-Version: 1.0
From: Raphael Canut <nhwcodec@gmail.com>
Date: Tue, 11 Dec 2018 17:51:35 +0100
Message-ID: <CAKE58qEW-quhD2dbijCsx9df20524G6HLRFwWOpSUBThrRYkVg@mail.gmail.com>
To: video-codec@ietf.org
Content-Type: multipart/alternative; boundary="000000000000bf1768057cc1e5aa"
Archived-At: <https://mailarchive.ietf.org/arch/msg/video-codec/QUMJlZq6TwIhfNgSTQX-n1RYUSo>
Subject: [video-codec] NHW Project - speed measurement 2 - very high compression
X-BeenThere: video-codec@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Video codec BoF discussion list <video-codec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/video-codec>, <mailto:video-codec-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/video-codec/>
List-Post: <mailto:video-codec@ietf.org>
List-Help: <mailto:video-codec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/video-codec>, <mailto:video-codec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Dec 2018 16:51:54 -0000

Hello,

If it could be of interest, here are new speed measurement for -l13 very
high compression setting which are not the same.

For x265 (HEVC), I use BPG codec, and this time I use -m 0 setting which
uses the fastest encoding setting of x265.I run the .exe 10x times and I
pick the best scores.

So here are the timings at -l13 very high compression:

Encode time: x265 (BPG -m 0): 80ms  NHW: 20ms
Decode time: x265 (BPG): 90ms  NHW: 10ms

So with an equivalent level of optimization (x4-5, multithreading,
SIMD,...), the NHW Project is 80/20x5=20x faster to encode and 90/10x5=45x
faster to decode than x265 (optimized HEVC)!

Yes, 45x faster to decode than x265 at very high compression!, this would
really save on battery life for mobile devices! I wanted to let you know,
the industry, about these performance if you could consider the NHW Project.

Else also, with the new improvements I finally find the NHW Project
competitive with x265 (HEVC) on nearly 90%-95% of the images I have tested
at -l13 very high compression, because it has more neatness.

I will continue to go down to very high compression, but it is not that
easy, anyway you can have a first idea with -l13 very high compression
setting on my demo page ( http://nhwcodec.blogspot.com/ ).

Many thanks for your attention!
Cheers,
Raphael Canut