summaryrefslogtreecommitdiff
path: root/libswresample/swresample_internal.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-08 21:55:33 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-08 21:55:33 +0200
commitca30ae12c5b7b8f8975e7bc70b2c33e8b06587e4 (patch)
tree32d9163e91485a7f2e8e7257a380827c9ea4b611 /libswresample/swresample_internal.h
parentdfde3d497e7e315387697c7b13b612a99478e44f (diff)
swr: add all in one rematrixing function ptr
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/swresample_internal.h')
-rw-r--r--libswresample/swresample_internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libswresample/swresample_internal.h b/libswresample/swresample_internal.h
index b0e7423773..6675c99d13 100644
--- a/libswresample/swresample_internal.h
+++ b/libswresample/swresample_internal.h
@@ -26,6 +26,8 @@
typedef void (mix_1_1_func_type)(void *out, const void *in, void *coeffp, int index, int len);
typedef void (mix_2_1_func_type)(void *out, const void *in1, const void *in2, void *coeffp, int index1, int index2, int len);
+typedef void (mix_any_func_type)(void **out, const void **in1, void *coeffp, int len);
+
typedef struct AudioData{
uint8_t *ch[SWR_CH_MAX]; ///< samples buffer per channel
uint8_t *data; ///< samples buffer
@@ -98,6 +100,8 @@ struct SwrContext {
mix_1_1_func_type *mix_1_1_f;
mix_2_1_func_type *mix_2_1_f;
+ mix_any_func_type *mix_any_f;
+
/* TODO: callbacks for ASM optimizations */
};