]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/celp_math.h
av_tempfile: Pass int log_offset, void *log_ctx
[ffmpeg] / libavcodec / celp_math.h
index 4cf656fb7ec0e2bbdfdbd64388f4ab6a0e550972..48032454783d9228ae5448018a44d55b7521fcaa 100644 (file)
@@ -63,6 +63,16 @@ static inline int bidir_sal(int value, int offset)
     else           return value <<  offset;
 }
 
+/**
+ * returns the dot product of 2 int16_t vectors.
+ * @param a input data array
+ * @param b input data array
+ * @param length number of elements
+ *
+ * @return dot product = sum of elementwise products
+ */
+int64_t ff_dot_product(const int16_t *a, const int16_t *b, int length);
+
 /**
  * returns the dot product.
  * @param a input data array