Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Marco Oman via ffmpeg-devel <ffmpeg-devel@ffmpeg.org>
To: "ffmpeg-devel@ffmpeg.org" <ffmpeg-devel@ffmpeg.org>
Cc: Marco Oman <marco.oman@innovatrieste.it>
Subject: [FFmpeg-devel] npp scaling
Date: Thu, 14 Aug 2025 13:17:36 +0000
Message-ID: <PAVPR01MB10371A989BDE4734004084155E135A@PAVPR01MB10371.eurprd01.prod.exchangelabs.com> (raw)

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".

             reply	other threads:[~2025-08-14 13:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-14 13:17 Marco Oman via ffmpeg-devel [this message]
2025-08-14 14:00 ` Timo Rothenpieler via ffmpeg-devel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=PAVPR01MB10371A989BDE4734004084155E135A@PAVPR01MB10371.eurprd01.prod.exchangelabs.com \
    --to=ffmpeg-devel@ffmpeg.org \
    --cc=marco.oman@innovatrieste.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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