Mailing List archive

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

[linux-dvb] Re: play_iframe() improvement?




Guido Fiala wrote:
> 
> On Saturday,  1. December 2001 19:35, you wrote:
> > Klaus Schmidinger writes:
> >  > I was thinking about the method by which play_iframe() (in dvb.c)
> >  > attempts to display a still picture. Apparently it has to send
> >  > the same I-frame until 400000 byte have been transmitted to fill
> >  > up the decoder's buffer.
> >  >
> >  > Now I read in the AV711x data sheet that in "Scan" mode the decoder
> >  >
> >  >   "Searches for the first I picture, decodes it, displays it, then
> >  > continues searching for next I picture and repeats"
> >  >
> >  > this sounds as if it then would not be necessary to fill up the buffer,
> >  > but rather as if the decoder would display an I-frame as soon as it has
> >  > received one. Unfortunately, despite several attempts to implement this,
> >  > I didn't have any success. Could one of the driver developers please
> >  > comment on this and let me know if I'm completely wrong here?
> >
> > No, you are completely right.
> > I also have no idea how to force the decoder to start decoding
> > immediately. I just does not do it.
> 
> Maybe just silly:
> How about the last frames in a stream - will they ever be shown then?
> If yes - how about tricking the decoder into believing those frames are all
> "last-frames" ?

Nice idea, but I'm afraid there is no such thing as a "last-frames" marker.
What we would really need is (as Andreas suggested in a related posting)
a way to tell the decoder to display all frames it currently has in memory,
without waiting for more data, and keep the last displayed frame as a still
picture.

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


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


Home | Main Index | Thread Index