X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Ffmtconvert.h;h=a1b17e4f0411ba7629eaa7b6e3dc2341db6f2474;hb=cccb0ffccc3723acc7aab3a859b24743596dd9c0;hp=b2df7a9629fe4252dc0d9fa880f0bb8e2adf1349;hpb=d882c0b9f9f1d81194a6ec0608c2ccac33ade0a1;p=ffmpeg diff --git a/libavcodec/fmtconvert.h b/libavcodec/fmtconvert.h index b2df7a9629f..a1b17e4f041 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,