void ff_int32_to_float_fmul_scalar_rvv(float *dst, const int32_t *src, float mul, int len)
int av_get_cpu_flags(void)
Return the flags which specify extensions supported by the CPU.
av_cold void ff_fmt_convert_init_riscv(FmtConvertContext *c)
#define AV_CPU_FLAG_RVV_F32
Vectors of float's */.
static float mul(float src0, float src1)
Undefined Behavior In the C some operations are like signed integer dereferencing freed accessing outside allocated Undefined Behavior must not occur in a C it is not safe even if the output of undefined operations is unused The unsafety may seem nit picking but Optimizing compilers have in fact optimized code on the assumption that no undefined Behavior occurs Optimizing code based on wrong assumptions can and has in some cases lead to effects beyond the output of computations The signed integer overflow problem in speed critical code Code which is highly optimized and works with signed integers sometimes has the problem that often the output of the computation does not c
#define flags(name, subs,...)
void ff_int32_to_float_fmul_array8_rvv(FmtConvertContext *c, float *dst, const int32_t *src, const float *mul, int len)