FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
dcadsp_init.c File Reference
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/x86/cpu.h"
#include "libavcodec/dcadsp.h"

Go to the source code of this file.

Macros

#define SYNTH_FILTER_FUNC(opt)
 

Functions

void ff_decode_hf_sse (float dst[DCA_SUBBANDS][8], const int vq_num[DCA_SUBBANDS], const int8_t hf_vq[1024][32], intptr_t vq_offset, int scale[DCA_SUBBANDS][2], intptr_t start, intptr_t end)
 
void ff_decode_hf_sse2 (float dst[DCA_SUBBANDS][8], const int vq_num[DCA_SUBBANDS], const int8_t hf_vq[1024][32], intptr_t vq_offset, int scale[DCA_SUBBANDS][2], intptr_t start, intptr_t end)
 
void ff_decode_hf_sse4 (float dst[DCA_SUBBANDS][8], const int vq_num[DCA_SUBBANDS], const int8_t hf_vq[1024][32], intptr_t vq_offset, int scale[DCA_SUBBANDS][2], intptr_t start, intptr_t end)
 
void ff_dca_lfe_fir0_sse (float *out, const float *in, const float *coefs)
 
void ff_dca_lfe_fir1_sse (float *out, const float *in, const float *coefs)
 
void ff_dca_lfe_fir0_fma3 (float *out, const float *in, const float *coefs)
 
av_cold void ff_dcadsp_init_x86 (DCADSPContext *s)
 
av_cold void ff_synth_filter_init_x86 (SynthFilterContext *s)
 

Macro Definition Documentation

#define SYNTH_FILTER_FUNC (   opt)
Value:
void ff_synth_filter_inner_##opt(float *synth_buf_ptr, float synth_buf2[32], \
const float window[512], \
float out[32], intptr_t offset, float scale); \
static void synth_filter_##opt(FFTContext *imdct, \
float *synth_buf_ptr, int *synth_buf_offset, \
float synth_buf2[32], const float window[512], \
float out[32], const float in[32], float scale) \
{ \
float *synth_buf= synth_buf_ptr + *synth_buf_offset; \
\
imdct->imdct_half(imdct, synth_buf, in); \
\
ff_synth_filter_inner_##opt(synth_buf, synth_buf2, window, \
out, *synth_buf_offset, scale); \
\
*synth_buf_offset = (*synth_buf_offset - 32) & 511; \
} \

Definition at line 65 of file dcadsp_init.c.

Function Documentation

void ff_decode_hf_sse ( float  dst[DCA_SUBBANDS][8],
const int  vq_num[DCA_SUBBANDS],
const int8_t  hf_vq[1024][32],
intptr_t  vq_offset,
int  scale[DCA_SUBBANDS][2],
intptr_t  start,
intptr_t  end 
)

Referenced by ff_dcadsp_init_x86().

void ff_decode_hf_sse2 ( float  dst[DCA_SUBBANDS][8],
const int  vq_num[DCA_SUBBANDS],
const int8_t  hf_vq[1024][32],
intptr_t  vq_offset,
int  scale[DCA_SUBBANDS][2],
intptr_t  start,
intptr_t  end 
)

Referenced by ff_dcadsp_init_x86().

void ff_decode_hf_sse4 ( float  dst[DCA_SUBBANDS][8],
const int  vq_num[DCA_SUBBANDS],
const int8_t  hf_vq[1024][32],
intptr_t  vq_offset,
int  scale[DCA_SUBBANDS][2],
intptr_t  start,
intptr_t  end 
)

Referenced by ff_dcadsp_init_x86().

void ff_dca_lfe_fir0_sse ( float *  out,
const float *  in,
const float *  coefs 
)

Referenced by ff_dcadsp_init_x86().

void ff_dca_lfe_fir1_sse ( float *  out,
const float *  in,
const float *  coefs 
)

Referenced by ff_dcadsp_init_x86().

void ff_dca_lfe_fir0_fma3 ( float *  out,
const float *  in,
const float *  coefs 
)

Referenced by ff_dcadsp_init_x86().

av_cold void ff_dcadsp_init_x86 ( DCADSPContext s)

Definition at line 39 of file dcadsp_init.c.

Referenced by ff_dcadsp_init().

av_cold void ff_synth_filter_init_x86 ( SynthFilterContext s)

Definition at line 93 of file dcadsp_init.c.

Referenced by ff_synth_filter_init().