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 3C87943E1D for ; Mon, 15 Aug 2022 20:40:01 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id A202E68B93A; Mon, 15 Aug 2022 23:39:58 +0300 (EEST) Received: from mail-yw1-f179.google.com (mail-yw1-f179.google.com [209.85.128.179]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1E459680105 for ; Mon, 15 Aug 2022 23:39:52 +0300 (EEST) Received: by mail-yw1-f179.google.com with SMTP id 00721157ae682-324ec5a9e97so101997617b3.7 for ; Mon, 15 Aug 2022 13:39:52 -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; bh=qq6KH5Su85dxd75/+DMWsBZ6ajcb0//O984zpLfS6w4=; b=QoqFgG35H6b+HokMR+7A3iTZdUil8lhNjou8gz/7eCwyN0DGnI5JC2pu/jdAvXnU7q J3o0vn0xcV5V8qjnVuWqQzMRJ+ktTY0wd3dY1CLP23S86ttTybJGprMGeZzDVeHPXxai 9VIRLGFn4Zan4nqLsCPagcv7nGWDKL09LuWxwNiPhkSGhZ3NPdCWS+KmYSgYpkB68iEA JTcwg9WM8cPHZ3QF57l6NdQtbcmoYrmapFfw97SxDeEaYRauYBHBXAF6BXYndRpK+7rY 60fphu49dSRm0M+32Wb4S8xQpC1xx6bkmZpYNh7+fIipnY+ygguRaICF3KR6psMurRXX rlnQ== 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; bh=qq6KH5Su85dxd75/+DMWsBZ6ajcb0//O984zpLfS6w4=; b=7V18ZwI6SZyslZC9lztX6MSXKTT35tQ4tjntHPNmLKKmRTNCTsWgyFkIjubxcU97yc ALTwtabTnaVC+lNxpKQOTiGPPSkxakR85brW91YHnLyhxH6BC1fOqmUm9qXmRbNyUsTy Uvel9cXxh/tSLLVdVxzyuVWCtzNPM80TCBWXxUv28lNqJPAG9e+LpZMS/uH1sro+MNO+ nSCgYN28sRfPkNv3NkPNvmdrP4MK2s07U/sNOyxcLyhfCPiPqipb7YlqohkL5q6poJaG tYIjRxOMuvhNr0RGuA2UZ4WKIsIuoq3ErsHexRZuuHw3U5EQHiMQmWXILTJBJzXzCPdE a7EQ== X-Gm-Message-State: ACgBeo2sICwagCWEQeAUYL/c0gR72sWyVaHh83Wh4ENjA+7xL580GHhH d4kClu9v4pY1U2ps2d3INmkfLcpBcJaekXzFS4aDverU//8= X-Google-Smtp-Source: AA6agR7j+flDR66XUaAqYL08zfSKzMGf7eLn/D4ElXex73ddMWPfygKng1Bf0YQ7EbFU85C8EkSd2b32KpffrQ8M7zU= X-Received: by 2002:a25:3758:0:b0:68c:8680:af2d with SMTP id e85-20020a253758000000b0068c8680af2dmr1930275yba.157.1660595990412; Mon, 15 Aug 2022 13:39:50 -0700 (PDT) MIME-Version: 1.0 References: <20220801120214.665471-1-mvanb1@gmail.com> In-Reply-To: <20220801120214.665471-1-mvanb1@gmail.com> From: Martijn van Beurden Date: Mon, 15 Aug 2022 22:39:38 +0200 Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] [PATCH v2 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 ma 1 aug. 2022 om 14:03 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. The decoding patch has been send in for review earlier, > but didn't get any feedback yet, so I'm sending it in again, > unchanged, this time with a patch for encoding too. > > 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 > > 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 | 499 ++++++++++++++++++++++++++++++++-------- > libavcodec/get_bits.h | 12 + > libavcodec/mathops.h | 9 + > libavcodec/put_bits.h | 7 + > libavcodec/put_golomb.h | 19 +- > 7 files changed, 668 insertions(+), 130 deletions(-) > I'd like to bring these patches to the attention of the mailing list again. _______________________________________________ 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".