demuxtest_t.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <pthread.h>
#include <assert.h>
#include "mvp_demux.h"
#include "mvp_av.h"

Go to the source code of this file.

Defines

#define BSIZE   (256*1024)

Functions

int vid_event_add (unsigned int pts, eventq_type_t type, void *info)
static unsigned int hash (char *s, int len, unsigned int old)
static void * write_start (void *arg)
int main (int argc, char **argv)

Variables

static demux_handle_thandle
static pthread_t thread
static volatile int read_done = 0
volatile int audio_read = 0
volatile int video_read = 0


Define Documentation

#define BSIZE   (256*1024)
 

Definition at line 37 of file demuxtest_t.c.


Function Documentation

static unsigned int hash char *  s,
int  len,
unsigned int  old
[static]
 

Definition at line 54 of file demuxtest_t.c.

int main int  argc,
char **  argv
 

Definition at line 124 of file demuxtest_t.c.

References attr, audio_read, BSIZE, demux_get_attr(), demux_init(), demux_put(), fd, handle, read_done, thread, video_read, and write_start().

int vid_event_add unsigned int  pts,
eventq_type_t  type,
void *  info
 

Definition at line 48 of file demuxtest_t.c.

Referenced by parse_video_stream().

static void* write_start void *  arg  )  [static]
 

Definition at line 71 of file demuxtest_t.c.

References audio_read, BSIZE, demux_get_audio(), demux_get_video(), handle, hash, read_done, video_read, and x.

Referenced by main().


Variable Documentation

volatile int audio_read = 0
 

Definition at line 45 of file demuxtest_t.c.

Referenced by main(), and write_start().

demux_handle_t* handle [static]
 

Definition at line 39 of file demuxtest_t.c.

volatile int read_done = 0 [static]
 

Definition at line 43 of file demuxtest_t.c.

Referenced by main(), and write_start().

pthread_t thread [static]
 

Definition at line 41 of file demuxtest_t.c.

Referenced by main(), and mythtv_init().

volatile int video_read = 0
 

Definition at line 46 of file demuxtest_t.c.

Referenced by main(), and write_start().


Generated on Wed Sep 8 03:13:22 2010 for mvpmc by  doxygen 1.4.6