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 EACCB46A9D for ; Thu, 14 Aug 2025 13:59:57 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 1B7A468D20E; Thu, 14 Aug 2025 16:59:53 +0300 (EEST) Received: from btbn.de (btbn.de [144.76.60.213]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 0A53668C1FB for ; Thu, 14 Aug 2025 16:59:46 +0300 (EEST) Received: from [authenticated] by btbn.de (Postfix) with ESMTPSA id 64BB6281911D2 for ; Thu, 14 Aug 2025 15:59:45 +0200 (CEST) Message-ID: <76897c6d-f267-4adb-96be-232114ef7f4e@rothenpieler.org> Date: Thu, 14 Aug 2025 16:00:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: ffmpeg-devel@ffmpeg.org References: Content-Language: en-US, de-DE In-Reply-To: Subject: Re: [FFmpeg-devel] npp scaling 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: , From: Timo Rothenpieler via ffmpeg-devel Reply-To: FFmpeg development discussions and patches Cc: Timo Rothenpieler 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 14/08/2025 15:17, Marco Oman via ffmpeg-devel wrote: > Hi all, > I am trying to compile FFmpeg with the --enable-libnpp flag configure on Ubuntu 24.04. > > but I am getting an error in file vf_scale_npp.c >> CC libavfilter/vf_scale_npp.o >> libavfilter/vf_scale_npp.c: In function 'nppscale_deinterleave': >> libavfilter/vf_scale_npp.c:715:15: error: implicit declaration of function 'nppiYCbCr420_8u_P2P3R'; did you mean 'nppiYCbCr420_8u_P2P3R_Ctx'? [-Werror=implicit-function-declaration] >> 715 | err = nppiYCbCr420_8u_P2P3R(in->data[0], in->linesize[0], > > After some investigation work I found that I have CUDA 13.0 on my machine and header file nppi_color_conversion.h installed by CUDA no have a 'double version' for each function, e.g. nppiYCbCr420_8u_P2P3R and nppiYCbCr420_8u_P2P3R_Ctx where the latter takes an extra argument of type NppStreamContext. It has only the latter, and so compilatioon breaks > > So it looks like sooner or later there will be the need to update vf_scale_npp.c to make it compile under these new conditions (without breaking the old). > > Anyone got the same problem? Anyone has plans for a fix? I consider the npp based filters deprecated and have no plan to fix them. I'll instead look into formalizing that, and making configure correctly disable them with incompatible versions of the libraries. Use scale_cuda instead. _______________________________________________ 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".