X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Ffloat_dsp.h;h=9c664592bd550ec18c09ce9d0406f399bf97f1af;hb=c4c2c4df76e15cf3e4c7a0b7500d3c0f8dade271;hp=2c24d93471f3bb48c153c5c150959a4ae030e2cf;hpb=022fa7a24ea8f5000e7b6a50e57cc752f417da47;p=ffmpeg diff --git a/libavutil/float_dsp.h b/libavutil/float_dsp.h index 2c24d93471f..9c664592bd5 100644 --- a/libavutil/float_dsp.h +++ b/libavutil/float_dsp.h @@ -173,6 +173,22 @@ typedef struct AVFloatDSPContext { * @return sum of elementwise products */ float (*scalarproduct_float)(const float *v1, const float *v2, int len); + + /** + * Calculate the entry wise product of two vectors of doubles and store the result in + * a vector of doubles. + * + * @param dst output vector + * constraints: 32-byte aligned + * @param src0 first input vector + * constraints: 32-byte aligned + * @param src1 second input vector + * constraints: 32-byte aligned + * @param len number of elements in the input + * constraints: multiple of 16 + */ + void (*vector_dmul)(double *dst, const double *src0, const double *src1, + int len); } AVFloatDSPContext; /**