From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 019C04C251 for ; Fri, 23 May 2025 16:52:29 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 0209968DEA8; Fri, 23 May 2025 19:52:24 +0300 (EEST) Received: from haasn.dev (haasn.dev [78.46.187.166]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id B373968DA52 for ; Fri, 23 May 2025 19:52:17 +0300 (EEST) Received: from haasn.dev (unknown [10.30.1.1]) by haasn.dev (Postfix) with UTF8SMTP id 634F6418EF for ; Fri, 23 May 2025 18:52:17 +0200 (CEST) Date: Fri, 23 May 2025 18:52:17 +0200 Message-ID: <20250523185217.GB106575@haasn.xyz> From: Niklas Haas To: FFmpeg development discussions and patches In-Reply-To: <20250523162738.GF29660@pb2> References: <20250521124824.49657-1-ffmpeg@haasn.xyz> <20250521124824.49657-9-ffmpeg@haasn.xyz> <20250523162738.GF29660@pb2> MIME-Version: 1.0 Content-Disposition: inline Subject: Re: [FFmpeg-devel] [PATCH v2 08/17] swscale/ops_internal: add internal ops backend API 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 Fri, 23 May 2025 18:27:38 +0200 Michael Niedermayer wrote: > On Wed, May 21, 2025 at 02:43:54PM +0200, Niklas Haas wrote: > > From: Niklas Haas > > > > This adds an internal API for ops backends, which are responsible for > > compiling op lists into executable functions. > > --- > > libswscale/ops.c | 62 ++++++++++++++++++++++ > > libswscale/ops_internal.h | 108 ++++++++++++++++++++++++++++++++++++++ > > 2 files changed, 170 insertions(+) > > create mode 100644 libswscale/ops_internal.h > > ubuntu x86-32 > > In file included from src/libavutil/internal.h:39:0, > from src/libavutil/common.h:50, > from src/libavutil/avutil.h:300, > from src/libswscale/swscale.h:33, > from src/libswscale/graph.h:27, > from src/libswscale/ops.h:28, > from src/libswscale/ops.c:27: > src/libswscale/ops_internal.h:50:1: error: static assertion failed: "SwsOpExec layout mismatch" > static_assert(sizeof(SwsOpExec) == 16 * sizeof(void *) + 8 * sizeof(int32_t), > ^ > make: *** [/home/michael/ffmpeg-git/ffmpeg/ffbuild/common.mak:81: libswscale/ops.o] Error 1 > make: *** Waiting for unfinished jobs.... Fixed; I've opted to instead move the alignment to the usage site. > AR libavcodec/libavcodec.a > > [...] > -- > Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB > > While the State exists there can be no freedom; when there is freedom there > will be no State. -- Vladimir Lenin > _______________________________________________ > 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". _______________________________________________ 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".