47 c->synth_buf[ch], &(
c->synth_buf_offset[ch]),
50 c->sb_samples[ch][
i]);
64 memset(
c->sb_samples, 0,
sizeof(
c->sb_samples));
67 for(ch = 0; ch < 2; ch++){
72 c->sb_samples[ch][j][
i] =
av_clipf(mul *
c->Q[ch][j + off], INT32_MIN, INT32_MAX);
75 c->sb_samples[ch][j][
i] =
av_clipf(mul *
c->Q[ch][j + off], INT32_MIN, INT32_MAX);
78 c->sb_samples[ch][j][
i] =
av_clipf(mul *
c->Q[ch][j + off], INT32_MIN, INT32_MAX);
84 t1 =
c->sb_samples[0][j][
i];
85 t2 =
c->sb_samples[1][j][
i];
86 c->sb_samples[0][j][
i] = t1 + t2;
87 c->sb_samples[1][j][
i] = t1 - t2;
static const float bands[]
#define i(width, name, range_min, range_max)
common internal and external API header
static void mpc_synth(MPCContext *c, int16_t **out, int channels)
Process decoded Musepack data and produce PCM.
void ff_mpc_dequantize_and_synth(MPCContext *c, int maxband, int16_t **out, int channels)
Musepack decoder MPEG Audio Layer 1/2 -like codec with frames of 1152 samples divided into 32 subband...
static const float mpc_SCF[256]
static const float mpc_CC[18+1]
void ff_mpa_synth_filter_fixed(MPADSPContext *s, int32_t *synth_buf_ptr, int *synth_buf_offset, int32_t *window, int *dither_state, int16_t *samples, ptrdiff_t incr, int32_t *sb_samples)
int32_t ff_mpa_synth_window_fixed[]
Subband structure - hold all variables for each subband.