00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef AVUTIL_FLOAT_DSP_H
00020 #define AVUTIL_FLOAT_DSP_H
00021
00022 typedef struct AVFloatDSPContext {
00036 void (*vector_fmul)(float *dst, const float *src0, const float *src1,
00037 int len);
00038
00052 void (*vector_fmac_scalar)(float *dst, const float *src, float mul,
00053 int len);
00054
00067 void (*vector_fmul_scalar)(float *dst, const float *src, float mul,
00068 int len);
00069
00082 void (*vector_dmul_scalar)(double *dst, const double *src, double mul,
00083 int len);
00084 } AVFloatDSPContext;
00085
00092 void avpriv_float_dsp_init(AVFloatDSPContext *fdsp, int strict);
00093
00094
00095 void ff_float_dsp_init_arm(AVFloatDSPContext *fdsp);
00096 void ff_float_dsp_init_ppc(AVFloatDSPContext *fdsp, int strict);
00097 void ff_float_dsp_init_x86(AVFloatDSPContext *fdsp);
00098 void ff_float_dsp_init_mips(AVFloatDSPContext *fdsp);
00099
00100 #endif