Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1419277rda; Mon, 23 Oct 2023 12:00:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFmRmec1pEr4BAsioJX+HLYMESuGGPc0npiwTy73EGwxlY2qpnudq0xw0Ob/z42ylq3fAi7 X-Received: by 2002:a05:6358:410:b0:168:e61d:8db2 with SMTP id 16-20020a056358041000b00168e61d8db2mr1833963rwd.8.1698087600522; Mon, 23 Oct 2023 12:00:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698087600; cv=none; d=google.com; s=arc-20160816; b=dDdV5aScPxOGlWON9BZUaY7J2WnILIs/hFWzw9KERXBRwUZnF6/OaNXNMsa4DVKY67 iZXWd6lnjyBbKnWqiarYunzsZUidG+nJr8BSkMhk4kyt6d7riEkRpzTHxd+wCAoKe12D oBQuP774ndXl/xQCnm7wePxEIfqHNA+PewkpZFpe9GRNcQQK0OlBraLSYbPw8kdTEPYn jYw81pD3FuCPGtEGUdtQXlmztvMJrlDPWotb03THUGFyOObro9GLDq182V2yCYcY0aan B1cwJhOgHp8bz687fhVZI9bnZ+gRj1SVCtmGhTZgtTIsDOAgOHcPO6y2LiVu3UYgGx59 yEnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=TOCJEUWo1hFYJ2pr/9G8jsUbUyUtCmlOsUQb7TC615s=; fh=GOsa8F24+MtjXStpkMMOXboEdQI7NAG5aXV0YSmfysM=; b=bYhPlzLi2nW51RZzUFPua1S3+O8VOdc/LjSJ0Q4lHnLKSJSsWyHY3KSKeXPB9v3yYW UQxasUwDqrjj7f/mX+DecG5dDVbXpA9kDreiC/DXxTjQTQVAEGH6koC3porsaJujwRqp LF/zP0Ae0/R4y5CKIr2Pf02atwJTgHMOLPsY7j7DvlAwLw+Z4FkQ1Yycd9cLEw/8KOKU xgr2BkkB59KdNz4u75MRz7iwFv1HiHW6nY3hXhltSrj5SqHsRwqoZXIzDYrV/3c5HXCy 6cpIHdyCf2qYqWlfqhSr+f3vKhR3AuXVjEKiQ+fPxBg8xKOtvJzEdGfvYZhv99Z1ECA6 j2uA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=XBenG6Kp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id a21-20020a637055000000b00578cb0ce623si6916490pgn.739.2023.10.23.12.00.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 12:00:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=XBenG6Kp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 9A0EA8042583; Mon, 23 Oct 2023 11:59:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229491AbjJWS74 (ORCPT + 99 others); Mon, 23 Oct 2023 14:59:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231193AbjJWS7z (ORCPT ); Mon, 23 Oct 2023 14:59:55 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 683DDB6; Mon, 23 Oct 2023 11:59:53 -0700 (PDT) Received: from arisu.mtl.collabora.ca (mtl.collabora.ca [66.171.169.34]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: detlev) by madras.collabora.co.uk (Postfix) with ESMTPSA id 206F26606F65; Mon, 23 Oct 2023 19:59:51 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1698087591; bh=eQgHu1xMr2KP/d+OA0vKdrgBiUwDt18CfeYteHCKys8=; h=From:To:Cc:Subject:Date:From; b=XBenG6Kpi3ewP4pgZVWuXYWjUp7/aunoEmWT2JBwknt+2fFs+FczyUsS+BBf9KfpI EwTXMNGTkYssJVVdmu2O2Pr4/9KzzUSf1FGLXTR/toVtTAsMb7EA/24eC1XTqx8gBm 42eZydmsfwPsbI3HJhm1qTrRToHO559gbVSsqcGxXxw8vMyZPNWLfTh07qEv9s8iXE /8+8ZxeI3i2dq65OLs9CSFVpzUjvaOD64NR2Kb+5/UUpiEaE58ugM8LgfmRXh2eGVj IcbVf/1r3fOudoTKR5ktmZWh9JK5uZDXinv8B4TkhRCdyseDFHA3x4P2TCm26KDBWQ fgoFsOmjQWjAg== From: Detlev Casanova To: linux-kernel@vger.kernel.org Cc: linux-media@vger.kernel.org, Daniel Almeida , Mauro Carvalho Chehab , Detlev Casanova Subject: [PATCH 0/5] visl: Adapt output frames for reference comparison Date: Mon, 23 Oct 2023 14:58:20 -0400 Message-ID: <20231023185850.67082-1-detlev.casanova@collabora.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 23 Oct 2023 11:59:59 -0700 (PDT) When using visl in automated tests, we need to have output frames that can be compared to reference frames or hash of those to validate that the whole pipeline is working properly. Add a "stable_output" module parameter to make sure that a given input stream always outputs the same frames. This is done by skipping information like queues status and pointer values. This also adds some stable variation in the frames so that different input give more different output. Detlev Casanova (5): media: visl: Fix params permissions/defaults mismatch media: visl: Add a stable_output parameter doc: visl: Document stable_output parameter visl: Add a codec specific variability parameter doc: visl: Document codec_variability parameter Documentation/admin-guide/media/visl.rst | 9 ++ drivers/media/test-drivers/visl/visl-core.c | 12 +- drivers/media/test-drivers/visl/visl-dec.c | 152 +++++++++++++------- drivers/media/test-drivers/visl/visl.h | 2 + 4 files changed, 120 insertions(+), 55 deletions(-) -- 2.41.0