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 C80D0469AA for ; Thu, 31 Aug 2023 15:06:18 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4377768C7A4; Thu, 31 Aug 2023 18:06:15 +0300 (EEST) Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 4771C68C49B for ; Thu, 31 Aug 2023 18:06:09 +0300 (EEST) Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-401d2e11dacso13837065e9.0 for ; Thu, 31 Aug 2023 08:06:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693494368; x=1694099168; darn=ffmpeg.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=2+gCzYIYflP2NkDr7hiDY/taLALYEcLfEhRtJIKoYa4=; b=gKsjlhHLXrHhJ16W/ksH/7oxOORWamZyMjgdbeJCH3YKqVAG8A4mvonI8kzuNGeIz1 C27KqjzF450ZqoLnNtmRhB2CVKPPP/C9vLOXwe7H5dvKQWbxSiYNIR1NbLEsHbtmGaQs 8DXmUKub/NHzzsnROy3tySu1rZzk+GxtnDmygYTovLpcAQuSrtySbN/uNJMjKpX36gb9 6FT/M7cv1YOb3v/RTUyZ+7k55CpjmEDmaiFe4g/m4hjNea1FZCxRw9IQOVpgQ89r1Kz2 9KAHolnycopCRUh1MM/ppZO3O/Pfp0VNKel1t2WiyQWFsG/coSZEspkozUDhwCkN4ruV 2lbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693494368; x=1694099168; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=2+gCzYIYflP2NkDr7hiDY/taLALYEcLfEhRtJIKoYa4=; b=j+O4rRXj+JeJW4X4kWdxN+OFqgJagpASdd1LAi9/vmpN3+D1li47X1fD4BXmTyu2/d LmGnzIcM3IhtXTXiO8kJeXtkY5Zk8mNW4+0Qlhb960RprLDrAOJ7xTw9uJztiIb/nLWw h4W9FV6CcoLEZpBWQ8Tvxty1D4BQUp1Jjnb+ccjPwWS09sw5PKIlXT/vNzuFhMSZ/QDU D+2N8XSR7yRoYlVMotk6iq8cyDPYPkNbMQVogq6xNWKsafGuHKh9ZiA6P8N6zUECsYry YXwVEN0OBZlv1fgLwE2pWZBytttcH2r7X3AiFuAUF1CCXlsCZy67gxAzN8jUiiXYxS2C YDxg== X-Gm-Message-State: AOJu0YwxU0S1aM4l1NgvaGo34XAh6muPzwJcsROW3JMrYE6Bumef+/UF SKt2U9LYSzgPc577oiYffSmuLkLDD3A= X-Google-Smtp-Source: AGHT+IFia+op8wYAI5eCBE1L7n0zGRf0NDOx7wbhI3ErBGYUnkMSPyYCXLtISXKVVtzuiqtJXi6oQg== X-Received: by 2002:a05:6000:151:b0:317:f3fd:21b0 with SMTP id r17-20020a056000015100b00317f3fd21b0mr39325wrx.7.1693494367495; Thu, 31 Aug 2023 08:06:07 -0700 (PDT) Received: from mariano ([82.84.194.139]) by smtp.gmail.com with ESMTPSA id n4-20020adffe04000000b0031779a6b451sm2494397wrr.83.2023.08.31.08.06.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Aug 2023 08:06:06 -0700 (PDT) Received: by mariano (Postfix, from userid 1000) id 6B092BFCDA; Thu, 31 Aug 2023 17:06:06 +0200 (CEST) Date: Thu, 31 Aug 2023 17:06:06 +0200 From: Stefano Sabatini To: FFmpeg development discussions and patches Message-ID: Mail-Followup-To: FFmpeg development discussions and patches References: <20230826122328.95416-1-stefasab@gmail.com> <169306293626.20400.4712343328864304301@lain.khirnov.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <169306293626.20400.4712343328864304301@lain.khirnov.net> User-Agent: Mutt/2.1.4 (2021-12-11) Subject: Re: [FFmpeg-devel] [PATCH] lsws/swscale.h: introduce sws_get_gaussian_vec 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 date Saturday 2023-08-26 17:15:36 +0200, Anton Khirnov wrote: > Quoting Stefano Sabatini (2023-08-26 14:23:28) > > Use in place of sws_getGaussianVec. > > > > The new function enable better log handling, and provide better naming > > for the variance variable, now named standard_deviation to reflect the > > meaning of the parameter. > > Logging to NULL does not seem like an improvement to me. Adding the log_ctx. > Renaming a function parameter does not require an API break. The main point was improving the naming of the variable, but while at it I'm also adding the logging context and providing a return code to specify an error failure, and moving to snake_case convention which is the one used by the new API additions. _______________________________________________ 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".