NVIDIA DRIVE SDK学习(一)——整体架构

整体架构

架构图:
在这里插入图片描述
图上描述了NVIDIA车载软件架构的整体架构,NVIDIA提供了:

  1. Orin硬件,和安全岛
  2. DRIVE Hypervisor
  3. Linux及其配套驱动
  4. NvStremer/NvMediaVukan等媒体组件
  5. CUDA、TersorRT等
  6. 安全服务、功耗管理、OTA等

英伟达提供的软件整体架构:
在这里插入图片描述

子模块介绍

基础组件

Hypervisor:Trusted Software server that separates the system into partitions。

  • Guest OS partitions and the isolation between them.
  • Partitions’ virtual views of the CPU and memory resources.
  • Hardware interactions
  • Run-lists
  • Channel recovery

guest OS:Allocates peripherals that Guest OS needs to control.
Services:Services for DRIVE Update.
Bootloader:Firmware that runs during boot to load firmware components
Trusted OS:Trusted OS configuration in the PCT describes the configuration of the virtual Trusted OS device.
Orin SoC:System on a Chip hardware resources.

虚拟化服务组件:

Boot and Power Manager Processor (BPMP) Server: Facilitates communication between Guest Virtual Machines (VM) and BPMP firmware.
VM Server:host1X virtualizes NvHost.
Security Engine (SE) Server:Para-virtualizes and allows multiple Guest Virtual Machines access to the security engine cryptographic hardware accelerator.
Trusted Applications (TA):Trusted OS exposes a set of core services that use managed security assets in cryptographic operations without exposing them to non-secure guest software.
GPU
Storage Server:Para-virtualizes storage access to enable sharing physical storage devices among multiple Guest Virtual Machines.
Debug Server:Provides support for kernel-level debugging of Guest Virtual Machines (VM).

媒体组件

NvMedia组件提供了如下功能:

  • Robust image processing and sensor control blocks for use by applications.
  • Hardware surface to handle all types of image formats such as RGB, YUV and RAW.
  • Functional components for image capture, processing, acceleration, encoding, and interoperating with other libraries.

NvMedia组件可以把图像数据路由到其他组件,比如:OpenGL ES 和 NVIDIA CUDA。

媒体组件架构

架构图:
在这里插入图片描述
组件介绍:
Video Input (VI):接收摄像头数据通过CSI
Image Signal Processor(ISP):图像数据处理器
NVIDIA Encoder (NVENC):视频编码器
NVIDIA Decoder (NVDEC):视频解码器
Video Interlace Compositor (VIC):Converts video data for deinterlacing, composition, and format conversion.
Optical Flow Accelerator (OFA):加速帧之间的光流和立体视差计算。

媒体软件组件

NvMedia包含下面几个软件组件:
SIPL:用来处理视频流
2D:提供图像数据的操作的能力;例如裁剪、缩放、复制和转换格式。
IEP(Image Encode Processing):提供数据编码能力,将YCbCr图像转换为H.264/H.265
IJE(Image JPEG Encodin):将YUV编码为JPEG
IJD(Image JPEG Decoding ):将JPEG格式解码为YUV图像

NvMedia组件进程安全

NvMedia不支持进程安全,通过上层软件来保证进程安全。因此需要注意:

  • NvMedia组件可以在所有的进程中例化和使用,但是不能相互调用API
  • 同一组件的不同实例可以同时在不同进程中使用
  • 编码器被设计成从一个进程拿数据流,从另一个进程拿用于编码的bitstream。
  • 29
    点赞
  • 26
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值