[FFmpeg-devel] [PATCH] avfilter/vf_transpose adding NPP transpose filter

Michael Niedermayer michael at niedermayer.cc
Fri Aug 31 04:23:44 EEST 2018


On Thu, Aug 30, 2018 at 10:13:28AM +0000, Roman Arzumanyan wrote:
> Hello,
> This patch adds NPP transpose filter.
> 
> Cmd example:
> ffmpeg.exe -hwaccel cuvid -c:v h264_cuvid -i input.mp4 -vf transpose_npp="t=3" -c:v h264_nvenc -y output_transpose_npp.mp4
> 
> Supported values:
> t=0 no transpose
> t=1 90 deg clockwise
> t=2 180 deg clockwise
> t=3 270 deg clockwise
> 
> --
> BR, Roman Arzumanyan
> 
> 
> -----------------------------------------------------------------------------------
> This email message is for the sole use of the intended recipient(s) and may contain
> confidential information.  Any unauthorized review, use, disclosure or distribution
> is prohibited.  If you are not the intended recipient, please contact the sender by
> reply email and destroy all copies of the original message.
> -----------------------------------------------------------------------------------

>  Makefile           |    1 
>  allfilters.c       |    1 
>  vf_transpose_npp.c |  515 +++++++++++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 517 insertions(+)
> 3abd340cf177c125c57233d0085ab794e86fbf09  0001-Adding-NPP-transpose-filter.patch
> From 72ce447ea2bf3c0fbf98a3324b56c1875d3dcb5f Mon Sep 17 00:00:00 2001
> From: Roman Arzumanyan <rarzumanyan at nvidia.com>
> Date: Wed, 29 Aug 2018 12:53:02 +0300
> Subject: [PATCH] Adding NPP transpose filter

this breaks build:
make distclean ; ./configure && make -j12
CC	libavfilter/vf_transpose_npp.o
libavfilter/vf_transpose_npp.c:22:18: fatal error: nppi.h: No such file or directory
 #include <nppi.h>
                  ^
compilation terminated.
make: *** [libavfilter/vf_transpose_npp.o] Error 1
make: Target `all' not remade because of errors.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

"I am not trying to be anyone's saviour, I'm trying to think about the
 future and not be sad" - Elon Musk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180831/a95d0311/attachment.sig>


More information about the ffmpeg-devel mailing list