From patchwork Wed Oct 5 16:12:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?R=C3=A9mi_Denis-Courmont?= X-Patchwork-Id: 34832 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:4d9:b0:9c:f4b:4e41 with SMTP id 25csp700586pzd; Wed, 5 Oct 2022 09:12:49 -0700 (PDT) X-Google-Smtp-Source: AMsMyM55VokIwWG007duzg7Mk42uLZYOijdAeHdGAbpyOYMTbAFKLCZI1+fN/6d8H6IGEK2Mwhao X-Received: by 2002:a17:906:db07:b0:77b:82cf:54af with SMTP id xj7-20020a170906db0700b0077b82cf54afmr292688ejb.666.1664986368798; Wed, 05 Oct 2022 09:12:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664986368; cv=none; d=google.com; s=arc-20160816; b=f8lMngLmdLMpe4whMNRN/JRtCnhyF7DSA/tRE6GOQRtCf7HKqBmNhHZWzEQ0V6U5R4 K5D8HymtUBGSQWJjhDISNKFFjVIPUHMWSfJjZdSKDcK9UPHGQiucEslD+LUTCW69XIHX ZBBEZSG4vnBrEQRUlq6/1GvHrVn8akthYq/+uwp7Z0W8WnDC8DrOzZ6sKBG+tSn9BUNM Y7UBoNb0lbrAzMm0QxoRwRFXe9aSz+tZz4ce8+pjzX1TxJ81lTj9qCfaYLV9lIgppAgR QzOmJR053Nqp/paHGVPjFefBB1q+rp4gCJOcFy9ideSOXPffwnyYDqmOMSykE94cX8p8 qC6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:organization:message-id:date:to :from:delivered-to; bh=d5ctlneHfCymcWQGIy3adAxEMTsLnbs9Sw+VuCnQMn4=; b=GZKJdT0JjsiBr8caaSh9q6Wt1E6gW9dsPP+SMdd30GpEsGAl5MMs8jy+sat+1edBAj 5CxWAPJ4bgm91aW4Eq8952s5WMhgQF8uUYm2ts8U8oO3TclgDKO0xrY7UeMtlY0J9IO+ XFF2ovwfUgMjUC18jBpk3ZUYtObDuQFQEeHuEfoH7PVvUmsdeuornaNKUovlHlFNQS46 c06AwZzxd6TCiodzEFmBUT8PUvI6xT+d0aZFk1fXGXRBsMCIrd1N/ic/al2b7dJp+Aa3 SHK7SlCWsXDA3VFeKip07o7lTZOi+HQTnqFGYc9kSmHdvEhjV7Ma0sDXu6YixQ9t4+5E N3jA== 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 bj4-20020a170906b04400b00782627f37d6si2726374ejb.778.2022.10.05.09.12.48; Wed, 05 Oct 2022 09:12:48 -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 10A4368BD0B; Wed, 5 Oct 2022 19:12:45 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from ursule.remlab.net (vps-a2bccee9.vps.ovh.net [51.75.19.47]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3FA8B68BD08 for ; Wed, 5 Oct 2022 19:12:38 +0300 (EEST) Received: from ursule.remlab.net (localhost [IPv6:::1]) by ursule.remlab.net (Postfix) with ESMTP id DAB4EC000A for ; Wed, 5 Oct 2022 19:12:37 +0300 (EEST) Received: from basile.remlab.net ([2001:14ba:a080:a501:23a6:ebae:8f2a:4d73]) by ursule.remlab.net with ESMTPSA id IMRAM/WsPWPyugsAwZXkwQ (envelope-from ) for ; Wed, 05 Oct 2022 19:12:37 +0300 From: =?iso-8859-1?q?R=E9mi?= Denis-Courmont To: ffmpeg-devel@ffmpeg.org Date: Wed, 05 Oct 2022 19:12:37 +0300 Message-ID: <12083658.O9o76ZdvQC@basile.remlab.net> Organization: Remlab MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCHv2 0/4] RISC-V V Opus postfilter X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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" X-TUID: Koi0SOYS6Wem Hello, This should address the issues found in the previous version, and vectors loading the unfiltered data. The following changes since commit 451b310d4f0ba5a38c3f67ec2ce39bcb62fcf59b: avcodec/fraps: Fix segfault with negative linesizes (2022-10-05 14:39:10 +0200) are available in the Git repository at: git.remlab.net:git/ffmpeg.git rvv-vtype for you to fetch changes up to 026b9eff9d11ff59601e8823ff961ac0fabf55f1: lavc/opusdsp: RISC-V V (512-bit) postfilter (2022-10-05 19:09:01 +0300) ---------------------------------------------------------------- RĂ©mi Denis-Courmont (4): lavc/opusdsp: RISC-V V (128-bit) postfilter lavu/riscv: helper macro for VTYPE encoding lavc/opusdsp: RISC-V V (256-bit) postfilter lavc/opusdsp: RISC-V V (512-bit) postfilter libavcodec/opusdsp.c | 2 ++ libavcodec/opusdsp.h | 1 + libavcodec/riscv/Makefile | 2 ++ libavcodec/riscv/opusdsp_init.c | 54 +++++++++++++++++++++++++++++ libavcodec/riscv/opusdsp_rvv.S | 75 +++++++++++++++++++++++++++++++++++++++++ libavutil/riscv/asm.S | 75 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 209 insertions(+) create mode 100644 libavcodec/riscv/opusdsp_init.c create mode 100644 libavcodec/riscv/opusdsp_rvv.S