libavcodec/mpegaudiodsp.h File Reference

#include <stdint.h>
#include "libavutil/common.h"

Go to the source code of this file.

Data Structures

struct  MPADSPContext

Defines

#define MDCT_BUF_SIZE   FFALIGN(36, 2*4)
 For SSE implementation, MDCT_BUF_SIZE/2 should be 128-bit aligned.

Functions

void ff_mpadsp_init (MPADSPContext *s)
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, int incr, int32_t *sb_samples)
void ff_mpa_synth_filter_float (MPADSPContext *s, float *synth_buf_ptr, int *synth_buf_offset, float *window, int *dither_state, float *samples, int incr, float *sb_samples)
void ff_mpadsp_init_arm (MPADSPContext *s)
void ff_mpadsp_init_mmx (MPADSPContext *s)
void ff_mpadsp_init_altivec (MPADSPContext *s)
void ff_mpa_synth_init_float (float *window)
void ff_mpa_synth_init_fixed (int32_t *window)
void ff_mpadsp_apply_window_float (float *synth_buf, float *window, int *dither_state, float *samples, int incr)
void ff_mpadsp_apply_window_fixed (int32_t *synth_buf, int32_t *window, int *dither_state, int16_t *samples, int incr)
void ff_imdct36_blocks_float (float *out, float *buf, float *in, int count, int switch_point, int block_type)
void ff_imdct36_blocks_fixed (int *out, int *buf, int *in, int count, int switch_point, int block_type)
void ff_init_mpadsp_tabs_float (void)
void ff_init_mpadsp_tabs_fixed (void)

Variables

int32_t ff_mpa_synth_window_fixed []
float ff_mpa_synth_window_float []
int ff_mdct_win_fixed [8][MDCT_BUF_SIZE]
float ff_mdct_win_float [8][MDCT_BUF_SIZE]


Define Documentation

#define MDCT_BUF_SIZE   FFALIGN(36, 2*4)

For SSE implementation, MDCT_BUF_SIZE/2 should be 128-bit aligned.

Definition at line 80 of file mpegaudiodsp.h.

Referenced by ff_init_mpadsp_tabs_TMPL(), and imdct36().


Function Documentation

void ff_imdct36_blocks_fixed ( int *  out,
int *  buf,
int *  in,
int  count,
int  switch_point,
int  block_type 
)

Referenced by ff_mpadsp_init().

void ff_imdct36_blocks_float ( float *  out,
float *  buf,
float *  in,
int  count,
int  switch_point,
int  block_type 
)

Referenced by ff_mpadsp_init().

void ff_init_mpadsp_tabs_fixed ( void   ) 

Referenced by ff_mpadsp_init().

void ff_init_mpadsp_tabs_float ( void   ) 

Referenced by ff_mpadsp_init().

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,
int  incr,
int32_t *  sb_samples 
)

Referenced by mpc_synth().

void ff_mpa_synth_filter_float ( MPADSPContext s,
float *  synth_buf_ptr,
int *  synth_buf_offset,
float *  window,
int *  dither_state,
float *  samples,
int  incr,
float *  sb_samples 
)

Referenced by qdm2_synthesis_filter().

void ff_mpa_synth_init_fixed ( int32_t *  window  ) 

Referenced by ff_mpc_init().

void ff_mpa_synth_init_float ( float *  window  ) 

Referenced by qdm2_init().

void ff_mpadsp_apply_window_fixed ( int32_t *  synth_buf,
int32_t *  window,
int *  dither_state,
int16_t samples,
int  incr 
)

Referenced by ff_mpadsp_init().

void ff_mpadsp_apply_window_float ( float *  synth_buf,
float *  window,
int *  dither_state,
float *  samples,
int  incr 
)

Referenced by ff_mpadsp_init().

void ff_mpadsp_init ( MPADSPContext s  ) 

Definition at line 26 of file mpegaudiodsp.c.

Referenced by decode_init(), mpc7_decode_init(), mpc8_decode_init(), and qdm2_decode_init().

void ff_mpadsp_init_altivec ( MPADSPContext s  ) 

Definition at line 126 of file mpegaudiodec_altivec.c.

Referenced by ff_mpadsp_init().

void ff_mpadsp_init_arm ( MPADSPContext s  ) 

Definition at line 28 of file mpegaudiodsp_init_arm.c.

Referenced by ff_mpadsp_init().

void ff_mpadsp_init_mmx ( MPADSPContext s  ) 

Definition at line 207 of file mpegaudiodec_mmx.c.

Referenced by ff_mpadsp_init().


Variable Documentation

int ff_mdct_win_fixed[8][MDCT_BUF_SIZE]

float ff_mdct_win_float[8][MDCT_BUF_SIZE]

Referenced by ff_mpadsp_init_mmx().

Referenced by ff_mpc_init(), and mpc_synth().

Referenced by qdm2_init(), and qdm2_synthesis_filter().


Generated on Fri Oct 26 02:46:09 2012 for FFmpeg by  doxygen 1.5.8