xine-lib 1.2.13-20230125hg15249
|
#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 <xine/buffer.h>
#include <xine/xineutils.h>
#include "xine_a52_parser.h"
Data Structures | |
struct | frmsize_s |
struct | a52dec_decoder_s |
Macros | |
#define | _DEFAULT_SOURCE 1 |
#define | _XOPEN_SOURCE 500 |
#define | _BSD_SOURCE 1 |
#define | LOG_MODULE "a52_spdif" |
#define | LOG_VERBOSE |
#define | A52_MONO 1 |
#define | A52_STEREO 2 |
#define | A52_3F 3 |
#define | A52_2F1R 4 |
#define | A52_3F1R 5 |
#define | A52_2F2R 6 |
#define | A52_3F2R 7 |
#define | A52_DOLBY 10 |
#define | A52_CHANNEL_MASK 15 |
#define | A52_LFE 16 |
Typedefs | |
typedef struct a52dec_decoder_s | a52dec_decoder_t |
Functions | |
static int | a52_syncinfo (uint8_t *buf, int *flags, int *sample_rate, int *bit_rate) |
static void | a52dec_reset (audio_decoder_t *this_gen) |
static void | a52dec_discontinuity (audio_decoder_t *this_gen) |
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 * | 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 A52_2F1R 4 |
Referenced by a52_channel_info(), and open_plugin().
#define A52_2F2R 6 |
Referenced by a52_channel_info(), and open_plugin().
#define A52_3F 3 |
Referenced by a52_channel_info(), and open_plugin().
#define A52_3F1R 5 |
Referenced by a52_channel_info(), and open_plugin().
#define A52_3F2R 7 |
Referenced by a52_channel_info(), and open_plugin().
#define A52_CHANNEL_MASK 15 |
Referenced by a52_channel_info(), and a52dec_decode_frame().
#define A52_DOLBY 10 |
Referenced by a52_channel_info(), a52_syncinfo(), and open_plugin().
#define A52_LFE 16 |
Referenced by a52_channel_info(), a52_syncinfo(), a52dec_decode_frame(), and open_plugin().
#define A52_MONO 1 |
Referenced by a52_channel_info(), and open_plugin().
#define A52_STEREO 2 |
Referenced by a52_channel_info(), and open_plugin().
#define LOG_MODULE "a52_spdif" |
#define LOG_VERBOSE |
typedef struct a52dec_decoder_s a52dec_decoder_t |
|
static |
References A52_DOLBY, A52_LFE, and frmsize_s::bit_rate.
Referenced by xine_a52_parse_data().
|
static |
|
static |
References AO_CAP_MODE_A52, frmsize_s::frm_size, frmsizecod_tbl, audio_buffer_s::mem, audio_buffer_s::num_frames, audio_buffer_s::stream, and audio_buffer_s::vpts.
Referenced by a52dec_decode_data().
|
static |
References a52dec_reset().
Referenced by open_plugin().
|
static |
Referenced by open_plugin().
|
static |
References xine_a52_parser_reset().
Referenced by a52dec_discontinuity(), and open_plugin().
|
static |
References audio_decoder_s::dispose, N_, NULL, open_plugin(), and audio_decoder_class_s::open_plugin.
|
static |
|
static |
|
static |
const plugin_info_t xine_plugin_info [] EXPORTED |
|
static |
Referenced by a52dec_decode_frame().