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