* [FFmpeg-devel] npp scaling
@ 2025-08-14 13:17 Marco Oman via ffmpeg-devel
2025-08-14 14:00 ` Timo Rothenpieler via ffmpeg-devel
0 siblings, 1 reply; 2+ messages in thread
From: Marco Oman via ffmpeg-devel @ 2025-08-14 13:17 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Marco Oman
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?
________________________________________
Informativa sulla privacy e sulla sicurezza
Questo messaggio pu? contenere informazioni confidenziali ed ? destinato esclusivamente all'indirizzo in intestazione. Il materiale e le informazioni contenuti e/o collegati a questo messaggio sono riservati e non divulgabili a terzi. Ai sensi della legge sul diritto d'autore e del codice civile, sono vietate la riproduzione o la modifica non espressamente autorizzata di questo materiale, o di parte di esso, con qualsiasi mezzo, in quanto di esclusiva propriet? di Innova S.p.A. o dei suoi danti causa. Persone diverse dal destinatario di questo messaggio non possono copiare o distribuire il messaggio stesso a terzi. Punti di vista od opinioni personali presenti in questo messaggio sono riconducibili direttamente al solo mittente del messaggio, e non rappresentano necessariamente il punto di vista o l'opinione di Innova S.p.A., salvo altrimenti specificato. Essendo Internet un canale di comunicazione non sicuro, Innova S.p.A. non ? responsabile di eventuali modifiche, n? della violazio
ne, sottrazione o soppressione, occorse al messaggio dopo la spedizione da parte del mittente. Si raccomanda al destinatario di effettuare un controllo antivirus prima di aprire qualsiasi allegato alla presente. Innova S.p.A. non ? responsabile di eventuali danni occorsi a seguito di virus informatici accidentalmente trasmessi tramite i contenuti del presente messaggio. Chiunque riceva questo messaggio per errore, ? pregato di distruggerlo e di informare immediatamente il mittente con lo stesso mezzo e cancellarlo dai propri sistemi. Quanto precede ai fini del rispetto del Regolamento UE 2016/679 in materia di protezione dei dati personali. Per l'informativa estesa consultare il sito Internet di Innova S.p.A. sezione Privacy.
Disclaimer and confidentiality notice
This e-mail may contain confidential information and is intended only for the addressee named above and the contents should not be disclosed to any other person nor copies taken or forwarded. Any views or opinions presented are solely those of the sender and do not necessarily represent the views of Innova S.p.A. unless otherwise specifically stated. As not all internet communications are secure Innova S.p.A. does not accept legal responsibility for the contents of this message nor responsibility for any change or breach or subtraction or suppression of this message after it was sent by the original sender. We advise you to carry out your own virus check before opening any attachments as we cannot accept liability for any damage sustained as a result of any software viruses. Please notify the sender immediately if you have received this e-mail by mistake and delete it from your systems. This disclaimer according to GDPR Regulation EU 2016/679. Privacy-related information is available
on the company website, Privacy section.
_______________________________________________
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".
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [FFmpeg-devel] npp scaling
2025-08-14 13:17 [FFmpeg-devel] npp scaling Marco Oman via ffmpeg-devel
@ 2025-08-14 14:00 ` Timo Rothenpieler via ffmpeg-devel
0 siblings, 0 replies; 2+ messages in thread
From: Timo Rothenpieler via ffmpeg-devel @ 2025-08-14 14:00 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Timo Rothenpieler
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".
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-08-14 13:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-14 13:17 [FFmpeg-devel] npp scaling Marco Oman via ffmpeg-devel
2025-08-14 14:00 ` Timo Rothenpieler via ffmpeg-devel
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git