286
edits
(Created page with "==Overview== The following document gathers together notes about a capture subsystem limitation presented on Jetson platforms and how to deal with it by enabling the "stride alignment" feature. ==VI image size limitation== The capture subsystems found on Jetson platforms (Video Input Unit) have a limitation on data acquisition where the bytes per line on the image should be a number divisible by 64. ===Bytes per line divisible by 64=== VI can capture images where the...") |
|||
Line 115: | Line 115: | ||
* Checking the files, it seems that the stride alignment is selected by <code>TEGRA_SURFACE_ALIGNMENT</code> on '''kernel/nvidia/include/media/vi2_registers.h''' (default 64). | * Checking the files, it seems that the stride alignment is selected by <code>TEGRA_SURFACE_ALIGNMENT</code> on '''kernel/nvidia/include/media/vi2_registers.h''' (default 64). | ||
====VI4 - TX2 | ====VI4 - TX2==== | ||
* For JP-4.2 and older versions, the stride alignment is selected by <code>TEGRA_STRIDE_ALIGNMENT</code> on '''kernel/nvidia/include/media/tegra_camera_core.h''' (default 1). | * For JP-4.2 and older versions, the stride alignment is selected by <code>TEGRA_STRIDE_ALIGNMENT</code> on '''kernel/nvidia/include/media/tegra_camera_core.h''' (default 1). | ||
* For higher versions than JP-4.2, the stride alignment is selected by <code>RM_SURFACE_ALIGNMENT</code> on '''kernel/nvidia/drivers/media/platform/tegra/camera/vi/vi4_fops.c''' (default 256). | * For higher versions than JP-4.2, the stride alignment is selected by <code>RM_SURFACE_ALIGNMENT</code> on '''kernel/nvidia/drivers/media/platform/tegra/camera/vi/vi4_fops.c''' (default 256). | ||
Line 125: | Line 125: | ||
</blockquote> | </blockquote> | ||
====VI5 - Xavier | ====VI5 - Xavier ==== | ||
* | * The stride alignment is selected by <code>TEGRA_STRIDE_ALIGNMENT</code> on '''kernel/nvidia/include/media/tegra_camera_core.h'''. | ||
[[Category:NVIDIA]][[Category:Jetson]][[Category:TX2]][[Category:Xavier]][[Category:EramirezNotes]] | [[Category:NVIDIA]][[Category:Jetson]][[Category:TX2]][[Category:Xavier]][[Category:EramirezNotes]] |
edits