[Mplayer-cvslog] CVS: main/loader module.c,1.13,1.14

Arpi arpi at thot.banki.hu
Mon Nov 25 21:31:16 CET 2002


Hi,

> Hi,
> 
> >  // define for quicktime calls debugging and/or MacOS-level
> >  emulation:
> > -//#define EMU_QTX_API
> > +#define EMU_QTX_API
> 10l but this should add some speedup too ;)

yes and more will come...
we should locate the most used basic OS functions and emulate them at QTS
(MacOS syscall) level instead of emualting it in win32 (in the macos emulator).

currently only mutexes (ignored:)) and memory allocation (emulated using
malloc/free) are handled at QTS level.

btw if you don't know yet, here is the draft of current quicktime code:

components (==quicktime plugins, like codecs, filters, qt player gui, etc)
     |
     | (MacOS syscalls, enable #define DEBUG_QTX_API to show them!)
     |
quicktime.qts (MacOS emulation layer, wrappers to win32 funcs)
     |
     | (WinAPI calls, enable -DDETAILED_OUT to show them!)
     |
  win32.c (winapi emulation layer, wrappers to linux/unix funcs)
     |
     | (libc calls)
     |
   kernel

funny, eh? :)

currently there is a wrapper around quicktime.qts's entry point
("theQuickTimeDispatcher") and it can catch and emulate some macos
syscalls directly.

we should emulate as many as possible, and at the end we can drop
quicktime.qts (and win32.c:)) away :)
(...and release MPlayer's MacOS emulator product :))


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-cvslog mailing list