From patchwork Tue Sep 7 09:27:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ross X-Patchwork-Id: 30056 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6602:2a4a:0:0:0:0 with SMTP id k10csp4491951iov; Tue, 7 Sep 2021 02:27:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzngNYTf+CVeg3YvNqXn3a47llGFHMbeocOZQc0hGPlsXPqWZomxY9D7vUtphdWUYlnIFb5 X-Received: by 2002:a50:c88d:: with SMTP id d13mr17805942edh.392.1631006866830; Tue, 07 Sep 2021 02:27:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631006866; cv=none; d=google.com; s=arc-20160816; b=ENfs7vuhfPdy4IYXlaLcIazFoY8K1Fhq0PhqLLzBra9W3VG9T8DKROMv66NbPWtQM0 efaABwa4AZITZ/eZrDdey7VKozCE4gT2TYy8vQhbJgD0Q+T+cr0OXm33r2MvjlclNl5e YoOfA09CxKKxDpxXh+Tes1jJVwjuqFn7fM2+ZfGgZRPdK3A9qcl0zo05YuU23BBe6gSB mDHRHjZ1hi8WkavgiWCAZj9GWM+s0mFw5ti95EU3pS/yd1vqtfpkIZcoh1YlEgty/MPd VgnU9RsPD1xkjNnCdl1kTSoOlHYBXdbInnbSTeCn4lhlwf/TvOB4TrU249VrGDpF/dr9 KTiw== 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 :mime-version:message-id:to:from:date:delivered-to; bh=deAmiCNZuV24FV4efd4H926v3VDZhzNyyJUNDtCXAV4=; b=Snqd6c5BLox9wqkYodsNiogtkhYnwBxhRZrzJ8UoigzyLX218xGMyHadfO8tfgGuMn YKKDm10916AmRn8wFlbLdVsATGp/TKPBqm8/9LEKIi1/Ex1NT0UWtkalNpXNcRBkzeXG rv2h3ak7Wm60OTUuCJay799piLRUssI1hNNvRuERbxViBi1yl+XlY2xk0JSBefsEdP0i vkErG/B4dr+y2KTRFLp+ZxivOU97sTfmFHCTUagiaKSA3nF+PAHDeyVfkgP0mGxGR9Ec mNfknIwkKP42W+VA9Y2ClYrU+80345EVMbxDaaQHZtqFlCTmvtw7wikAdYwsrM74oYEG BQKg== 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 m20si10063413edc.630.2021.09.07.02.27.46; Tue, 07 Sep 2021 02:27:46 -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 7C47368A66B; Tue, 7 Sep 2021 12:27:42 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mx.sdf.org (mx.sdf.org [205.166.94.24]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 4620F6883BF for ; Tue, 7 Sep 2021 12:27:35 +0300 (EEST) Received: from 12ceb77cc34bef53de288d1fa53bb49d ([1.145.166.80]) (authenticated (128 bits)) by mx.sdf.org (8.15.2/8.14.5) with ESMTPSA id 1879RMPK012486 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO) for ; Tue, 7 Sep 2021 09:27:27 GMT Date: Tue, 7 Sep 2021 19:27:19 +1000 From: Peter Ross To: ffmpeg-devel@ffmpeg.org Message-ID: <52654437a219b6d23d7779be9a9268d45850de3b.1631006828.git.pross@xvid.org> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/4] avcodec/siren: replace magic numbers with macro value 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: zG3wII3T8jXz --- libavcodec/siren.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/siren.c b/libavcodec/siren.c index 5b172c5ab7..93a2d14d25 100644 --- a/libavcodec/siren.c +++ b/libavcodec/siren.c @@ -698,7 +698,7 @@ static int siren_decode(AVCodecContext *avctx, void *data, SirenContext *s = avctx->priv_data; GetBitContext *gb = &s->gb; AVFrame *frame = data; - int ret, number_of_valid_coefs = 20 * s->number_of_regions; + int ret, number_of_valid_coefs = REGION_SIZE * s->number_of_regions; int frame_error = 0, rate_control = 0; int bits_per_frame; @@ -765,7 +765,7 @@ static int siren_decode(AVCodecContext *avctx, void *data, if ((ret = ff_get_buffer(avctx, frame, 0)) < 0) return ret; - for (int i = 0; i < 320; i += 2) + for (int i = 0; i < FRAME_SIZE; i += 2) s->imdct_in[i] *= -1; s->tx_fn(s->tx_ctx, s->imdct_out, s->imdct_in, sizeof(float)); From patchwork Tue Sep 7 09:27:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ross X-Patchwork-Id: 30058 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6602:2a4a:0:0:0:0 with SMTP id k10csp4492172iov; Tue, 7 Sep 2021 02:28:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9MpIfcUkJItdEyQD9XOuKvTE4n5p/8QG25pyuzz9yiRB3Sn2ribfwAOcyygIQpbb8kkGI X-Received: by 2002:a17:906:d541:: with SMTP id cr1mr18078213ejc.81.1631006890579; Tue, 07 Sep 2021 02:28:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631006890; cv=none; d=google.com; s=arc-20160816; b=JTXSGqD+p8gXFIO5UULuIW+dR4QbpxXwkmJE9Lt/NRJpFWmcwgjK3Tq+vc54njbZUD JTNtz7CzwO7WQyfGeN9WNAn0QxvbRKPo/TdeR/Jpb39S1ywsKgvlE8X9/Gc0sOIQZpU5 pHwswTc6pS5kd7guKaFzFR4EkoBJIjvpsI6M084M+cIlOzk6yUCUmssEZGT7pN4HXYA4 ba1htHiCDZhbNE0BWA4r0SVHEtVyBcNPBjBK4zmT+9LwaK4sDzHqKoMTDXFyos7uZ7Lk wjKeEi9RqT4E9qfv30jfnL5Y/I+nS1RRF7Svjv4dccGpGGW960vnMWiPTaOFu0/h18sw 2a+Q== 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 :in-reply-to:mime-version:references:message-id:to:from:date :delivered-to; bh=VdnLsOv9QQ5D1mA33H0DzM9+YIgwYBylixxxL0JtH5A=; b=djcMwjIZ2vDvjtzii5JIebNgOgOdZc0zcbsVQta8YTfm7QC2T6VNp68M7A3fZF/vbc 2CGQO9I3WmN7D4vtUPkgVGRlaHrnSwkXt+swfwLr3MYF2Ot3NDHfbghJCkhgXd/EuY+L W2qiBcRSXWWswXNvCL1XpAGH7KHwShhfJplSvjAWLuV7bgNK2IvHOkXwY/egQDqC+lKR 2Lf0qF57rYMFhgaDsxAiApfqYVzVfAdZyAKHivEwFQIyAv8qwGxyo18e/edFnw+Cy99F uuE0s7omf5CRrWjZvD0MyI5vAqCfBSY0PePRGRF4bmWc2eq80WTh8ZBdPcJpP+FMxaXo cpCA== 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 l14si10504629edr.27.2021.09.07.02.28.10; Tue, 07 Sep 2021 02:28:10 -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 C115668A6F9; Tue, 7 Sep 2021 12:28:07 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mx.sdf.org (mx.sdf.org [205.166.94.24]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 17E4168804C for ; Tue, 7 Sep 2021 12:28:05 +0300 (EEST) Received: from d6a974dc8ccf41bb502385ae671c906b ([1.145.166.80]) (authenticated (128 bits)) by mx.sdf.org (8.15.2/8.14.5) with ESMTPSA id 1879Rxlx027668 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO) for ; Tue, 7 Sep 2021 09:28:03 GMT Date: Tue, 7 Sep 2021 19:27:56 +1000 From: Peter Ross To: ffmpeg-devel@ffmpeg.org Message-ID: <41c39184791971beda9e88257d1546ca1c6ac903.1631006828.git.pross@xvid.org> References: <52654437a219b6d23d7779be9a9268d45850de3b.1631006828.git.pross@xvid.org> MIME-Version: 1.0 In-Reply-To: <52654437a219b6d23d7779be9a9268d45850de3b.1631006828.git.pross@xvid.org> Subject: [FFmpeg-devel] [PATCH 2/4] avcodec/siren: decode_vector: remove unused parameter 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: W9HIcBB+OAlD --- Looks to me like a cut and paste error. libavcodec/siren.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/siren.c b/libavcodec/siren.c index 93a2d14d25..ccc69aaf40 100644 --- a/libavcodec/siren.c +++ b/libavcodec/siren.c @@ -568,7 +568,7 @@ static int get_dw(SirenContext *s) } static int decode_vector(SirenContext *s, int number_of_regions, - int number_of_available_bits, float *decoder_standard_deviation, + float *decoder_standard_deviation, int *power_categories, float *coefs, int scale_factor) { GetBitContext *gb = &s->gb; @@ -731,7 +731,7 @@ static int siren_decode(AVCodecContext *avctx, void *data, for (int i = 0; i < rate_control; i++) s->power_categories[s->category_balance[i]]++; - ret = decode_vector(s, s->number_of_regions, get_bits_left(gb), + ret = decode_vector(s, s->number_of_regions, s->decoder_standard_deviation, s->power_categories, s->imdct_in, s->scale_factor); if (ret < 0 && !s->microsoft) From patchwork Tue Sep 7 09:28:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ross X-Patchwork-Id: 30057 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6602:2a4a:0:0:0:0 with SMTP id k10csp4492466iov; Tue, 7 Sep 2021 02:28:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5J2zojNJdvdD6oluaGNePyQaBHdPuWoIbiRjjsGHQRMRKORBQh37Hpg0pEQNqt0cxWxy5 X-Received: by 2002:a17:907:76e5:: with SMTP id kg5mr17608862ejc.474.1631006918976; Tue, 07 Sep 2021 02:28:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631006918; cv=none; d=google.com; s=arc-20160816; b=b6s0q0Is8G6cEv+PmAYmWRvlKhjRFzagPfzcMr07mjNKlgC0CifY8oQmTZ0c8ZTTXR 8tcAY8H/7U3dg0ul8KNklYhkHPBHahLWePymVmbhQrd2XH18d0gZgfpl7LXGOjf8ctSy V8MBWo8apyeiP9SALGDEouv9b5kqT5Ag7pP8awYT69PnE2ookGPuPnDTpCN6lt0rxBpi 4mSL8azO5rpJfJ9Y/Xtq9IrAdNX0sL8ZoBLXduHaTSK771kksTg+XFCdFvI910Cyv4Pe nkl3m+Lp3fzS0qHLy2p3+x0Vq/PstJx7H9yM+SGFY1vmwisZrgEYOxGSOgbmQqlY2ll3 NUKg== 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 :in-reply-to:mime-version:references:message-id:to:from:date :delivered-to; bh=TrdIQMdi5/9b96qIScAyjf610Ldj8azrqXteDAyXzAU=; b=PMvfqu7IsDyJ8Y0o54oLmRSj0jWKI+ti2sJWVq7ZYZgQ5DjMMFWznL4NiXnrdDoTd4 rxZTRACY+OQryO9/6xsrBk+xWcNxmHf2qrVrUXKnJlDjdECew8rxRWMf2vZEOsbWYC30 TATduBhxhtPEyKDQyBAns5J4ay0iNoPe2/c1lobhVe/hVHoT46+zwjZrPs6hTGSwutcV 66Wp9bZlSgp+iF6UlNdcFLysJj4fUxowg5e241mM4oDQKNRwmFgyLkukTui6YEmyc5qr LDPit8j8GcOkWDuEY4ePXusR47mcWo0rId9CnbbblpcLKlhKvumescLLJXQx6RKOsgas cMdw== 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 g6si11995296edb.162.2021.09.07.02.28.38; Tue, 07 Sep 2021 02:28:38 -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 D926668A72F; Tue, 7 Sep 2021 12:28:35 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mx.sdf.org (mx.sdf.org [205.166.94.24]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id ECB3468A71E for ; Tue, 7 Sep 2021 12:28:28 +0300 (EEST) Received: from 686d654cea04e5370928f0cbd8458c3e ([1.145.166.80]) (authenticated (128 bits)) by mx.sdf.org (8.15.2/8.14.5) with ESMTPSA id 1879SN5S004403 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO) for ; Tue, 7 Sep 2021 09:28:26 GMT Date: Tue, 7 Sep 2021 19:28:19 +1000 From: Peter Ross To: ffmpeg-devel@ffmpeg.org Message-ID: References: <52654437a219b6d23d7779be9a9268d45850de3b.1631006828.git.pross@xvid.org> MIME-Version: 1.0 In-Reply-To: <52654437a219b6d23d7779be9a9268d45850de3b.1631006828.git.pross@xvid.org> Subject: [FFmpeg-devel] [PATCH 3/4] avcodec/siren: add checksum calculation 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: +pewYl5Rw8NC --- libavcodec/siren.c | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/libavcodec/siren.c b/libavcodec/siren.c index ccc69aaf40..31fb9346da 100644 --- a/libavcodec/siren.c +++ b/libavcodec/siren.c @@ -752,7 +752,34 @@ static int siren_decode(AVCodecContext *avctx, void *data, frame_error = 1; } - skip_bits(gb, s->checksum_bits); + if (s->checksum_bits) { + static const uint16_t ChecksumTable[4] = {0x7F80, 0x7878, 0x6666, 0x5555}; + int wpf, checksum, sum, calculated_checksum, temp1, temp2; + + wpf = bits_per_frame / 16; + + checksum = AV_RB16(avpkt->data + (wpf - 1) * 2) & ((1 << s->checksum_bits) - 1); + + sum = 0; + for (int i = 0; i < wpf - 1; i++) + sum ^= AV_RB16(avpkt->data + i * 2) << (i % 15); + sum ^= (AV_RB16(avpkt->data + (wpf - 1) * 2) & ~checksum) << ((wpf - 1) % 15); + sum = (sum >> 15) ^ (sum & 0x7FFF); + + calculated_checksum = 0; + for (int i = 0; i < 4; i++) { + temp1 = ChecksumTable[i] & sum; + for (int j = 8; j > 0; j >>= 1) { + temp2 = temp1 >> j; + temp1 ^= temp2; + } + calculated_checksum <<= 1; + calculated_checksum |= temp1 & 1; + } + + if (checksum != calculated_checksum) + frame_error = 1; + } if (frame_error) { memcpy(s->imdct_in, s->backup_frame, number_of_valid_coefs * sizeof(float)); From patchwork Tue Sep 7 09:29:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ross X-Patchwork-Id: 30059 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6602:2a4a:0:0:0:0 with SMTP id k10csp4492962iov; Tue, 7 Sep 2021 02:29:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPUgVMllPUGi3fkmnKJn0oCdPVcjrNSU8fdyDeiu1fgO/zlVb+QUvOt0Qp+ckm0NnGmq8J X-Received: by 2002:a50:ccdb:: with SMTP id b27mr17203edj.31.1631006979095; Tue, 07 Sep 2021 02:29:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631006979; cv=none; d=google.com; s=arc-20160816; b=DHnlB0RgY/o2KyNDloe5F+sm9gW2lBtnnMTRhtRETLmKqgqs0SfMc5IbQLQ2Xfw6Ld hnK13bUoo0DlHQyjRg/VDsQcelnyhrltYHRfUr8+YhrtUazsA3q9Txckfp802oo23SpU roB0i37IRAHbrEj2KHVPBrOvMGgjDsGs0qO9mVm+J8IR0S1ik2kp1z3URbpSxoBv3dvC Sr1WJO0p5Y53YXxVKmt84DULpZ2DNBTT8eAkjTXkMZWS5CBY4jaGr2sRuKGNl+lot7E5 EkV8uyQPqs2RfOMScqYqCL5Xtr0ZUDXj++lhrVerOiU44DfoAdP4IQT9QK/HroEnWk0K dgVg== 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 :in-reply-to:mime-version:references:message-id:to:from:date :delivered-to; bh=koKKNu2paXxJAFgp+ZLtyeiy7f5rvTTe/H61U3/XxQo=; b=Feb/yaJPjTrEo5cIkSts7pqtqLS2XvV87/M+AU6r++vYZuBzzyuSj31QkSiN0aL5d+ kXe8BR/LwTPQq8SwL3bMClZsyERM2BpsyxO96UWR7w8W0WPwuWaiy2HnCzRNX5puRg3C j/VvLqQTQBHgHxOpyApyr1mFrlDBtrq03vWSVMW4+rOtpDw135WY3HkiENesTsx7lYTh PT5eEfey1DbARo2U/qxMNiWmd69Zs56WhhamJr8E6E7afxlw/MNqvG7s9hKzjQlE5y4/ kt6RNMco4UM7wkW1agiiXBCNjQemjcj5sE0tyJmvpxGpL99sbbRFRPce3cxb/DoNrLXv WwtA== 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 y9si10705007edr.413.2021.09.07.02.29.38; Tue, 07 Sep 2021 02:29:39 -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 33A5D68A6D6; Tue, 7 Sep 2021 12:29:35 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mx.sdf.org (mx.sdf.org [205.166.94.24]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D1AE868A5F3 for ; Tue, 7 Sep 2021 12:29:26 +0300 (EEST) Received: from 4850dd6fb465bd591b59462d90e5f9ec ([1.145.166.80]) (authenticated (128 bits)) by mx.sdf.org (8.15.2/8.14.5) with ESMTPSA id 1879THAq009311 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO) for ; Tue, 7 Sep 2021 09:29:20 GMT Date: Tue, 7 Sep 2021 19:29:13 +1000 From: Peter Ross To: ffmpeg-devel@ffmpeg.org Message-ID: References: <52654437a219b6d23d7779be9a9268d45850de3b.1631006828.git.pross@xvid.org> MIME-Version: 1.0 In-Reply-To: <52654437a219b6d23d7779be9a9268d45850de3b.1631006828.git.pross@xvid.org> Subject: [FFmpeg-devel] [PATCH 4/4] fate: msnsiren test case 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: mckd2E0ttsjO --- tests/fate/audio.mak | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/fate/audio.mak b/tests/fate/audio.mak index fd9905ca0a..ade1e9edba 100644 --- a/tests/fate/audio.mak +++ b/tests/fate/audio.mak @@ -38,6 +38,11 @@ fate-imc: CMD = pcm -i $(TARGET_SAMPLES)/imc/imc.avi fate-imc: CMP = oneoff fate-imc: REF = $(SAMPLES)/imc/imc-201706.pcm +FATE_SAMPLES_AUDIO-$(call DEMDEC, WAV, MSNSIREN) += fate-msnsiren +fate-msnsiren: CMD = pcm -i $(TARGET_SAMPLES)/msnsiren/msnsiren.wav +fate-msnsiren: REF = $(SAMPLES)/msnsiren/msnsiren.pcm +fate-msnsiren: FUZZ = 2 + FATE_SAMPLES_AUDIO-$(call DEMDEC, FLV, NELLYMOSER) += fate-nellymoser fate-nellymoser: CMD = pcm -i $(TARGET_SAMPLES)/nellymoser/nellymoser.flv fate-nellymoser: CMP = oneoff