The default value of TEGRA_STRIDE_ALIGNMENT is 1 on Xavier and 256 on TX2, as mentioned in this post
When TEGRA_STRIDE_ALIGNMENT is set to 1 there is an issue with images acquired from the V4L2 pipeline. First line of the image is missing a few pixels. Second line starts where the last few pixels of the first line should be. Because the first line is shorter, the whole image is skewed.
This can be reproduced on both Xavier and TX2 when the TEGRA_STRIDE_ALIGNMENT is set to 1.
Tested on multiple image sensors and resolutions.
Is this the intended behavior or is this an issue? Why was the TEGRA_STRIDE_ALIGNMENT value changed in Xavier?
raw.zip (168 KB)