From patchwork Tue Oct 9 21:29:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 10610 Delivered-To: ffmpegpatchwork@gmail.com Received: by 2002:ab0:73d2:0:0:0:0:0 with SMTP id m18csp23941uaq; Tue, 9 Oct 2018 14:29:28 -0700 (PDT) X-Google-Smtp-Source: ACcGV60o55+54NGL/ymYCNMdCWI5EaQ/JAAYtMcbGqnlat7i8a8pQ+IthiBRM0EFEMDKYJidEkql X-Received: by 2002:adf:fbce:: with SMTP id d14-v6mr9421560wrs.253.1539120568208; Tue, 09 Oct 2018 14:29:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539120568; cv=none; d=google.com; s=arc-20160816; b=JPcVLIQpPJIfbGEVeNLkZxjcERhq3WJYmxRVfxwaHxDZ1ocdqK+wuXrdNHkO9dmxZO 4Dkl6/Ljd8n5jKxdJL2SkYWF1RBBKnR4+dpoBgS8Jd0UtS83IR46m2lWAYrQ2ZgzxEw9 nwlr3QhReZ04y9D7UQiBGMmzkMwlT4MwYb5s9pdlk545Bck7YD/3addUhiCxhexPqDeG fus6hIGUiBFizWNhIZY2dpbOks28Wy/gEj2Y+Xt6jUn9B/aLeqc9SRbwxsLcllwtJTwk Irb7MfWgB7ZcjkWvOnHoDOYzyD/ahyERbrsVyVmrJzAflBvxeCwUn1f6Fj115CNyedX3 h/Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:subject:user-agent :in-reply-to:mime-version:references:message-id:to:from:date :delivered-to; bh=pP6Sql/FfTO/+nPwwDVpqF9m/6R+CDTOlHaCgsT5vAo=; b=Y0dDnVEao8i7RKmsMGyBZp+5hh6ehMuSPm1QInQeoM7pe6eBgX6U/n413kgMusHWxN /riTQcd5Sk9rltUOA7lqvajhqAP1xWB2BjmlGSE19syfbEWvQtXYXzQRciFAi1rVtH5j +J9An1D4c61uoIbCA6DfvopCQfdX9JbIeb6eurgEcxjROc+ixRWOAc0Km7Mdo/YTeJ3A g6sG2U6Vf8MRspfh9blU3QAPaX+A5r3E7o3LYNlvugfAMjFbZ3KeImYWvRC1PzLBztz9 UGy5FJTPldcxErv1yDsgyKp2IABs5aNXQt61mZvifnosE1Mrp7cbIDBwwxKL+4lTOcBB 0gBA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id a12-v6si17241528wri.399.2018.10.09.14.29.27; Tue, 09 Oct 2018 14:29:28 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5413E68A10A; Wed, 10 Oct 2018 00:29:03 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9A3AE68A0DF for ; Wed, 10 Oct 2018 00:28:56 +0300 (EEST) X-Originating-IP: 213.47.41.20 Received: from localhost (213-47-41-20.cable.dynamic.surfer.at [213.47.41.20]) (Authenticated sender: michael@niedermayer.cc) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 27CBD1C0004 for ; Tue, 9 Oct 2018 21:29:17 +0000 (UTC) Date: Tue, 9 Oct 2018 23:29:17 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20181009212917.GU26838@michaelspb> References: <20181009120715.27917-1-joshdk@obe.tv> MIME-Version: 1.0 In-Reply-To: <20181009120715.27917-1-joshdk@obe.tv> User-Agent: Mutt/1.5.24 (2015-08-30) Subject: Re: [FFmpeg-devel] [PATCH v3] fate: add api-h264-slice test X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" On Tue, Oct 09, 2018 at 01:07:15PM +0100, joshdk@ob-encoder.com wrote: > From: Josh de Kock > > This test ensures that you are able to send N number of slice NALUs in slice threaded mode to be decoded simultaneously > --- > > Tested with `./configure --cc='cc -m32'` now, seems to be fine. Will send sample to Michael on IRC. > > tests/api/Makefile | 1 + > tests/api/api-h264-slice-test.c | 212 ++++++++++++++++++++++ > tests/fate/api.mak | 4 + > tests/ref/fate/api-h264-slice | 309 ++++++++++++++++++++++++++++++++ > 4 files changed, 526 insertions(+) > create mode 100644 tests/api/api-h264-slice-test.c > create mode 100644 tests/ref/fate/api-h264-slice fails om mingw64 and mingw32 make -j12 fate-api-h264-slice TEST api-h264-slice --- tests/ref/fate/api-h264-slice 2018-10-09 21:53:49.339321988 +0200 +++ tests/data/fate/api-h264-slice 2018-10-09 23:25:00.511437251 +0200 @@ -1,309 +0,0 @@ -#format: frame checksums -#version: 2 -#hash: MD5 -#tb 0: 1/30 -#media_type 0: video -#codec_id 0: rawvideo -#dimensions 0: 352x288 ... wine tests/api/api-h264-slice-test.exe 2 fate-suite//h264/crew_cif.nal api-h264-slice.h264 Couldn't read size: Success [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Complexity theory is the science of finding the exact solution to an approximation. Benchmarking OTOH is finding an approximation of the exact