Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 6997

Camera board • Mapping of v4l2-ctls with sensor datasheet

$
0
0
I'm working with IMX 219. It's analog gain range in the IMX 219 datasheet (https://www.opensourceinstruments.com/E ... X219PQ.pdf) is given from 0-232 where as my v4l2-ctl gives me the range of 16-171. How this is mapped to the actual sensor gain? Similarly the exposure range in v4l2-ctl is 13 to 683710. How it's mapped to the actual time of sensor exposure? As I wanna run my project at 60 FPS, so what is the exposure value in v4l2-ctl that maps to 16 ms and how to compute it? Here's my terminal log for v4l2-ctls:

Code:

v4l2-ctl -d /dev/video0 --list-ctrlsCamera Controls                     group_hold 0x009a2003 (bool)   : default=0 value=0 flags=execute-on-write                    sensor_mode 0x009a2008 (int64)  : min=0 max=5 step=1 default=0 value=4 flags=slider                           gain 0x009a2009 (int64)  : min=16 max=171 step=1 default=16 value=21 flags=slider                       exposure 0x009a200a (int64)  : min=13 max=683710 step=1 default=2495 value=50000 flags=slider                     frame_rate 0x009a200b (int64)  : min=2000000 max=60000000 step=1 default=60000000 value=2000000 flags=slider           sensor_configuration 0x009a2032 (u32)    : min=0 max=4294967295 step=1 default=0 [22] flags=read-only, volatile, has-payload         sensor_mode_i2c_packet 0x009a2033 (u32)    : min=0 max=4294967295 step=1 default=0 [1026] flags=read-only, volatile, has-payload      sensor_control_i2c_packet 0x009a2034 (u32)    : min=0 max=4294967295 step=1 default=0 [1026] flags=read-only, volatile, has-payload                    bypass_mode 0x009a2064 (intmenu): min=0 max=1 default=0 value=0                override_enable 0x009a2065 (intmenu): min=0 max=1 default=0 value=0                   height_align 0x009a2066 (int)    : min=1 max=16 step=1 default=1 value=1                     size_align 0x009a2067 (intmenu): min=0 max=2 default=0 value=0               write_isp_format 0x009a2068 (int)    : min=1 max=1 step=1 default=1 value=1       sensor_signal_properties 0x009a2069 (u32)    : min=0 max=4294967295 step=1 default=0 [30][18] flags=read-only, has-payload        sensor_image_properties 0x009a206a (u32)    : min=0 max=4294967295 step=1 default=0 [30][16] flags=read-only, has-payload      sensor_control_properties 0x009a206b (u32)    : min=0 max=4294967295 step=1 default=0 [30][36] flags=read-only, has-payload              sensor_dv_timings 0x009a206c (u32)    : min=0 max=4294967295 step=1 default=0 [30][16] flags=read-only, has-payload               low_latency_mode 0x009a206d (bool)   : default=0 value=0               preferred_stride 0x009a206e (int)    : min=0 max=65535 step=1 default=0 value=1280    override_capture_timeout_ms 0x009a206f (int)    : min=-1 max=2147483647 step=1 default=2500 value=2500                   sensor_modes 0x009a2082 (int)    : min=0 max=30 step=1 default=30 value=5 flags=read-only

Statistics: Posted by talhatahir01022001 — Mon Dec 08, 2025 11:26 am — Replies 2 — Views 25



Viewing all articles
Browse latest Browse all 6997

Trending Articles