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 3C98343DB4 for ; Sat, 10 Sep 2022 10:33:21 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 46BF368BB0F; Sat, 10 Sep 2022 13:33:19 +0300 (EEST) Received: from mail-yw1-f172.google.com (mail-yw1-f172.google.com [209.85.128.172]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9CC4068BA96 for ; Sat, 10 Sep 2022 13:33:12 +0300 (EEST) Received: by mail-yw1-f172.google.com with SMTP id 00721157ae682-3454e58fe53so46260407b3.2 for ; Sat, 10 Sep 2022 03:33:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date; bh=RYTTGYFUg2PoU/K5AQuETDgsM6fc37BtRlk5PEQXczQ=; b=CPn2RVhlKHRUptCEB6nCceVSHa/Vkfe3u9QmzdaoqxGV4wAalqdla8n8uw72EnyF64 GYg9N5MA0XesvjEM5ngzldaGcG3LZbtI3hN/6G9FvJip+WeBvGPm8klR/fj2znLG/tfE vAY6VfN87w+rw/SqR2XPZWIz9+uAOZw1TziNwkjAiWkN+OH+CFxlxl1CBupOOPsc0ZoY tR5YUZDxvWdrjRRzul8R8FSmQ+7Jmoks0nFivGspJ3uTgLMwbqCmwVrspIYybj+bb90R d11kdjhlr+yPuCdTDRD/gf1PsZQWWQ54Ypmfgf+/y2BziZZbXnfpweIUI3ZHsBh1tCfo kXCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date; bh=RYTTGYFUg2PoU/K5AQuETDgsM6fc37BtRlk5PEQXczQ=; b=z8LA6OFy9ndd6o4sDQTB9V7HsYlgoMtgzsa4P/nRbDqfkYvsl5uAwh8N1G2ci5cXWd VOYC3XVCm+ec4WfgE9jmhHtYSuXgUDs6YK1e58fTK3NfnaxVUsBYnK/mPXbG8Munjs3c L2bnrdXmxttfcDgIDHCvBwbYuIUgi0dNYBbUtlWTAHVhT2SkM7Y6isHPejwnNVLpwvlo NiQJLP2NwnlYwnY3K4TZAdLq/hKB4VCMs4BIjLVVUy0xb8S7gMXyPR1By5h8MG0DAT6p MeMhgJonmkI9qbPqy5jUPfo47CMK/ziA48WAH2Rct6oVZtSV6WNiY5ybugSdKVYFg/ed pxZA== X-Gm-Message-State: ACgBeo1C/86w+GYb1zzSzyWHB1Mk0x4fjvpzPxqfP0FSGMZaaEnm9Unb /GnmCNFoAvVuYhsYn1GBweKEztWVTYpXEOoic0FbLoEguvo= X-Google-Smtp-Source: AA6agR4Et25sygS9/oL2Sr7KBjb8OleWbLc+0YzXl3eJcaSWYa+gL0QzpoLOyK5JX+gJieaXvgk3lXhQnqJ2Z0bgFFk= X-Received: by 2002:a0d:de83:0:b0:337:c0bf:12ee with SMTP id h125-20020a0dde83000000b00337c0bf12eemr14606125ywe.289.1662805990940; Sat, 10 Sep 2022 03:33:10 -0700 (PDT) MIME-Version: 1.0 References: <20220903092144.569716-1-mvanb1@gmail.com> In-Reply-To: <20220903092144.569716-1-mvanb1@gmail.com> From: Martijn van Beurden Date: Sat, 10 Sep 2022 12:32:57 +0200 Message-ID: To: ffmpeg-devel@ffmpeg.org X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] [PATCH v4 0/2] 32bps FLAC patches 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: Op za 3 sep. 2022 om 11:21 schreef Martijn van Beurden : > Recently libFLAC gained the ability (not in any released version yet > though) to create FLAC files containing 32-bit int PCM samples. To > keep complexity reasonable, the choice was made to limit residuals > to 32-bit integers, which the encoder must make sure of. In case > the encoder cannot find any predictor of which the residuals fit > this limit, it must default to using a verbatim subframe. Tests have > shown that this does not happen often (<0.1% of subframes on a > music corpus of various styles). See also discussion here: > https://github.com/ietf-wg-cellar/flac-specification/pull/148 > > These two patches implement decoding and encoding following this > format. > > Changes since v1: > fix copy-paste error in encoder, several invocations of > lpc_encode_choose_datapath used wrong parameters, making FATE fail as > compression was less than it should be > > Changes since v2: > Rebased decoder part as it didn't apply anymore > > Changes since v3: > Moved put_golomb part to flacenc.c (as it is now quite specific to FLAC) > and renamed put_sbits64 to put_sbits63 (and changed assert accordingly) > > Martijn van Beurden (2): > libavcodec/flacdec: Implement decoding of 32 bit-per-sample PCM > libavcodec/flacenc: Implement encoding of 32 bit-per-sample PCM > > libavcodec/flac.c | 4 +- > libavcodec/flacdec.c | 248 +++++++++++++++++-- > libavcodec/flacenc.c | 519 ++++++++++++++++++++++++++++++++-------- > libavcodec/get_bits.h | 12 + > libavcodec/mathops.h | 9 + > libavcodec/put_bits.h | 7 + > libavcodec/put_golomb.h | 14 -- > 7 files changed, 674 insertions(+), 139 deletions(-) > > -- > 2.30.2 > > Perhaps a little early for a reminder, sorry about that. I'd just like to add to the above email that the FLAC reference implementation, libFLAC, has had a release yesterday including the functionality of these patches (encoding/decoder of 32 bps audio). _______________________________________________ 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".