Re: Documentation

On Thu, 15 Aug 2002, David Schleef wrote:

> On Thu, Aug 15, 2002 at 12:46:43PM -0400, Michael Bellefeuille wrote:
> > Good day,
> > Does any one have any documentation other than what's on the website?
> > I am looking for documentation for the following function:
> > int comedi_sampl_to_phys(double *dest, int dst_stride, lsampl_t *src,
> > int src_stride, comedi_range *rng, lsampl_t maxdata, int n);
> >
> > I looked through the source and didn't understand all the variables....
> > So what does *dest expect? What is dst_stride? And so on.
> > Also what is the difference between the above function and
> > comedi_to_phys()?
>
> comedi_sampl_to_phys() performs the action of comedi_to_phys()
> in a loop, with the source and destination being *src and *dest.
> In each iteration, src and dest are incremented by src_stride and
> dest_stride _bytes_.
>
> Although it's not currently implemented this way, it is possible
> to make comedi_sampl_to_phys() about 5 times faster than looping
> on a comedi_to_phys() call on i386.

How is that?  Using mmx/3dnow/sse2/funkyjunky extentions?

Received on 2002-08-21Z18:26:57