YUV2RGB color space conversion coefficients in DeepStream SDK 6.3

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) Orin NX
• DeepStream Version 6.3
• JetPack Version (valid for Jetson only)
• TensorRT Version 8.5.2.2
• NVIDIA GPU Driver Version (valid for GPU only) Orin NX
• Issue Type( questions, new requirements, bugs) Questions

I would like to know the conversion coefficients of YUV2RGB in DeepStream SDK 6.3.
Please provide this iunformation.

Thanks,
Bruno

TV range or full range ? Which one is used for YUV2RGB conversion on deepstream?
Or does it depend on any condition?
I am looking forward to any information.

Thanks

Which part are you asking?

Several formats are supported. NVIDIA DeepStream SDK API Reference: NvBufSurface Types and Functions | NVIDIA Docs

We got video stream from USB(UVC) with MJPEG format.
From pipeline chart, we can see NV12 format convert to RGBA.
W’d like to know the coefficients of conversion.

Which mjpeg decoder are you using?

jpg_dec = gst_element_factory_make (“jpegdec”, “jpeg-decoder”);

This is not DeepStream element. It is open source decoder gstreamer/subprojects/gst-plugins-good/ext/jpeg/gstjpegdec.c at 1.20 · GStreamer/gstreamer (github.com). You need to check the output format of the jpegdec decoder to find out whether the output format is already RGB or not.

Thanks and whicj element should we use?

You can use nvv4l2decoder with DeepStream. Gst-nvvideo4linux2 — DeepStream documentation 6.4 documentation

We are asking how NV12 format convert to RGBA? Is the coefficients used for full range or tv range?
Seems not related to JPEG decoder.

For video decoded from h264 and h265, the colorspace will be impacted by the information from the decoder.
For JPEG, the coeffs are tv range

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.