Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

decoder.h File Reference

#include "stream.h"
#include "frame.h"
#include "synth.h"

Include dependency graph for decoder.h:

Go to the source code of this file.

Defines

#define mad_decoder_options(decoder, opts)   ((void) ((decoder)->options = (opts)))

Enumerations

enum  mad_decoder_mode { MAD_DECODER_MODE_SYNC = 0, MAD_DECODER_MODE_ASYNC }
enum  mad_flow { MAD_FLOW_CONTINUE = 0x0000, MAD_FLOW_STOP = 0x0010, MAD_FLOW_BREAK = 0x0011, MAD_FLOW_IGNORE = 0x0020 }

Functions

void mad_decoder_init (struct mad_decoder *, void *, enum mad_flow(*)(void *, struct mad_stream *), enum mad_flow(*)(void *, struct mad_header const *), enum mad_flow(*)(void *, struct mad_stream const *, struct mad_frame *), enum mad_flow(*)(void *, struct mad_header const *, struct mad_pcm *), enum mad_flow(*)(void *, struct mad_stream *, struct mad_frame *), enum mad_flow(*)(void *, void *, unsigned int *))
int mad_decoder_finish (struct mad_decoder *)
int mad_decoder_run (struct mad_decoder *, enum mad_decoder_mode)
int mad_decoder_message (struct mad_decoder *, void *, unsigned int *)


Define Documentation

#define mad_decoder_options decoder,
opts   )     ((void) ((decoder)->options = (opts)))
 

Definition at line 85 of file decoder.h.


Enumeration Type Documentation

enum mad_decoder_mode
 

Enumeration values:
MAD_DECODER_MODE_SYNC 
MAD_DECODER_MODE_ASYNC 

Definition at line 29 of file decoder.h.

enum mad_flow
 

Enumeration values:
MAD_FLOW_CONTINUE 
MAD_FLOW_STOP 
MAD_FLOW_BREAK 
MAD_FLOW_IGNORE 

Definition at line 34 of file decoder.h.


Function Documentation

int mad_decoder_finish struct mad_decoder  ) 
 

void mad_decoder_init struct mad_decoder ,
void *  ,
enum   mad_flow(*)(void *, struct mad_stream *),
enum   mad_flow(*)(void *, struct mad_header const *),
enum   mad_flow(*)(void *, struct mad_stream const *, struct mad_frame *),
enum   mad_flow(*)(void *, struct mad_header const *, struct mad_pcm *),
enum   mad_flow(*)(void *, struct mad_stream *, struct mad_frame *),
enum   mad_flow(*)(void *, void *, unsigned int *)
 

int mad_decoder_message struct mad_decoder ,
void *  ,
unsigned int * 
 

int mad_decoder_run struct mad_decoder ,
enum  mad_decoder_mode
 


Generated on Sat Nov 5 16:24:20 2005 for OPIE by  doxygen 1.4.2