X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Ffmtconvert.h;h=825422bed6bf78f3a8992ac1b7f9882053844080;hb=2dd2abe391ccf1b9140c6eea95767b5a8c503ddd;hp=82811d108c70fd6c7d79fb2968dff4ddbc4301a6;hpb=b000b86e1dd03c4ff89cd63a6fa88fc280947c94;p=ffmpeg diff --git a/libavcodec/fmtconvert.h b/libavcodec/fmtconvert.h index 82811d108c7..825422bed6b 100644 --- a/libavcodec/fmtconvert.h +++ b/libavcodec/fmtconvert.h @@ -68,8 +68,17 @@ typedef struct FmtConvertContext { */ void (*float_to_int16_interleave)(int16_t *dst, const float **src, long len, int channels); + + /** + * Convert an array of interleaved float to multiple arrays of float. + */ + void (*float_interleave)(float *dst, const float **src, unsigned int len, + int channels); } FmtConvertContext; +void ff_float_interleave_c(float *dst, const float **src, unsigned int len, + int channels); + void ff_fmt_convert_init(FmtConvertContext *c, AVCodecContext *avctx); void ff_fmt_convert_init_arm(FmtConvertContext *c, AVCodecContext *avctx);