I am using NvBufSurfTransform to scale a surface by a ratio of 1/16, but get an error message that the ratio is below 1/16. The scaling is from 3840x1604 to 240x101. Changing the output height to 102 solves the problem. 1604/16=100.25, so 101 should work. Is there a reason behind this?
The 1/16 ratio has consistently been a hardware limitation of the VIC engine. Another constraint is its use of a 4-byte word size, so you can’t actually allocate a 101 pixels wide buffer. The value is likely rounded down to 100, causing the issue because of the 1/16 limitation.