Subversion Repositories shark

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1673 tullio 1
/*
2
 * Project: S.Ha.R.K.
3
 *
4
 * Coordinators:
5
 *   Giorgio Buttazzo    <giorgio@sssup.it>
6
 *   Paolo Gai           <pj@gandalf.sssup.it>
7
 *
8
 * Authors     :
9
 *   Paolo Gai           <pj@gandalf.sssup.it>
10
 *   (see the web pages for full authors list)
11
 *
12
 * ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy)
13
 *
14
 * http://www.sssup.it
15
 * http://retis.sssup.it
16
 * http://shark.sssup.it
17
 */
18
 
19
#include "drivers/glib.h"
20
 
21
#include "fsf.h"
22
 
23
#include "config.h"
24
#include "global.h"
25
 
26
extern void *start_file;
27
extern void *end_file;
28
 
29
int Init_Mpeg_Decoder(void *start,void *end);
30
int Decode_Bitstream();
31
 
32
void *mpeg2decoder(void *arg)
33
{
34
 
35
  int init = 1;
36
 
37
  Init_Mpeg_Decoder(start_file,end_file);
38
 
39
  while(1) {
40
 
41
    if (init == 1) {
42
      Decode_Bitstream();      
43
    }
44
  }
45
 
46
  return 0;
47
 
48
}
49
 
50