Subversion Repositories shark

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

/*
 * Project: S.Ha.R.K.
 *
 * Coordinators:
 *   Giorgio Buttazzo    <giorgio@sssup.it>
 *   Paolo Gai           <pj@gandalf.sssup.it>
 *
 * Authors     :
 *   Paolo Gai           <pj@gandalf.sssup.it>
 *   (see the web pages for full authors list)
 *
 * ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy)
 *
 * http://www.sssup.it
 * http://retis.sssup.it
 * http://shark.sssup.it
 */


#include "drivers/glib.h"

#include "fsf_contract.h"

#include "config.h"
#include "global.h"

extern void *start_file;
extern void *end_file;

int Init_Mpeg_Decoder(void *start,void *end);
int Decode_Bitstream();

void *mpeg2decoder(void *arg)
{
 
  int init = 1;
 
  Init_Mpeg_Decoder(start_file,end_file);
 
  while(1) {
 
    if (init == 1) {
      Decode_Bitstream();
    }

  }
 
  return 0;

}