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 EB80C44368 for ; Fri, 9 Dec 2022 13:09:33 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7835A68BCC0; Fri, 9 Dec 2022 15:09:30 +0200 (EET) Received: from btbn.de (btbn.de [136.243.74.85]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 12CD568BC6C for ; Fri, 9 Dec 2022 15:09:24 +0200 (EET) Received: from [authenticated] by btbn.de (Postfix) with ESMTPSA id 78200393B64 for ; Fri, 9 Dec 2022 14:09:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rothenpieler.org; s=mail; t=1670591363; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pSjx8PdlQ0fx7pKwoRWCaOENhESH5u24xw5s3/6Phao=; b=BDhk9qO09B/JaO8dNwuQkVDHqzmc7rRWlfmVX/I9PA/JWxxHfwx8b9drcewhgLmha+7QwH SoTMdGTWSVuwIFeWNvBdYlTtFCk7v9GnFG+EBMK6nZs/KUmhDys8r6KJQ+GDbsNZm2ARZH 2qg0TRRl1XXWt8kaNAChlpnAR3P/uqv1XVlbViawGrUK90r9Sej2R/nDqv4pXOPPFXD0fr C6jQO4JU53Zu06nIiks14RJKaYr1QPo2mDPm4kiD+m0dnGShMWLPMX3ipXpMhHYJJrjg9+ ADFB61aewDmnRfAcoFI/W7bSIU6eKsDhTWB6S1CYepYDucJLz3cL7JsTsk7ATQ== Message-ID: <0c60d40d-9df8-cba8-257f-6fe4a66d854a@rothenpieler.org> Date: Fri, 9 Dec 2022 14:09:45 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Content-Language: en-US, de-DE To: ffmpeg-devel@ffmpeg.org References: <20221207114330.250-1-timo@rothenpieler.org> <20221207132023.896-1-timo@rothenpieler.org> <20221207222211.GC3806951@pb2> From: Timo Rothenpieler In-Reply-To: <20221207222211.GC3806951@pb2> Subject: Re: [FFmpeg-devel] [PATCH v3] lavc: convert frame threading to the receive_frame() pattern 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 07/12/2022 23:22, Michael Niedermayer wrote: > On Wed, Dec 07, 2022 at 02:20:23PM +0100, Timo Rothenpieler wrote: >> From: Anton Khirnov >> >> Reorganize the code such that the frame threading code does not call the >> decoders directly, but instead calls back into the generic decoding >> code. This avoids duplicating the logic that wraps the decoder >> invocation and will be useful in the following commits. >> --- >> libavcodec/decode.c | 57 +++++---- >> libavcodec/decode.h | 7 + >> libavcodec/internal.h | 7 + >> libavcodec/pthread_frame.c | 256 ++++++++++++++++++++++++------------- >> libavcodec/thread.h | 18 +-- >> 5 files changed, 222 insertions(+), 123 deletions(-) > > This breaks on arm (probably lack of pthread support) in this env > > libavcodec/libavcodec.a(decode.o): In function `decode_receive_frame_internal': > arm/src/libavcodec/decode.c:616: undefined reference to `ff_thread_receive_frame' > arm/src/libavcodec/decode.c:616: undefined reference to `ff_thread_receive_frame' > collect2: error: ld returned 1 exit status > Makefile:131: recipe for target 'ffprobe_g' failed > make: *** [ffprobe_g] Error 1 Probably just missing an #if somewhere. Why does arm not support pthreads though? Or is that just this specific configuration? _______________________________________________ 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".