From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 9630645897 for ; Sat, 27 May 2023 04:55:28 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id AF59B68C16A; Sat, 27 May 2023 07:55:24 +0300 (EEST) Received: from mail-vk1-f177.google.com (mail-vk1-f177.google.com [209.85.221.177]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 89AE368C07C for ; Sat, 27 May 2023 07:55:18 +0300 (EEST) Received: by mail-vk1-f177.google.com with SMTP id 71dfb90a1353d-4573e1e6cb9so1680387e0c.0 for ; Fri, 26 May 2023 21:55:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685163317; x=1687755317; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DU3JmdAvA3OAABhN+wZd7Tzz49Ov6637Vg/1Twe2rcA=; b=Bl0NXAqm03Oxo3B59G1A4f6FOu4QxAqQYdMLFuS0aThPLkSraJzh+ciZJN+IFNXOHO a9R8LnSNYIiWAi/Hr/5hxqK7X7KtiztG99p8hr+cvS7C8ZTgeqjBEFlPJWLk3u/2X0a8 0u3cx6xtZVYY6cws05OQGpEsVJGdkIcUmTt4g8xHt8mocibrcoczIhhNqik9859KQbWX L/4qF//PB1fnkLkzX/659ETGpPAtZO1wj6LAW0VGDDDMsBVAmSWD0hh/c4e6Y7JhqVVF MRb65bC9Fjr6Kr0e8EpSMV6SiLlh5KAkhn/Zg6E9cANrMBklJuhIW0dlnPYyJnM1h0mP H46Q== X-Gm-Message-State: AC+VfDwrimfpIXiVJCA2xfZITsFgPCJzl6yJrF6g2/SQ9lmcs/cbe9xW ZO1LOF0mAFCDmUuC81fzPDi9NdJsNzfSeA== X-Google-Smtp-Source: ACHHUZ5+3148Eodo6q7Q9q1YWxs8Qac9CArhPQhhJ6AWWXsapXuPeKpWT76YFgcKFqQU0nW+3cydrg== X-Received: by 2002:a1f:5eca:0:b0:440:5d97:3bca with SMTP id s193-20020a1f5eca000000b004405d973bcamr332255vkb.7.1685163316748; Fri, 26 May 2023 21:55:16 -0700 (PDT) Received: from mail-vk1-f177.google.com (mail-vk1-f177.google.com. [209.85.221.177]) by smtp.gmail.com with ESMTPSA id u9-20020a1f2e09000000b0044fb6142ba4sm883331vku.7.2023.05.26.21.55.16 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 May 2023 21:55:16 -0700 (PDT) Received: by mail-vk1-f177.google.com with SMTP id 71dfb90a1353d-456d9652c24so1675322e0c.1 for ; Fri, 26 May 2023 21:55:16 -0700 (PDT) X-Received: by 2002:a1f:2184:0:b0:458:8ee3:cad9 with SMTP id h126-20020a1f2184000000b004588ee3cad9mr308867vkh.8.1685163316058; Fri, 26 May 2023 21:55:16 -0700 (PDT) MIME-Version: 1.0 References: <20230527042326.301505-1-tmatth@videolan.org> In-Reply-To: <20230527042326.301505-1-tmatth@videolan.org> From: Tristan Matthews Date: Sat, 27 May 2023 00:55:06 -0400 X-Gmail-Original-Message-ID: Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] [PATCH] nellymoser: user float literals for table 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Sat, May 27, 2023, 00:24 Tristan Matthews wrote: > --- > libavcodec/nellymoser.c | 36 ++++++++++++++++++------------------ > 1 file changed, 18 insertions(+), 18 deletions(-) > > diff --git a/libavcodec/nellymoser.c b/libavcodec/nellymoser.c > index 66c5f83a56..fa22b79909 100644 > --- a/libavcodec/nellymoser.c > +++ b/libavcodec/nellymoser.c > @@ -39,30 +39,30 @@ > #include "nellymoser.h" > > const float ff_nelly_dequantization_table[127] = { > - 0.0000000000, > + 0.0000000000f, > > --0.8472560048, 0.7224709988, > +-0.8472560048f, 0.7224709988f, > > --1.5247479677,-0.4531480074, 0.3753609955, 1.4717899561, > +-1.5247479677f,-0.4531480074f, 0.3753609955f, 1.4717899561f, > > --1.9822579622,-1.1929379702,-0.5829370022,-0.0693780035, 0.3909569979, > 0.9069200158, 1.4862740040, 2.2215409279, > +-1.9822579622f,-1.1929379702f,-0.5829370022f,-0.0693780035f, > 0.3909569979f, 0.9069200158f, 1.4862740040f, 2.2215409279f, > > > --2.3887870312,-1.8067539930,-1.4105420113,-1.0773609877,-0.7995010018,-0.5558109879,-0.3334020078,-0.1324490011, > - 0.0568020009, 0.2548770010, 0.4773550034, 0.7386850119, 1.0443060398, > 1.3954459429, 1.8098750114, 2.3918759823, > > +-2.3887870312f,-1.8067539930f,-1.4105420113f,-1.0773609877f,-0.7995010018f,-0.5558109879f,-0.3334020078f,-0.1324490011f, > + 0.0568020009f, 0.2548770010f, 0.4773550034f, 0.7386850119f, > 1.0443060398f, 1.3954459429f, 1.8098750114f, 2.3918759823f, > > > --2.3893830776,-1.9884680510,-1.7514040470,-1.5643119812,-1.3922129869,-1.2164649963,-1.0469499826,-0.8905100226, > > --0.7645580173,-0.6454579830,-0.5259280205,-0.4059549868,-0.3029719889,-0.2096900046,-0.1239869967,-0.0479229987, > - 0.0257730000, 0.1001340002, 0.1737180054, 0.2585540116, 0.3522900045, > 0.4569880068, 0.5767750144, 0.7003160119, > - 0.8425520062, 1.0093879700, 1.1821349859, 1.3534560204, 1.5320819616, > 1.7332619429, 1.9722349644, 2.3978140354, > > +-2.3893830776f,-1.9884680510f,-1.7514040470f,-1.5643119812f,-1.3922129869f,-1.2164649963f,-1.0469499826f,-0.8905100226f, > > +-0.7645580173f,-0.6454579830f,-0.5259280205f,-0.4059549868f,-0.3029719889f,-0.2096900046f,-0.1239869967f,-0.0479229987f, > + 0.0257730000f, 0.1001340002f, 0.1737180054f, 0.2585540116f, > 0.3522900045f, 0.4569880068f, 0.5767750144f, 0.7003160119f, > + 0.8425520062f, 1.0093879700f, 1.1821349859f, 1.3534560204f, > 1.5320819616f, 1.7332619429f, 1.9722349644f, 2.3978140354f, > > > --2.5756309032,-2.0573320389,-1.8984919786,-1.7727810144,-1.6662600040,-1.5742180347,-1.4993319511,-1.4316639900, > > --1.3652280569,-1.3000990152,-1.2280930281,-1.1588579416,-1.0921250582,-1.0135740042,-0.9202849865,-0.8287050128, > > --0.7374889851,-0.6447759867,-0.5590940118,-0.4857139885,-0.4110319912,-0.3459700048,-0.2851159871,-0.2341620028, > --0.1870580018,-0.1442500055,-0.1107169986,-0.0739680007,-0.0365610011,-0.0073290002, > 0.0203610007, 0.0479039997, > - 0.0751969963, 0.0980999991, 0.1220389977, 0.1458999962, 0.1694349945, > 0.1970459968, 0.2252430022, 0.2556869984, > - 0.2870100141, 0.3197099864, 0.3525829911, 0.3889069855, 0.4334920049, > 0.4769459963, 0.5204820037, 0.5644530058, > - 0.6122040153, 0.6685929894, 0.7341650128, 0.8032159805, 0.8784040213, > 0.9566209912, 1.0397069454, 1.1293770075, > - 1.2211159468, 1.3080279827, 1.4024800062, 1.5056819916, 1.6227730513, > 1.7724959850, 1.9430880547, 2.2903931141 > > +-2.5756309032f,-2.0573320389f,-1.8984919786f,-1.7727810144f,-1.6662600040f,-1.5742180347f,-1.4993319511f,-1.4316639900f, > > +-1.3652280569f,-1.3000990152f,-1.2280930281f,-1.1588579416f,-1.0921250582f,-1.0135740042f,-0.9202849865f,-0.8287050128f, > > +-0.7374889851f,-0.6447759867f,-0.5590940118f,-0.4857139885f,-0.4110319912f,-0.3459700048f,-0.2851159871f,-0.2341620028f, > +-0.1870580018f,-0.1442500055f,-0.1107169986f,-0.0739680007f,-0.0365610011f,-0.0073290002f, > 0.0203610007f, 0.0479039997f, > + 0.0751969963f, 0.0980999991f, 0.1220389977f, 0.1458999962f, > 0.1694349945f, 0.1970459968f, 0.2252430022f, 0.2556869984f, > + 0.2870100141f, 0.3197099864f, 0.3525829911f, 0.3889069855f, > 0.4334920049f, 0.4769459963f, 0.5204820037f, 0.5644530058f, > + 0.6122040153f, 0.6685929894f, 0.7341650128f, 0.8032159805f, > 0.8784040213f, 0.9566209912f, 1.0397069454f, 1.1293770075f, > + 1.2211159468f, 1.3080279827f, 1.4024800062f, 1.5056819916f, > 1.6227730513f, 1.7724959850f, 1.9430880547f, 2.2903931141f > }; > > const uint8_t ff_nelly_band_sizes_table[NELLY_BANDS] = { > -- > 2.39.2 > Sorry for the typo in the subject, that should read "use float literals"... Best, -t > _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".