Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2096957rda; Tue, 24 Oct 2023 12:10:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE5BxxeDslT0NFI5AW/E67GLABNeFgbzQiKCL68a0pwCH0bEOQCbkJ6IKrlKO+D3CCFOkcA X-Received: by 2002:a05:6a20:158b:b0:154:a1e3:f967 with SMTP id h11-20020a056a20158b00b00154a1e3f967mr3996527pzj.47.1698174645403; Tue, 24 Oct 2023 12:10:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698174645; cv=none; d=google.com; s=arc-20160816; b=JU4n46/jeEq2ABOGnob0OY9c2dTvYo4yNaB0XqTaVAAYJEbw/uWPMHQ/MAmHWN8Xgn n+lB45Ls8Xb7yjPfSUnrKMTzFq+RN6mtnZrGTIwvofmjYmOQWFbzOTw+CvfKW1uhRnzL P5pTIKyV+3DtYRx40+6zKGVHQikMlPKruORt0U+rDakU6TrlbjtFhHfdxealiQfFd3gV 7m4itvejvFKyAV070xk5HgUPrT96woLoADuy/M5pRobTO/Wloq3BJfDDzv1mJOgvdo7p jIssu7kZcVWqXI836WcNgFnjvUdBn1qkzu1bG20o0M3aJRN15MeZTam+u2cW8iaakuJX jSxQ== 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=UZPwmSNoZlTKQ3f3XnGroaNxrDb4WaX9YJNC6wOVSmA=; fh=GOsa8F24+MtjXStpkMMOXboEdQI7NAG5aXV0YSmfysM=; b=FOErwhWJiWPegWvUsM0y2ERxZsZtvgYHvkdpNOs346EOq22nddTEjLjbTJ2l2Xq30Q EkrUVj8knkdbB4kZLfAL/ubNfpN+13VVZ076oa+mHOfvunDi2sr9SnP4kRr+ykyEHpvf Y1A9SZ6J4RpryqDJSe3Z9oRlkeqKFDzM6uqljAXRRJWFikbOgAF3PcSsHypak5kds0jg iaHVnv2+fHe0AJGXCYYQOXIzKKUjaV1xQNolNCzB3eGLvBr7u4a0INjMQarHyVlQiM3N QjM8Bu2v2mEym09uGOEb64x9SWZu1+mx6Hu40UTSDq2YHma7d2mw0yT1ujz8Cbqp7V0+ qjHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=QTVWiK3f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id t17-20020a056a0021d100b006be1885edf9si9117037pfj.248.2023.10.24.12.10.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 12:10:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=QTVWiK3f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id 49E5B80227C2; Tue, 24 Oct 2023 12:10:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344217AbjJXTKY (ORCPT + 99 others); Tue, 24 Oct 2023 15:10:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343856AbjJXTKX (ORCPT ); Tue, 24 Oct 2023 15:10:23 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD16610C6; Tue, 24 Oct 2023 12:10:20 -0700 (PDT) Received: from arisu.hitronhub.home (unknown [23.233.251.139]) (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 CB9B96607326; Tue, 24 Oct 2023 20:10:18 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1698174619; bh=48gv3M0r1fBIkgyPkulYSBjvZY2KdKwDZSX3M+tYcPk=; h=From:To:Cc:Subject:Date:From; b=QTVWiK3fyB4H0/VLcasxoGVSu8kR9TM4ME2EhbQXDg6Ague1++Uhw/bw22qXV4PkG HOMPVG/cnLOx9cy6zZ0Fpk1DktgBYQ/5elZyeOu2cHllg/7RpZ+XkEhXXet8Vo+oY9 +Gp0rSPDpvfWKmm5/OsgKeKsjys3WGMY09Ppa6cHZ4kbBIaiNLwsJnhCz6SN6JGe78 3nRar3bYXvf9g2FbsuY7ZcXsUvfKFq3ocmA9re+kyOXlGPwGee/lOhQ0F/xrKSmz6I L3ce61dCaBJea46tBwXJ945Os9ERnB8C/zmw4YBN7G3a8lOjjZiEjIlLRamx6kHtWZ SSvDRIm6tIDSg== From: Detlev Casanova To: linux-kernel@vger.kernel.org Cc: linux-media@vger.kernel.org, Daniel Almeida , Mauro Carvalho Chehab , Detlev Casanova Subject: [PATCH v2 0/5] visl: Adapt output frames for reference comparison Date: Tue, 24 Oct 2023 15:09:45 -0400 Message-ID: <20231024191027.305622-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=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email 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 (morse.vger.email [0.0.0.0]); Tue, 24 Oct 2023 12:10:43 -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. Changes since v1: - Fix typo in parameter documentation 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