|
xine-lib
1.2.10
|
#include <stdio.h>#include <math.h>#include <pthread.h>#include <xine/xine_internal.h>#include <xine/xineutils.h>#include <xine/post.h>#include "dsp.h"#include "audio_filters.h"Data Structures | |
| struct | volnorm_parameters_s |
| struct | post_plugin_volnorm_s |
Macros | |
| #define | NSAMPLES 128 |
| #define | MIN_SAMPLE_SIZE 32000 |
| #define | MUL_INIT 1.0 |
| #define | MUL_MIN 0.1 |
| #define | MUL_MAX 5.0 |
| #define | MID_S16 (SHRT_MAX * 0.25) |
| #define | MID_FLOAT (INT_MAX * 0.25) |
| #define | SIL_S16 (SHRT_MAX * 0.01) |
| #define | SIL_FLOAT (INT_MAX * 0.01) |
| #define | SMOOTH_MUL 0.06 |
| #define | SMOOTH_LASTAVG 0.06 |
| #define | clamp(a, min, max) (((a)>(max))?(max):(((a)<(min))?(min):(a))) |
Typedefs | |
| typedef struct post_plugin_volnorm_s | post_plugin_volnorm_t |
| typedef struct volnorm_parameters_s | volnorm_parameters_t |
| #define clamp | ( | a, | |
| min, | |||
| max | |||
| ) | (((a)>(max))?(max):(((a)<(min))?(min):(a))) |
| #define MID_FLOAT (INT_MAX * 0.25) |
| #define MID_S16 (SHRT_MAX * 0.25) |
| #define MIN_SAMPLE_SIZE 32000 |
| #define MUL_INIT 1.0 |
| #define MUL_MAX 5.0 |
| #define MUL_MIN 0.1 |
| #define NSAMPLES 128 |
| #define SIL_FLOAT (INT_MAX * 0.01) |
| #define SIL_S16 (SHRT_MAX * 0.01) |
| #define SMOOTH_LASTAVG 0.06 |
| #define SMOOTH_MUL 0.06 |
| typedef struct post_plugin_volnorm_s post_plugin_volnorm_t |
| typedef struct volnorm_parameters_s volnorm_parameters_t |
|
static |
References _.
Referenced by volnorm_open_plugin().
|
static |
Referenced by volnorm_open_plugin().
|
static |
References volnorm_parameters_s::method.
Referenced by volnorm_open_plugin().
|
static |
References clamp, audio_buffer_s::mem, audio_buffer_s::mem_size, MID_FLOAT, MUL_MAX, MUL_MIN, SIL_FLOAT, SMOOTH_LASTAVG, and SMOOTH_MUL.
Referenced by volnorm_port_put_buffer().
|
static |
References clamp, audio_buffer_s::mem, audio_buffer_s::mem_size, MID_S16, MUL_MAX, MUL_MIN, SIL_S16, SMOOTH_LASTAVG, and SMOOTH_MUL.
Referenced by volnorm_port_put_buffer().
|
static |
References avg, clamp, audio_buffer_s::mem, audio_buffer_s::mem_size, MID_FLOAT, MIN_SAMPLE_SIZE, MUL_MAX, MUL_MIN, NSAMPLES, and SIL_FLOAT.
Referenced by volnorm_port_put_buffer().
|
static |
References avg, clamp, audio_buffer_s::mem, audio_buffer_s::mem_size, MID_S16, MIN_SAMPLE_SIZE, MUL_MAX, MUL_MIN, NSAMPLES, and SIL_S16.
Referenced by volnorm_port_put_buffer().
|
static |
References volnorm_parameters_s::method.
Referenced by volnorm_open_plugin().
|
static |
References _x_post_dispose().
Referenced by volnorm_open_plugin().
| void* volnorm_init_plugin | ( | xine_t * | xine, |
| const void * | data | ||
| ) |
References N_, NULL, post_class_s::open_plugin, and volnorm_open_plugin().
|
static |
References _x_post_init(), _x_post_intercept_audio_port(), xine_audio_port_s::close, get_help(), get_param_descr(), get_parameters(), input(), MID_S16, MUL_INIT, xine_post_in_s::name, post_audio_port_s::new_port, NULL, xine_audio_port_s::open, xine_audio_port_s::put_buffer, set_parameters(), xine_post_api_t::set_parameters, volnorm_dispose(), volnorm_port_close(), volnorm_port_open(), volnorm_port_put_buffer(), xine_list_push_back(), and XINE_POST_DATA_PARAMETERS.
Referenced by volnorm_init_plugin().
|
static |
References _x_post_dec_usage, xine_audio_port_s::close, NULL, post_audio_port_s::original_port, and post_audio_port_s::stream.
Referenced by volnorm_open_plugin().
|
static |
|
static |
1.8.17