How to copy NvBufSurface Attributes

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
RTX 5000, x86-64 RHEL
• DeepStream Version
6.0 (nvidia_deepstream:6.0-devel)
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
Possible bug

NvBufSurfaceCopy() doesn’t appear to copy attributes like IsContiguous and numFilled. Is this the best way to copy surfaces, or is there a more preferred method, or is this a bug? What is the best way to copy attributes such as these along with the surface?

Hi @streamer_g99 , Could you show us your simple code demo to duplicate this problem? We’ll check it. Thanks

Hi @streamer_g99 , So what’s your specific use case? As far as current version, user shold set IsContiguous para during buffer allocation.

1 Like

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