When multiple resolution modes are set in the dts, how can I capture data frames of a specified mode?
For example, if the following dtsi sets three modes (mode0, mode1, mode2), how can I use mode1 (3280x1848) or mode2 (1920x1080)?
When multiple resolution modes are set in the dts, how can I capture data frames of a specified mode?
For example, if the following dtsi sets three modes (mode0, mode1, mode2), how can I use mode1 (3280x1848) or mode2 (1920x1080)?
If using Argus there’s API to set the sensor mode.
If using v4l2-ctl set the width/height like below.
v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=10
Hi ShaneCCC,
What you mean is:
If using Argus, then use the provided functions to set the sensor mode?
In addition, how do I use Argus? It seems I haven’t had any contact with it before. Could you provide me with a sample case?
If using v4l2 commands to capture data frames, then use the method of setting the width and height to indirectly select the sensor mode?
Hi ShaneCCC,
I’m sorry to bother you again.
You mentioned that we can learn how to use Argus functions to set the sensor mode through the MMAPI sample code, but I have never used it before,
so I need to confirm with you again. Does the MMAPI you referred to mean this:
Jetson Linux API Reference: Sample Applications | NVIDIA Docs
Nop, it’s argus API instead.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.