Re: [PATCH 3/3] v4l: Set proper timestamp type in selected drivers which use videobuf2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Kamil,

On Tue, Jan 22, 2013 at 06:58:09PM +0100, Kamil Debski wrote:
...
> > OTOH I'm not certain what's the main purpose of such copied timestamps,
> > is it to identify which CAPTURE buffer comes from which OUTPUT buffer ?
> > 
> 
> Yes, indeed. This is especially useful when the CAPTURE buffers can be
> returned in an order different than the order of corresponding OUTPUT
> buffers.

How about sequence numbers then? Shouldn't that be also copied?

If you're interested in the order alone, comparing the sequence numbers is a
better way to figure out the order. That does require strict one-to-one
mapping between the output and capture buffers, though, and that does not
help in knowing when it might be a good time to display a frame, for
instance.

-- 
Sakari Ailus
e-mail: sakari.ailus@xxxxxx	XMPP: sailus@xxxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux