summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/mpegplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mpegplayer/mpegplayer.h')
-rw-r--r--apps/plugins/mpegplayer/mpegplayer.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/apps/plugins/mpegplayer/mpegplayer.h b/apps/plugins/mpegplayer/mpegplayer.h
index 6247a6d3e1..bf223c3330 100644
--- a/apps/plugins/mpegplayer/mpegplayer.h
+++ b/apps/plugins/mpegplayer/mpegplayer.h
@@ -23,6 +23,8 @@
23#ifndef MPEGPLAYER_H 23#ifndef MPEGPLAYER_H
24#define MPEGPLAYER_H 24#define MPEGPLAYER_H
25 25
26#include "mpeg2.h"
27
26#ifdef HAVE_SCHEDULER_BOOSTCTRL 28#ifdef HAVE_SCHEDULER_BOOSTCTRL
27#define trigger_cpu_boost rb->trigger_cpu_boost 29#define trigger_cpu_boost rb->trigger_cpu_boost
28#define cancel_cpu_boost rb->cancel_cpu_boost 30#define cancel_cpu_boost rb->cancel_cpu_boost
@@ -32,17 +34,6 @@
32/* Memory allotments for various subsystems */ 34/* Memory allotments for various subsystems */
33#define MIN_MEMMARGIN (4*1024) 35#define MIN_MEMMARGIN (4*1024)
34 36
35enum mpeg_malloc_reason_t
36{
37 __MPEG_ALLOC_FIRST = -256,
38 MPEG_ALLOC_CODEC_MALLOC,
39 MPEG_ALLOC_CODEC_CALLOC,
40 MPEG_ALLOC_MPEG2_BUFFER,
41 MPEG_ALLOC_AUDIOBUF,
42 MPEG_ALLOC_PCMOUT,
43 MPEG_ALLOC_DISKBUF,
44};
45
46/** Video thread **/ 37/** Video thread **/
47#define LIBMPEG2_ALLOC_SIZE (2*1024*1024) 38#define LIBMPEG2_ALLOC_SIZE (2*1024*1024)
48 39