Go to the documentation of this file.
31 static void int32_to_float_fmul_scalar_altivec(
float *
dst,
const int32_t *
src,
43 mul_v = vec_splat(mul_u.v, 0);
45 for (
i = 0;
i <
len;
i += 8) {
47 src2 = vec_ctf(vec_ld(16,
src+
i), 0);
50 vec_st(dst1, 0,
dst+
i);
51 vec_st(dst2, 16,
dst+
i);
63 c->int32_to_float_fmul_scalar = int32_to_float_fmul_scalar_altivec;
int av_get_cpu_flags(void)
Return the flags which specify extensions supported by the CPU.
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
av_cold void ff_fmt_convert_init_ppc(FmtConvertContext *c)
#define PPC_ALTIVEC(flags)
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
static int zero(InterplayACMContext *s, unsigned ind, unsigned col)
#define i(width, name, range_min, range_max)