#include "dvb_net.h"
#include <linux/module.h>
-#include <linux/mutex.h>
-
#include <media/saa7146.h>
extern int budget_debug;
struct dmx_frontend mem_frontend;
int fe_synced;
- struct mutex pid_mutex;
+ struct semaphore pid_mutex;
int ci_present;
int video_port;
- u32 buffer_width;
- u32 buffer_height;
- u32 buffer_size;
- u32 buffer_warning_threshold;
- u32 buffer_warnings;
- unsigned long buffer_warning_time;
-
+ u8 tsf;
u32 ttbp;
int feeding;
.ext_priv = &x_var ## _info, \
.ext = &budget_extension };
+#define TS_WIDTH (376)
+#define TS_HEIGHT (512)
+#define TS_BUFLEN (TS_WIDTH*TS_HEIGHT)
+#define TS_MAX_PACKETS (TS_BUFLEN/TS_SIZE)
+
#define BUDGET_TT 0
#define BUDGET_TT_HW_DISEQC 1
#define BUDGET_PATCH 3