Mailing List archive

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

[linux-dvb] Re: User space: ioctl DMX_GET_STC values arn't 64 bit



On Tue, Dec 16, 2003 at 07:22:47PM +0100, Dr. Werner Fink wrote:
> On Tue, Dec 16, 2003 at 07:13:38PM +0100, Johannes Stezenbach wrote:
> > 
> > Actually this is a limitiation of the av7110 firmware (RTSL)
> > and/or the hardware, which just drops the 33rd bit (msb) from
> > the PTS/STC. I think there isn't much we can do about it.
> 
> Ah ... OK, that means that the workaround (values in ms)
> 
>         // The DVB card/driver seems to have trouble

          // The av7110 DVB card/firmware seems to have trouble

>         // with large values (> ~0U) 
>         if (pts > STC_STATERR && stc < STC_STATERR+10000)
>             off = pts - (stc+STC_STATERR);
>         else
>             off = pts - stc;
> 
> is required in the offset caluclation of the bitstreamout plugin ;^)

Yes.

> > I think (i.e. I must test again ;) DMX_GET_STC works fine on
> > the MIPS based platform I'm working on.
> 
> Hmm ... if av7110 firmware/hardware drops the 33rd bit (msb)
> the this shouls also happen under MIPS ... or does the
> firmware/hardware do an endian check?

I mean a STB chip with MIPS CPU core. No av7110.

Johannes


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index