|
xine-lib
1.2.10
|
#include "config.h"#include <stdlib.h>#include <unistd.h>#include <string.h>#include <sys/types.h>#include <xine/xine_internal.h>#include <xine/audio_out.h>#include "a52.h"#include <xine/buffer.h>#include <xine/xineutils.h>Data Structures | |
| struct | a52dec_class_t |
| struct | a52dec_decoder_s |
| struct | frmsize_s |
Macros | |
| #define | _DEFAULT_SOURCE 1 |
| #define | _XOPEN_SOURCE 500 |
| #define | _BSD_SOURCE 1 |
| #define | LOG_MODULE "a52_decoder" |
| #define | LOG_VERBOSE |
| #define | SAMPLE_OFFS 384 |
Typedefs | |
| typedef struct a52dec_decoder_s | a52dec_decoder_t |
Functions | |
| static void | a52dec_reset (audio_decoder_t *this_gen) |
| static void | a52dec_discontinuity (audio_decoder_t *this_gen) |
| static void | downmix_lfe_1 (sample_t *target, sample_t *lfe, sample_t gain) |
| static void | downmix_lfe_2 (sample_t *target1, sample_t *target2, sample_t *lfe, sample_t gain) |
| static void | float_to_int (sample_t *_f, int16_t *s16, int num_channels) |
| static void | mute_channel (int16_t *s16, int num_channels) |
| static void | a52dec_decode_frame (a52dec_decoder_t *this, int64_t pts, int preview_mode) |
| static void | a52dec_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) |
| static void | a52dec_dispose (audio_decoder_t *this_gen) |
| static audio_decoder_t * | open_plugin (audio_decoder_class_t *class_gen, xine_stream_t *stream) |
| static void | dispose_class (audio_decoder_class_t *this_gen) |
| static void | lfe_level_change_cb (void *this_gen, xine_cfg_entry_t *entry) |
| static void | a52_level_change_cb (void *this_gen, xine_cfg_entry_t *entry) |
| static void | dynrng_compress_change_cb (void *this_gen, xine_cfg_entry_t *entry) |
| static void | surround_downmix_change_cb (void *this_gen, xine_cfg_entry_t *entry) |
| static void * | init_plugin (xine_t *xine, const void *data) |
Variables | |
| static const struct frmsize_s | frmsizecod_tbl [64] |
| static const uint32_t | audio_types [] |
| static const decoder_info_t | dec_info_audio |
| const plugin_info_t xine_plugin_info[] | EXPORTED |
| #define _BSD_SOURCE 1 |
| #define _DEFAULT_SOURCE 1 |
| #define _XOPEN_SOURCE 500 |
| #define LOG_MODULE "a52_decoder" |
| #define LOG_VERBOSE |
| #define SAMPLE_OFFS 384 |
| typedef struct a52dec_decoder_s a52dec_decoder_t |
|
static |
References a52dec_class_t::a52_level, and xine_cfg_entry_s::num_value.
Referenced by init_plugin().
|
static |
References _x_meta_info_get(), _x_meta_info_set_utf8(), _x_stream_info_set(), a52dec_decode_frame(), BUF_AUDIO_DNET, BUF_FLAG_HEADER, BUF_FLAG_PREVIEW, buf_element_s::content, buf_element_s::decoder_flags, buf_element_s::decoder_info, lprintf, buf_element_s::pts, buf_element_s::size, buf_element_s::type, xine_crc16_ansi(), XINE_META_INFO_AUDIOCODEC, XINE_STREAM_INFO_AUDIO_BITRATE, XINE_STREAM_INFO_AUDIO_SAMPLERATE, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by open_plugin().
|
static |
References AO_CAP_MODE_4_1CHANNEL, AO_CAP_MODE_4CHANNEL, AO_CAP_MODE_5_1CHANNEL, AO_CAP_MODE_5CHANNEL, AO_CAP_MODE_A52, AO_CAP_MODE_MONO, AO_CAP_MODE_STEREO, downmix_lfe_1(), downmix_lfe_2(), float_to_int(), frmsize_s::frm_size, frmsizecod_tbl, lprintf, audio_buffer_s::mem, mute_channel(), NULL, audio_buffer_s::num_frames, SAMPLE_OFFS, audio_buffer_s::stream, audio_buffer_s::vpts, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by a52dec_decode_data().
|
static |
Referenced by open_plugin().
|
static |
References NULL.
Referenced by open_plugin().
|
static |
Referenced by open_plugin().
|
static |
References a52dec_class_t::config, NULL, and config_values_s::unregister_callbacks.
Referenced by init_plugin().
|
inlinestatic |
Referenced by a52dec_decode_frame().
|
inlinestatic |
Referenced by a52dec_decode_frame().
|
static |
References xine_cfg_entry_s::num_value.
Referenced by init_plugin().
|
inlinestatic |
Referenced by a52dec_decode_frame().
|
static |
References _, a52dec_class_t::a52_level, a52_level_change_cb(), a52dec_class_t::config, xine_s::config, a52dec_class_t::decoder_class, audio_decoder_class_s::description, a52dec_class_t::disable_dynrng_compress, audio_decoder_class_s::dispose, dispose_class(), dynrng_compress_change_cb(), a52dec_class_t::enable_surround_downmix, audio_decoder_class_s::identifier, a52dec_class_t::lfe_level_1, a52dec_class_t::lfe_level_2, lfe_level_change_cb(), lprintf, N_, NULL, audio_decoder_class_s::open_plugin, open_plugin(), config_values_s::register_bool, config_values_s::register_range, and surround_downmix_change_cb().
|
static |
References a52dec_class_t::lfe_level_1, a52dec_class_t::lfe_level_2, and xine_cfg_entry_s::num_value.
Referenced by init_plugin().
|
inlinestatic |
Referenced by a52dec_decode_frame().
|
static |
References _, a52dec_decode_data(), a52dec_discontinuity(), a52dec_dispose(), a52dec_reset(), AO_CAP_MODE_4_1CHANNEL, AO_CAP_MODE_4CHANNEL, AO_CAP_MODE_5_1CHANNEL, AO_CAP_MODE_5CHANNEL, AO_CAP_MODE_A52, AO_CAP_MODE_MONO, AO_CAP_MODE_STEREO, xine_stream_s::audio_out, xine_audio_port_s::get_capabilities, lprintf, NULL, xine_stream_s::xine, xine_create_cloexec(), xine_mm_accel(), XINE_VERBOSITY_LOG, and xprintf.
Referenced by init_plugin().
|
static |
References xine_cfg_entry_s::num_value.
Referenced by init_plugin().
|
static |
|
static |
| const plugin_info_t xine_plugin_info [] EXPORTED |
|
static |
Referenced by a52dec_decode_frame().
1.8.17