]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dsputil.h
h264: reject unsupported 422 9 bit streams
[ffmpeg] / libavcodec / dsputil.h
index 07ef196185025489aa04796339aac5593d910982..057c41cca5cbee9c5ff54671a55832d221a1fb27 100644 (file)
@@ -423,6 +423,17 @@ typedef struct DSPContext {
      */
     void (*vector_fmul_scalar)(float *dst, const float *src, float mul,
                                int len);
+    /**
+     * Multiply a vector of floats by a scalar float and add to
+     * destination vector.  Source and destination vectors must
+     * overlap exactly or not at all.
+     * @param dst result vector, 16-byte aligned
+     * @param src input vector, 16-byte aligned
+     * @param mul scalar value
+     * @param len length of vector, multiple of 4
+     */
+    void (*vector_fmac_scalar)(float *dst, const float *src, float mul,
+                               int len);
     /**
      * Calculate the scalar product of two vectors of floats.
      * @param v1  first vector, 16-byte aligned