[haiku-development] Re: UVC Deframer Question

  • From: Jérôme Duval <jerome.duval@xxxxxxxxx>
  • To: Gabriel Hartmann <gabriel.hartmann@xxxxxxxxx>
  • Date: Thu, 11 Aug 2011 11:40:29 +0200

2011/8/10 Philippe Houdoin <philippe.houdoin@xxxxxxxxx>:
> What could be done in case of isochronous transfer, if transfer's
> packetization in itself provides useful/nedded information to exploit
> the data received, is that CamDevice::DataPumpThread() could call the
> deframer Write() method per packet, iterating the packetDescriptors to
> pass the chunk of fBuffer corresponding to each packet :

Agreed with Philippe. Better just go your way with your own
UVCDeframer, buffering writes until a new frame come, then queuing the
finished frame buffer with a timestamp.

BTW did you manage to decode the timecode to something useful?

Bye,
Jérôme

Other related posts: