summaryrefslogtreecommitdiff
path: root/libs/ffvpx/libavutil/float_dsp.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ffvpx/libavutil/float_dsp.h')
-rw-r--r--libs/ffvpx/libavutil/float_dsp.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/libs/ffvpx/libavutil/float_dsp.h b/libs/ffvpx/libavutil/float_dsp.h
index 2c24d9347..9c664592b 100644
--- a/libs/ffvpx/libavutil/float_dsp.h
+++ b/libs/ffvpx/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;
/**