[MPlayer-dev-eng] [PATCH] Teletext support try3 (complete set of patches)

Vladimir Voroshilov voroshil at gmail.com
Thu Jul 26 08:09:30 CEST 2007


Hi, Michael

2007/7/22, Michael Niedermayer <michaelni at gmx.at>:
> Hi
>
> On Sun, Jul 22, 2007 at 03:18:50AM +0700, Vladimir Voroshilov wrote:
> > [...]
> > To tell the truth current cache implementation is ugly.
> > Unfortunately, i havn't neither enough knowledge nor ideas to make
> > really good one.
>
> one improvement would be to replace the VBI_MAX_PAGES*VBI_MAX_SUBPAGES array
> by a VBI_MAX_PAGES array of linked lists
> so when you search for a specific entry you look at the spot in the array
> corresponding to the page number and follow the linked list until you find
> a matching sub page (or the end of the list)
>
> for inserting a new page into the cache you just add it into correspoding
> linked list (at a random point like the begin)
>
> this would reduce the required memory without really affecting the speed as
> the number of subpages is small

Thanks for idea.
I've implemented it.

I will have no time till September for adding new features.
Thus i want to finish working on this patch next five days.
Here is complete set of patches.

P.S. Diego already said that configure part is ok (and this part was
not changed since that time). All issues noticed by Michael and Alban
Bedel seems to be fixed.

If no objections will be received, i'll commit this patch at Sunday.

-- 
Regards,
Vladimir Voroshilov     mailto:voroshil at gmail.com
JID: voroshil at gmail.com, voroshil at jabber.ru
ICQ: 95587719
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tt39_core.diff
Type: application/octet-stream
Size: 43400 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070726/c9d86b93/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tt39_docs.diff
Type: application/octet-stream
Size: 3602 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070726/c9d86b93/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tt39_grabber.diff
Type: application/octet-stream
Size: 6428 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070726/c9d86b93/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tt39_iface.diff
Type: application/octet-stream
Size: 15274 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070726/c9d86b93/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tt39_render.diff
Type: application/octet-stream
Size: 11828 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070726/c9d86b93/attachment-0004.obj>


More information about the MPlayer-dev-eng mailing list