]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/celp_math.h
fate/api-{jpeg,png}-codec-param: add missing codec dependencies
[ffmpeg] / libavcodec / celp_math.h
index 18d3ad94d1e7e28a1169a24525faa730a511925c..18888a425d95d8d0dc835b985295f2b73a570711 100644 (file)
@@ -61,6 +61,16 @@ int ff_exp2(uint16_t power);
  */
 int ff_log2_q15(uint32_t value);
 
+/**
+ * Calculate 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);
+
 /**
  * Shift value left or right depending on sign of offset parameter.
  * @param value value to shift
@@ -74,16 +84,6 @@ 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);
-
 /**
  * Return the dot product.
  * @param a input data array