summaryrefslogtreecommitdiff
path: root/libavcodec/fmtconvert.h
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2016-01-02 13:08:29 +0100
committerHendrik Leppkes <h.leppkes@gmail.com>2016-01-02 13:08:29 +0100
commitaf1238f863fda4a1a6fc00525b651a3d9b31eccd (patch)
tree52f1c7491bf534916c297e3ceaead865b6ad3335 /libavcodec/fmtconvert.h
parenta51c2fcdc15dd37a2d95265a5b74d522b0b0b232 (diff)
parentaebf07075f4244caf591a3af71e5872fe314e87b (diff)
Merge commit 'aebf07075f4244caf591a3af71e5872fe314e87b'
* commit 'aebf07075f4244caf591a3af71e5872fe314e87b': dca: change the core to work with integer coefficients. Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavcodec/fmtconvert.h')
-rw-r--r--libavcodec/fmtconvert.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/fmtconvert.h b/libavcodec/fmtconvert.h
index b2df7a9629..a1b17e4f04 100644
--- a/libavcodec/fmtconvert.h
+++ b/libavcodec/fmtconvert.h
@@ -37,6 +37,16 @@ typedef struct FmtConvertContext {
*/
void (*int32_to_float_fmul_scalar)(float *dst, const int32_t *src,
float mul, int len);
+ /**
+ * Convert an array of int32_t to float.
+ * @param dst destination array of float.
+ * constraints: 32-byte aligned
+ * @param src source array of int32_t.
+ * constraints: 32-byte aligned
+ * @param len number of elements to convert.
+ * constraints: multiple of 8
+ */
+ void (*int32_to_float)(float *dst, const int32_t *src, intptr_t len);
/**
* Convert an array of int32_t to float and multiply by a float value from another array,