mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
lavc/fmtconvert: remove dead int32_to_float
This is no longer used since 4608996772
.
It also has no implementations other than the plain C one.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
fc5aef59bf
commit
7f27ce6882
@ -33,14 +33,6 @@ static void int32_to_float_fmul_scalar_c(float *dst, const int32_t *src,
|
||||
dst[i] = src[i] * mul;
|
||||
}
|
||||
|
||||
static void int32_to_float_c(float *dst, const int32_t *src, intptr_t len)
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; i < len; i++)
|
||||
dst[i] = (float)src[i];
|
||||
}
|
||||
|
||||
static void int32_to_float_fmul_array8_c(FmtConvertContext *c, float *dst,
|
||||
const int32_t *src, const float *mul,
|
||||
int len)
|
||||
@ -52,7 +44,6 @@ static void int32_to_float_fmul_array8_c(FmtConvertContext *c, float *dst,
|
||||
|
||||
av_cold void ff_fmt_convert_init(FmtConvertContext *c, AVCodecContext *avctx)
|
||||
{
|
||||
c->int32_to_float = int32_to_float_c;
|
||||
c->int32_to_float_fmul_scalar = int32_to_float_fmul_scalar_c;
|
||||
c->int32_to_float_fmul_array8 = int32_to_float_fmul_array8_c;
|
||||
|
||||
|
@ -37,16 +37,6 @@ 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,
|
||||
|
Loading…
Reference in New Issue
Block a user