From: "Daniel Glöckner" <daniel-gl@gmx.net>
To: Jean Delvare <jdelvare@suse.de>
Cc: video4linux-list@redhat.com, v4l-dvb-maintainer@linuxtv.org
Subject: Re: bttv driver questions
Date: Thu, 28 Aug 2008 22:20:43 +0200 [thread overview]
Message-ID: <20080828202043.GB824@daniel.bse> (raw)
In-Reply-To: <200808281611.38241.jdelvare@suse.de>
On Thu, Aug 28, 2008 at 04:11:38PM +0200, Jean Delvare wrote:
> What determines whether fields are captured independently?
Right now I can only think of V4L2_FIELD_ALTERNATE causing this.
> My tests with a SECAM
> source show a rate of 74-78 interrupts/second, which would be 3
> interrupts per frame. So I guess I a missing a 3rd cause of
> interrupts. Any idea?
I checked the code. As soon as the device is opened, the VSYNC interrupt
is unmasked to count the fields. These interrupts are in addition to the
interrupts generated for queued buffers.
> I thought that there was only one RISC program
> loaded at any given time and that it had to be changed twice per
> frame, which would have taken one additional interrupt.
There is only one program with jumps that are patched at runtime to
point to the program fragments for capture.
> The BT878 has a hint which suggests that the fastest model described
> by Daniel is probably almost the right one.
The setup cycles mentioned by Andy and me depend on the target (the host
bridge). The master must assert IRDY within 8 cycles in all data phases.
As a single Bt878 is able to capture PAL in BGR32 at 4*Fsc (70937900 byte/s
peak), there must be less than one wait cycle per data phase on average.
> Apparently the bttv driver sets them to relatively large values,
> instead of the small hardware default (4). This makes sense to me,
> 4 was very small and would cause the BT878 to request control of the
> PCI bus every now and then, significantly reducing the available PCI
> bus bandwidth.
I think for competing Bt878s the smallest trigger point in combination
with a high latency counter should perform best.
> > The master may request extended/another grant before its timer expires.
>
> Do you happen to know if the BT878 does that? Couldn't find any
> mention in the datasheet.
Well, if they give us a bit to turn it off, I assume it is done.
Read the section about the 430FX Compatibility Mode.
> > Jean, is v4l-dvb-maintainer the right place to discuss these things?
>
> I thought so. At least I received pertinent answers to my questions,
> so it seems that I have reached the right persons. But if you think I
> am abusing this list, I don't want to make anyone angry, so we can
> either continue this discussion in private, or on another list you
> think would be more appropriate.
Trent started CCing video4linux-list and from linux/MAINTAINERS I read
that v4l-dvb-maintainer is mainly for patches..
I'm only subscribed to video4linux-list, so I don't know what is customary
on the maintainer list.
Daniel
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
next prev parent reply other threads:[~2008-08-28 20:21 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200808251445.22005.jdelvare@suse.de>
2008-08-26 0:40 ` [v4l-dvb-maintainer] bttv driver questions Andy Walls
2008-08-26 23:29 ` Daniel Glöckner
2008-08-27 2:20 ` Trent Piepho
2008-08-27 2:59 ` Robert William Fuller
2008-08-28 19:43 ` Trent Piepho
2008-08-27 3:45 ` Andy Walls
2008-08-28 19:48 ` Trent Piepho
[not found] ` <200808281611.38241.jdelvare@suse.de>
2008-08-28 20:20 ` Daniel Glöckner [this message]
2008-08-28 21:42 ` hermann pitton
[not found] ` <200808301201.47561.jdelvare@suse.de>
2008-08-30 15:12 ` Daniel Glöckner
2008-08-31 16:37 ` Andy Walls
[not found] ` <200809011144.54233.jdelvare@suse.de>
2008-09-01 12:35 ` Daniel Glöckner
[not found] ` <200809012126.06532.jdelvare@suse.de>
2008-09-01 22:54 ` Daniel Glöckner
[not found] ` <200809021109.31007.jdelvare@suse.de>
[not found] ` <200809021305.12318.jdelvare@suse.de>
2008-09-03 22:29 ` Daniel Glöckner
[not found] ` <200809051436.18549.jdelvare@suse.de>
2008-09-05 15:51 ` Daniel Glöckner
2008-09-05 19:16 ` [v4l-dvb-maintainer] " Trent Piepho
[not found] ` <200808281658.28151.jdelvare@suse.de>
2008-08-29 12:09 ` Andy Walls
2008-08-29 22:23 ` Trent Piepho
2008-08-30 0:10 ` Daniel Glöckner
[not found] ` <200808300954.19361.jdelvare@suse.de>
2008-08-30 16:44 ` Daniel Glöckner
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=20080828202043.GB824@daniel.bse \
--to=daniel-gl@gmx.net \
--cc=jdelvare@suse.de \
--cc=v4l-dvb-maintainer@linuxtv.org \
--cc=video4linux-list@redhat.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