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 4009C49209 for ; Thu, 7 Mar 2024 12:37:31 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 819CD68CF55; Thu, 7 Mar 2024 14:37:25 +0200 (EET) Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7509468CCAA for ; Thu, 7 Mar 2024 14:37:18 +0200 (EET) Authentication-Results: mail0.khirnov.net; dkim=pass (2048-bit key; unprotected) header.d=khirnov.net header.i=@khirnov.net header.a=rsa-sha256 header.s=mail header.b=jvKP4Hu0; dkim-atps=neutral Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 2BC5E24048D for ; Thu, 7 Mar 2024 13:37:18 +0100 (CET) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavis, port 10024) with ESMTP id H4UQTbE6e9Ym for ; Thu, 7 Mar 2024 13:37:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=khirnov.net; s=mail; t=1709815037; bh=J0FFkH/8sAXPaEBqq1SJzM9PGlUdYA2W8TKlVLE2TGo=; h=Subject:From:To:In-Reply-To:References:Date:From; b=jvKP4Hu0I4jo8KHozDXKIhv54SbLJcKQxT+xmuaLGWH9v6yjBvnawUOzoSRzxJsSh Wv3sVhQKn5mtIUCinfb6SkDwc/YpxBfV3FM8xIinf+BKQ9d93YV5JUV305RXyauogw lWuhTIQhL7lV7AnCqIgooZ2Mjkw77bVnL6xNuo9KzqI8TAtC47zqBEJu1TOcnQZN/x 6qkPTxg2VvBw+IUMwd6Ov3mWwEpKlOW4EV7m78mtpGy92iPCDHFnnDz71OYZMciG28 tvXJWK/pTikX5eO5wSokOJJ9MWvbT4V6PfgFqDHNEhN9+fyvP6zSnpkfxf1Q7UzelB /Himnva3/rbMQ== Received: from lain.khirnov.net (lain.khirnov.net [IPv6:2001:67c:1138:4306::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "lain.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail0.khirnov.net (Postfix) with ESMTPS id 95AFD240177 for ; Thu, 7 Mar 2024 13:37:17 +0100 (CET) Received: by lain.khirnov.net (Postfix, from userid 1000) id 71F471601B9; Thu, 7 Mar 2024 13:37:17 +0100 (CET) From: Anton Khirnov To: FFmpeg development discussions and patches In-Reply-To: <264761ea-8e47-46f0-b70e-d5fd6b6605d3@gmail.com> References: <20240304130657.30631-1-anton@khirnov.net> <20240304130657.30631-23-anton@khirnov.net> <170963280234.29002.12316451033069413004@lain.khirnov.net> <170981392457.662.13858277976495309267@lain.khirnov.net> <264761ea-8e47-46f0-b70e-d5fd6b6605d3@gmail.com> Mail-Followup-To: FFmpeg development discussions and patches Date: Thu, 07 Mar 2024 13:37:17 +0100 Message-ID: <170981503744.662.2853394473241335716@lain.khirnov.net> User-Agent: alot/0.8.1 MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH 23/29] avcodec/mpeg12dec: use ff_frame_new_side_data 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: Quoting James Almer (2024-03-07 13:25:07) > I wouldn't. It adds an extra layer of abstraction for no real gain. The gain is simpler API. What's the gain in forcing decoder authors to call a different function to accomplish the same task, just because frame threading happens to be used. > And the name in this case is very specific and self explanatory in how > it's different from the alternative. >From decoder POV it's not different at all, it does exactly the same thing. -- Anton Khirnov _______________________________________________ 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".