forked from len0rd/rockbox
Simplify mpegplayer a bit and use array-based lists rather than linked lists for stream management. Move a couple useful functions to handle pointer arrays from kernel.c into general.c; mpeglayer now makes use of them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26101 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9fde12676b
commit
fcf36dd4f9
15 changed files with 199 additions and 313 deletions
|
@ -31,6 +31,9 @@
|
|||
#endif
|
||||
/* #else function-like empty macros are defined in the headers */
|
||||
|
||||
/* Should be enough for now */
|
||||
#define MPEGPLAYER_MAX_STREAMS 4
|
||||
|
||||
/* Memory allotments for various subsystems */
|
||||
#define MIN_MEMMARGIN (4*1024)
|
||||
|
||||
|
@ -85,7 +88,6 @@
|
|||
#include "mpeg2.h"
|
||||
#include "video_out.h"
|
||||
#include "mpeg_stream.h"
|
||||
#include "mpeg_linkedlist.h"
|
||||
#include "mpeg_misc.h"
|
||||
#include "mpeg_alloc.h"
|
||||
#include "stream_thread.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue