hvirtual/libmpeg3/audio/ac3.c File Reference

#include <stdint.h>
#include <stdio.h>
#include <a52dec/a52.h>
#include "mpeg3private.h"
#include "mpeg3protos.h"
#include <string.h>

Include dependency graph for ac3.c:

Go to the source code of this file.

Functions

mpeg3_ac3_tmpeg3_new_ac3 ()
void mpeg3_delete_ac3 (mpeg3_ac3_t *audio)
int mpeg3_ac3_check (unsigned char *header)
int mpeg3_ac3_header (mpeg3_ac3_t *audio, unsigned char *header)
int mpeg3audio_doac3 (mpeg3_ac3_t *audio, char *frame, int frame_size, float **output, int render)


Function Documentation

int mpeg3_ac3_check ( unsigned char *  header  ) 

Definition at line 29 of file ac3.c.

References a52_syncinfo(), and bitrate.

Referenced by calculate_format().

Here is the call graph for this function:

int mpeg3_ac3_header ( mpeg3_ac3_t audio,
unsigned char *  header 
)

void mpeg3_delete_ac3 ( mpeg3_ac3_t audio  ) 

Definition at line 20 of file ac3.c.

References a52_free(), mpeg3bits_delete_stream(), mpeg3_ac3_t::state, and mpeg3_ac3_t::stream.

Referenced by delete_struct().

Here is the call graph for this function:

mpeg3_ac3_t* mpeg3_new_ac3 (  ) 

Definition at line 11 of file ac3.c.

References a52_init(), a52_samples(), mpeg3bits_new_stream(), mpeg3_ac3_t::output, mpeg3_ac3_t::state, and mpeg3_ac3_t::stream.

Referenced by mpeg3audio_decode_audio(), and mpeg3audio_new().

Here is the call graph for this function:

int mpeg3audio_doac3 ( mpeg3_ac3_t audio,
char *  frame,
int  frame_size,
float **  output,
int  render 
)

Definition at line 103 of file ac3.c.

References A52_3F, A52_3F1R, A52_3F2R, a52_block(), A52_CHANNEL_MASK, a52_dynrng(), a52_frame(), A52_LFE, mpeg3_ac3_t::channels, mpeg3_ac3_t::flags, level, NULL, mpeg3_ac3_t::output, and mpeg3_ac3_t::state.

Referenced by read_frame().

Here is the call graph for this function:


Generated on Mon Apr 28 13:58:32 2008 for Cinelerra by  doxygen 1.5.5