From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Cc: linux-media@vger.kernel.org, Sakari Ailus <sakari.ailus@iki.fi>,
Hans Verkuil <hverkuil@xs4all.nl>,
remi@remlab.net, Kamil Debski <k.debski@samsung.com>
Subject: Re: [RFC] Timestamps and V4L2
Date: Thu, 27 Sep 2012 12:41:08 +0200 [thread overview]
Message-ID: <21756413.MuViFDO8NB@avalon> (raw)
In-Reply-To: <50638219.7020105@gmail.com>
Hi Sylwester,
On Thursday 27 September 2012 00:30:49 Sylwester Nawrocki wrote:
> On 09/25/2012 02:35 AM, Laurent Pinchart wrote:
> > Does the clock type need to be selectable for mem-to-mem devices ? Do
> > device- specific timestamps make sense there ?
>
> I'd like to clarify one thing here, i.e. if we select device-specific
> timestamps how should the v4l2_buffer::timestamp field behave ?
>
> Are these two things exclusive ? Or should v4l2_buffer::timestamp be
> valid even if device-specific timestamps are enabled ?
That's a very good question. The use cases I have in mind don't need both at
the same time. The point of device-specific timestamps is to get a precise
timestamp corresponding to the frame capture time, instead of the frame
transfer time. They need to be correlated with system timestamps, but for that
we need device-specific APIs to pass correlation information to userspace.
Passing a "transfer time" system timestamp along with the device timestamp
would be useless, as there would be no good correlation between the two.
> With regards to your question, I think device-specific timestamps make
> sense for mem-to-mem devices. Maybe not for the very simple ones, that
> process buffers 1-to-1, but codecs may need it. I was told the Exynos/
> S5P Multi Format Codec device has some register the timestamps could
> be read from, but it's currently not used by the s5p-mfc driver. Kamil
> might provide more details on that.
What kind of timestamps are they ?
> I guess if capture and output devices can have their timestamping clocks
> selectable it should be also possible for mem-to-mem devices.
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2012-09-27 10:40 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-20 20:21 [RFC] Timestamps and V4L2 Sakari Ailus
2012-09-20 21:08 ` Rémi Denis-Courmont
2012-09-21 8:47 ` Christian Gmeiner
2012-09-21 9:33 ` Hans Verkuil
2012-09-22 12:38 ` Sakari Ailus
2012-09-22 17:12 ` Sylwester Nawrocki
2012-09-22 20:28 ` Daniel Glöckner
2012-09-23 18:40 ` Sylwester Nawrocki
2012-09-25 0:35 ` Laurent Pinchart
[not found] ` <5061DAE3.2080808@samsung.com>
2012-09-25 17:17 ` Kamil Debski
2012-09-26 22:30 ` Sylwester Nawrocki
2012-09-27 10:41 ` Laurent Pinchart [this message]
2012-09-23 11:43 ` Sakari Ailus
2012-09-24 20:11 ` Rémi Denis-Courmont
2012-09-25 6:50 ` Hans Verkuil
2012-09-25 0:34 ` Laurent Pinchart
2012-09-25 22:48 ` Sylwester Nawrocki
2012-09-23 9:18 ` Hans Verkuil
2012-09-23 13:07 ` Sakari Ailus
2012-09-24 8:30 ` Hans Verkuil
2012-09-25 0:21 ` Laurent Pinchart
2012-09-24 23:42 ` Laurent Pinchart
2012-09-25 0:00 ` Laurent Pinchart
2012-09-25 6:47 ` Hans Verkuil
2012-09-25 10:48 ` Laurent Pinchart
2012-09-25 10:54 ` Hans Verkuil
2012-09-25 11:09 ` Laurent Pinchart
2012-09-25 20:12 ` Sakari Ailus
2012-09-26 9:13 ` Laurent Pinchart
2012-09-26 19:17 ` Sakari Ailus
2012-09-27 10:55 ` Laurent Pinchart
2012-09-25 20:05 ` Sakari Ailus
2012-10-15 16:05 ` Sakari Ailus
2012-10-15 18:45 ` Laurent Pinchart
2012-10-15 18:53 ` Chris MacGregor
2012-10-15 19:59 ` Sakari Ailus
2012-10-15 20:10 ` Rémi Denis-Courmont
2012-10-16 1:25 ` Chris MacGregor
2012-10-25 0:47 ` Laurent Pinchart
2012-10-16 6:13 ` Hans Verkuil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=21756413.MuViFDO8NB@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=hverkuil@xs4all.nl \
--cc=k.debski@samsung.com \
--cc=linux-media@vger.kernel.org \
--cc=remi@remlab.net \
--cc=sakari.ailus@iki.fi \
--cc=sylvester.nawrocki@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).