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

Go to the source code of this file.
Functions | |
| mpeg3_ac3_t * | mpeg3_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) |
| int mpeg3_ac3_check | ( | unsigned char * | header | ) |
Definition at line 29 of file ac3.c.
References a52_syncinfo(), and bitrate.
Referenced by calculate_format().

| int mpeg3_ac3_header | ( | mpeg3_ac3_t * | audio, | |
| unsigned char * | header | |||
| ) |
Definition at line 39 of file ac3.c.
References A52_2F1R, A52_2F2R, A52_3F, A52_3F1R, A52_3F2R, A52_CHANNEL, A52_CHANNEL_MASK, A52_DOLBY, A52_LFE, A52_MONO, A52_STEREO, a52_syncinfo(), mpeg3_ac3_t::bitrate, mpeg3_ac3_t::channels, mpeg3_ac3_t::flags, mpeg3_ac3_t::framesize, and mpeg3_ac3_t::samplerate.
Referenced by read_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().

| 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().

| 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().

1.5.5