↑back Search ←Prev date Next date→ Show only urls | (Click on time to select a line by its url) |
Who | What | When |
---|---|---|
mchehab | sailus: ping | [10:08] |
............................................ (idle for 3h38mn) | ||
sailus | mchehab: Pong. | [13:46] |
....................................... (idle for 3h13mn) | ||
bparrot | pinchartl, ping | [16:59] |
pinchartl | bparrot: pong | [17:00] |
bparrot | pinchartl, quick existential question. In V4L2 apis are we supposed to never fail on input and always provide a valid response? | [17:01] |
pinchartl | bparrot: in several ioctls, yes
especially the format and selection ioctls | [17:02] |
bparrot | fir 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] |
pinchartl | you 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] |
bparrot | how about invalid frame sizes? | [17:03] |
pinchartl | if 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] |
bparrot | and all of this is more a convention then a a rule, no? | [17:04] |
pinchartl | http://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] |
bparrot | hmm 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] |
pinchartl | invalid pixel format must be mangled too, yes | [17:08] |
bparrot | alright thanks | [17:09] |
pinchartl | you're welcome | [17:09] |
*** | awalls1 has left
benjiG has left | [17:10] |
.................................... (idle for 2h59mn) | ||
tharvey | how 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) |