The NV12 buffer pitch in the deepstream

• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 6.1
• JetPack Version (valid for Jetson only)
• TensorRT Version 8.2.5-1+cuda11.4
• NVIDIA GPU Driver Version (valid for GPU only) 510.68.02
• Issue Type( questions, new requirements, bugs) questions
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
I save the nv12 format img raw data into file through the nvinfer src pad, cause i want to use nvjpeg to encode the origin image.
I use a camera produce 1080p (1920x1080) video, but when i print the surface pitch, it print 2048. Why the width need to padding to 2048? Could u tell me the reason?

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

It is for GPU processing acceleration. about saving jpg, here are some references:

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