[FFmpeg-devel] [PATCH 03/16] avutil: add ioctl definitions for tegra devices

Rémi Denis-Courmont remi at remlab.net
Thu May 30 23:42:33 EEST 2024


Le torstaina 30. toukokuuta 2024, 22.43.05 EEST averne a écrit :
> These files are taken with minimal modifications from nvidia's Linux4Tegra
> (L4T) tree. nvmap enables management of memory-mapped buffers for hardware
> devices. nvhost enables interaction with different hardware modules
> (multimedia engines, display engine, ...), through a common block, host1x.
> 
> Signed-off-by: averne <averne381 at gmail.com>
> ---
>  libavutil/Makefile       |   2 +
>  libavutil/nvhost_ioctl.h | 511 +++++++++++++++++++++++++++++++++++++++
>  libavutil/nvmap_ioctl.h  | 451 ++++++++++++++++++++++++++++++++++
>  3 files changed, 964 insertions(+)
>  create mode 100644 libavutil/nvhost_ioctl.h
>  create mode 100644 libavutil/nvmap_ioctl.h
> 
> diff --git a/libavutil/Makefile b/libavutil/Makefile
> index 6e6fa8d800..9c112bc58a 100644
> --- a/libavutil/Makefile
> +++ b/libavutil/Makefile
> @@ -52,6 +52,8 @@ HEADERS = adler32.h                                       
>              \ hwcontext_videotoolbox.h                                    
>  \ hwcontext_vdpau.h                                             \
> hwcontext_vulkan.h                                            \ +         
> nvhost_ioctl.h                                                \ +         
> nvmap_ioctl.h                                                 \ iamf.h     
>                                                   \ imgutils.h             
>                                       \ intfloat.h                         
>                           \ diff --git a/libavutil/nvhost_ioctl.h
> b/libavutil/nvhost_ioctl.h
> new file mode 100644
> index 0000000000..b0bf3e3ae6
> --- /dev/null
> +++ b/libavutil/nvhost_ioctl.h
> @@ -0,0 +1,511 @@
> +/*
> + * include/uapi/linux/nvhost_ioctl.h

Well, then that should be provided by linux-libc-dev or equivalent. I don't 
think that this should be vendored into FFmpeg.

-- 
雷米‧德尼-库尔蒙
http://www.remlab.net/





More information about the ffmpeg-devel mailing list