xine-lib 1.2.11
|
#include <stdlib.h>
#include <string.h>
#include "config.h"
#include <xine/xine_internal.h>
#include <xine/audio_out.h>
#include <xine/buffer.h>
#include <xine/xineutils.h>
#include "bswap.h"
#include "frame.h"
#include "synth.h"
Data Structures | |
struct | mad_decoder_s |
Macros | |
#define | LOG_MODULE "mad_decoder" |
#define | LOG_VERBOSE |
#define | REST_SIZE 16384 |
#define | MAD_MIN_SIZE 2889 |
#define | MAD_PTS_LD 3 |
#define | MAD_PTS_SIZE (1 << MAD_PTS_LD) |
#define | MAD_PTS_MASK (MAD_PTS_SIZE - 1) |
Typedefs | |
typedef struct mad_decoder_s | mad_decoder_t |
Functions | |
static int | _mad_frame_size (const uint8_t *h) |
static void | mad_reset (audio_decoder_t *this_gen) |
static void | mad_discontinuity (audio_decoder_t *this_gen) |
static int32_t | _mad_scale (mad_fixed_t sample) |
static int | _mad_consume (mad_decoder_t *this) |
static void | mad_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) |
static int | _mad_fixed_2_db (mad_fixed_t v) |
static void | mad_dispose (audio_decoder_t *this_gen) |
static audio_decoder_t * | open_plugin (audio_decoder_class_t *class_gen, xine_stream_t *stream) |
static void * | init_plugin (xine_t *xine, const void *data) |
Variables | |
static const uint32_t | audio_types [] |
static const decoder_info_t | dec_info_audio |
const plugin_info_t xine_plugin_info[] | EXPORTED |
#define LOG_MODULE "mad_decoder" |
#define LOG_VERBOSE |
#define MAD_MIN_SIZE 2889 |
#define MAD_PTS_LD 3 |
#define MAD_PTS_MASK (MAD_PTS_SIZE - 1) |
#define MAD_PTS_SIZE (1 << MAD_PTS_LD) |
#define REST_SIZE 16384 |
typedef struct mad_decoder_s mad_decoder_t |
|
static |
References MAD_PTS_MASK.
Referenced by mad_decode_data().
|
static |
Referenced by mad_dispose().
|
static |
References _X_BE_32.
Referenced by mad_decode_data().
|
inlinestatic |
Referenced by mad_decode_data().
|
static |
References N_, NULL, open_plugin(), and audio_decoder_class_s::open_plugin.
|
static |
References _mad_consume(), _mad_frame_size(), _mad_scale(), _x_meta_info_get(), _x_meta_info_set_utf8(), _x_stream_info_get(), _x_stream_info_set(), AO_CAP_MODE_MONO, AO_CAP_MODE_STEREO, BUF_FLAG_AUDIO_PADDING, BUF_FLAG_HEADER, BUF_FLAG_PREVIEW, buf_element_s::content, buf_element_s::decoder_flags, buf_element_s::decoder_info, lprintf, MAD_PTS_MASK, mad_reset(), buf_element_s::max_size, audio_buffer_s::mem, buf_element_s::mem, mode(), NULL, audio_buffer_s::num_frames, buf_element_s::pts, REST_SIZE, buf_element_s::size, audio_buffer_s::vpts, xine_container_of, xine_fast_memcpy, XINE_META_INFO_AUDIOCODEC, XINE_STREAM_INFO_AUDIO_BITRATE, XINE_VERBOSITY_DEBUG, XINE_VERBOSITY_LOG, and xprintf.
Referenced by open_plugin().
|
static |
References xine_container_of.
Referenced by open_plugin().
|
static |
References _mad_fixed_2_db(), xine_container_of, XINE_VERBOSITY_DEBUG, XINE_VERBOSITY_LOG, and xprintf.
Referenced by open_plugin().
|
static |
References xine_container_of.
Referenced by mad_decode_data(), and open_plugin().
|
static |
References lprintf, mad_decode_data(), mad_discontinuity(), mad_dispose(), mad_reset(), and NULL.
Referenced by init_plugin().
|
static |
|
static |
const plugin_info_t xine_plugin_info [] EXPORTED |