Extracting Image Bytes from NvMediaImage pointer

Hi,

Are there NvMedia samples available for extracting the data/image bytes from an NvMediaImage data structure? From the API, it seems that the NvMediaImage data structure does not contain image data, but parameters required to create an image for display.

In addition, is there documentation in the API to create DwImageProperties from NvMediaImage properties?

Dear hleong,

Please refer to the following link for your topic.

IPP Capture (nvmipp_capture)
https://docs.nvidia.com/drive/active/5.0.10.3L/nvvib_docs/index.html#page/NVIDIA%20DRIVE%20Linux%20SDK%20Development%20Guide%2FNvMedia%20Sample%20Apps%2Fnvmedia_nvmipp_capture.html%23

Features
The NvMedia IPP capture tool functional features are as follows:
• Captures raw and processed output(s) to file(s) simultaneously, or one at a time.
• Starts writing frames after auto-algorithm convergence.
• Starts writing frames as available.
• Re-process captured raw stream through IPP.
• Supported file formats:
• Raw output: Bayer raw video stream, nvraw image.
• Processed output: JPEG, TIFF, and YUV420 stream.