Stitching and Display#

Introduction#

The stitching and display feature shows how to stitch multiple camera output images and then send the stitched images to the WFD module for display. It is a typical cascaded pipeline.

Data Flow#

The following diagram shows the SIPLCamera, NvMedia2D, and WFD modules involved in the stitching and display pipeline:

Stiching and display diagram showing data flow with SIPLCamera, NvMedia2D, and WFD modules

In this data flow, the three modules cascade together:

  1. Four images come from different cameras and are sent from the SIPLCamera module to the NvMedia2D module via NvStreams.

  2. The received four camera images data in the NvMedia2D module are stitched into one image.

  3. The single, stitched image is passed to the WFD module for display.

The color format, width, height, and image layout of the stitched image can be customized by specifying pipeline options. For details configuring pipeline options, see Pipleline Configuration.

Limitations#

  • Only after all compositors have submitted their 2D composition operations can the stitched image be sent to the WFD module for display.

  • The sample only ensures that all compositors have submitted their operations before the stitched image is displayed, but it does not ensure the camera images are synchronous in the display buffer.