[video-codec] NHW Project - speed measurement

Raphael Canut <nhwcodec@gmail.com> Tue, 04 December 2018 16:26 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 46C3B130F12 for <video-codec@ietfa.amsl.com>; Tue, 4 Dec 2018 08:26:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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, URIBL_BLOCKED=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 pgCSpJH6O0wF for <video-codec@ietfa.amsl.com>; Tue, 4 Dec 2018 08:26:12 -0800 (PST)
Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) (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 66157130F20 for <video-codec@ietf.org>; Tue, 4 Dec 2018 08:26:12 -0800 (PST)
Received: by mail-lj1-x229.google.com with SMTP id c19-v6so15484135lja.5 for <video-codec@ietf.org>; Tue, 04 Dec 2018 08:26:12 -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=ZN+NmJdCg9AG3EYM0Z74mGa5JqQJkDU7d1ZEDBk1jHs=; b=LgSYGWKRZirYaCk++Ks4eMMQFipc4gHt8+XNaAYPknV1SHnYIyfaj1is2/lSxxAKwn RuJ5q8HWnyH1WNxQfH+pPZO7I8OT/u+bvFjCR/bUsOUCJQxKrrgMCXHIC3P4SU/mnBeE q7hugxRETxHfjJOO6ss1A3bb/edgqTt4DRyTPy/viM0RKaU5fFFZaCG/27T1KlRkfWX1 Pxyye7B24N7q9evptryUMX1r/4ZQ6Hg7YvPAWQgiwr5LQMj+MRfg35ONpFjszI7cGqe2 gnZ+HN9sNncoTDiFa8+7Xa/amKHxL3cZyfMM76vL5CxBeXnGksDa4NQ0GMInxgJlsbgi z+Gw==
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=ZN+NmJdCg9AG3EYM0Z74mGa5JqQJkDU7d1ZEDBk1jHs=; b=UudQY1B56opIChf+eumgJtYAe66HhnuXEud+7nNk5aVd93doTBfJ6OwtEjAGCGzfaZ J1Ym9J+klZz6cXXZ657Q2MxG+y/TZvfkg9D66hYzQD+eMZX6GuEOaB4ym21SHGZEDNYj iacccDn8IAHaJpXZe622SmpfA/kYVxgVRKPJG6TR6d+zJu8h62op7EiUz1TbFd089QjI HRSo4au43ydgrG7Qm9+B2lPnRa0pxiy+6z64nFr7oJQt/1dxM7OxKkh2R4hiP5iRJ5It /8QSprHNRZA5DtZck7JEkAcKvsDcK/QLAZ34FKm2OJCIwnsF2odRIlCcy8H/VcaESF0j YUuQ==
X-Gm-Message-State: AA+aEWaIQydHaKgkTRxri7CQE/2azk3w8smwEpFxS9TqoJMAkk3JqwGL TNhbOWJMKv6FKi8jN7aBlDTJFgpwBQ1ExQ7NQR0kAkwI
X-Google-Smtp-Source: AFSGD/XVl2Pxjea4A1Qh4RWmdYuicu2eQAxri7cibssC9y1YuOOsV5z7kT47NqUmW7leg1NdgI8d3X0T45i8Veh7jqE=
X-Received: by 2002:a2e:9107:: with SMTP id m7-v6mr13398596ljg.23.1543940769900; Tue, 04 Dec 2018 08:26:09 -0800 (PST)
MIME-Version: 1.0
From: Raphael Canut <nhwcodec@gmail.com>
Date: Tue, 04 Dec 2018 17:25:58 +0100
Message-ID: <CAKE58qHaT7gsiWbeZ1By2CO3rfMjbb=9tO7zf6Qb9x5BuCo0Yg@mail.gmail.com>
To: video-codec@ietf.org
Content-Type: multipart/alternative; boundary="00000000000024ede6057c34b913"
Archived-At: <https://mailarchive.ietf.org/arch/msg/video-codec/j-BvGfq85KiHfC6pThzdzx_tRag>
Subject: [video-codec] NHW Project - speed measurement
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, 04 Dec 2018 16:26:23 -0000

Hello,

As I had some questions on where do my speed numbers come from, here are
some speed timings compared with x265 (very optmized HEVC) and Google WebP,
on my computer: Windows 10 64bit - Intel i5-6400 2.73Ghz 4C/8T, for a
512x512 .bmp/ppm 24bit color image:

Encode time: x265: 310ms  WebP: 70ms  NHW: 30ms
Decode time: x265: 30ms    WebP: 40ms  NHW: 10ms

But the NHW Project is totally unoptimized whereas x265 and WebP are
extremely optimized (multithreading, SIMD,...) and so with a good
optimization (x4-5), the NHW Project is 310/30x5=51.67x faster to encode
and 30/10x5=15x faster to decode than x265, and 70/30x5=11.67x faster to
encode and 40/10x5=20x faster to decode than WebP.

Also, I claim that the NHW Project has more neatness (subjective quality),
and now I have developped a NHW Neatness Metrics (that you can downlaod on
my demo page) that is based on a neatness/perceived quality model, and that
gives objective measurements and that objectively shows that the NHW
Project has more neatness.

To finish, I would be also very interested in your opinion if you have time
on the new -l12 very high compression quality setting that I find very
competitive!

More at: http://nhwcodec.blogspot.com/

Many thanks!
Best regards,
Raphael Canut