[MPlayer-dev-eng] Reading a Frame

Mike Melanson melanson at pcisys.net
Sat Nov 24 06:46:34 CET 2001


Hi team,
	In the course of getting a grip on the MPlayer demuxing subsystem,
I drew a flowchart of how AVI frames are read. It goes a little something
like this:

main() [mplayer.c]
 +-> video_read_frame() [video.c]
  +-> ds_get_packet() [demuxer.c]
   +-> ds_fill_buffer() [demuxer.c]
    +-> demux_fill_buffer() [demuxer.c]
     +-> demux_avi_fill_buffer() [demux_avi.c]
      +-> demux_avi_read_packet() [demux_avi.c]
       +-> ds_read_packet() [demuxer.c]
        +-> ds_add_packet() [demuxer.c]

Have I got that straight? I just thought someone else might find that
enlightening.

-- 
	-Mike Melanson




More information about the MPlayer-dev-eng mailing list