I have png images loaded from file into buffers and I am using NvBufferComposite to composite a series of these buffers. Everything works really well if the images are 320x240, 640x480, 64x64, 128x128.
But If I use a size like 300x300, 160x120 then there is tearing in the output. Image attached.
Can the NvBufferComposite() use arbitrary width & height, or is there some kind of restriction like word size on the values, or is there a bug in the NbBufferComposite?
The same thing happens when I use NvBufferTransform to copy the buffer.
I am using r32.3.1.
cParams.colorFormat = NvBufferColorFormat_ABGR32; cParams.width = width; cParams.height = height; cParams.layout = NvBufferLayout_Pitch; cParams.payloadType = NvBufferPayload_SurfArray;