Hi Paul, > This is a great news - it means that stereo system should be easy to do. > Most likely cause for synchronized (I assume you mean the same values) > device SOF counters in two Logitech cameras is them being synchronized with > host SOF counter.
That's what I assumed, yes. I doubt the devices add an offset to the host SOF counter. > Can you compare values in device SOF counter with host SOF counter? I'll try that. > Could provide experimental version of the driver placing SRC into timestamp > structure, so I can read it? I can buy another Logitech camera and do some > testing on two of them with controlled light source to find out if there is > any "cheating" about synchronized exposure. The SCR value increases with each incoming isochronous packet, so it's not constant across a video frame. > I'm going to order V-Gear TalkCam MX6 and let you know about USB > descriptors. > > If StartOfFrame interrupt event can't be used, what about reading > HcFmNumber register repeatedly, storing system time of several hundred > value change events and doing some statistical processing on that data to > find out offset between USB frame counter and system time. Again, this is > relevant only if device and host SOF counters are using the same values. The falls out of the scope of the Linux UVC driver, as it involves modifications in the Linux USB stack. Could you read the USB 2.0 specification, section 5.12, and tell me if you can think of a way to handle PTS jitter/drift (for non-synchronised webcams) and/or to synchronise PTS to the host clock (for synchronised webcams) ? Thanks. Cheers, Laurent Pinchart _______________________________________________ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel