X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Ffloat_dsp.h;h=9c664592bd550ec18c09ce9d0406f399bf97f1af;hb=cb3ac722f4fc8d819f663e346bdb53f64a70f1fd;hp=2c24d93471f3bb48c153c5c150959a4ae030e2cf;hpb=1a8be90adbaf86faa3053ff98118004ad7711c8c;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; /**