#v4l 2015-12-15,Tue

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
mchehabsailus: ping [10:08]
............................................ (idle for 3h38mn)
sailusmchehab: Pong. [13:46]
....................................... (idle for 3h13mn)
bparrotpinchartl, ping [16:59]
pinchartlbparrot: pong [17:00]
bparrotpinchartl, quick existential question. In V4L2 apis are we supposed to never fail on input and always provide a valid response? [17:01]
pinchartlbparrot: in several ioctls, yes
especially the format and selection ioctls
[17:02]
bparrotfir instance in S_FMT can we just fail on invalid input, or is it mandated that we need to provide a valid config [17:02]
pinchartlyou can fail is fmt->type is unsupported
(trying to set a capture format on an output device)
but otherwise S_FMT shouldn't fail
unless, of course, communication with the hardware fails
[17:02]
bparrothow about invalid frame sizes? [17:03]
pinchartlif your USB device times out when you set the format you can obviously return an error
invalid width/height should be accepted and mangled
you should return the closest acceptable size
(one issue is that the API spec doesn't define what "closest" means)
same for the pixel format
[17:03]
bparrotand all of this is more a convention then a a rule, no? [17:04]
pinchartlhttp://linuxtv.org/downloads/v4l-dvb-apis/vidioc-g-fmt.html
"Drivers should not return an error code unless the type field is invalid, this is a mechanism to fathom device capabilities and to approach parameters acceptable for both the application and driver."
[17:05]
bparrothmm okay here it say you can only fails is the type field is invalid. so i guess invalid format must be mangled too?
s/fails is/fail if/
[17:07]
pinchartlinvalid pixel format must be mangled too, yes [17:08]
bparrotalright thanks [17:09]
pinchartlyou're welcome [17:09]
***awalls1 has left
benjiG has left
[17:10]
.................................... (idle for 2h59mn)
tharveyhow do I get/set input or std on a sensor driver connected to a host bridge (ie /dev/video0 is the SoC not the sensor)
I'm assuming I use media-ctl somehow, but not sure how to set anything other than fmt
[20:11]

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)