Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-16 15:38:41 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-01-16 15:38:41 +0400
commit5c7e9e16c961f1f7258734426afac3cee4349580 (patch)
tree20ea7bec723ef262bffb8f2447adcc1dc3d98069 /libavutil/float_dsp.h
parent0e79fe37e5c5500db2e65ce6b7ea0bbdb3f24665 (diff)
parente034cc6c60c77dce390b1ac31141b1862bdf8999 (diff)
Merge remote-tracking branch 'qatar/master'
* qatar/master: lavc: Move vector_fmul_window to AVFloatDSPContext rtpdec_mpeg4: Check the remaining amount of data before reading Conflicts: libavcodec/dsputil.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/float_dsp.h')
-rw-r--r--libavutil/float_dsp.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/libavutil/float_dsp.h b/libavutil/float_dsp.h
index a3dc947268..f8da3fcbab 100644
--- a/libavutil/float_dsp.h
+++ b/libavutil/float_dsp.h
@@ -81,6 +81,25 @@ typedef struct AVFloatDSPContext {
*/
void (*vector_dmul_scalar)(double *dst, const double *src, double mul,
int len);
+
+ /**
+ * Overlap/add with window function.
+ * Used primarily by MDCT-based audio codecs.
+ * Source and destination vectors must overlap exactly or not at all.
+ *
+ * @param dst result vector
+ * constraints: 16-byte aligned
+ * @param src0 first source vector
+ * constraints: 16-byte aligned
+ * @param src1 second source vector
+ * constraints: 16-byte aligned
+ * @param win half-window vector
+ * constraints: 16-byte aligned
+ * @param len length of vector
+ * constraints: multiple of 4
+ */
+ void (*vector_fmul_window)(float *dst, const float *src0,
+ const float *src1, const float *win, int len);
} AVFloatDSPContext;
/**