[FFmpeg-devel] [PATCH 2/9] x86: prores: templatize 10 bits simple_idct

Christophe Gisquet christophe.gisquet at gmail.com
Thu Oct 8 09:08:22 CEST 2015


2015-10-08 8:22 GMT+02:00 Christophe Gisquet <christophe.gisquet at gmail.com>:
> +#define TIMES4(a, b)                                                        \
> +     (((b)&0xFFFFLL)<<48)+(((a)&0xFFFFLL)<<32)+(((b)&0xFFFFLL)<<16)+((a)&0xFFFFLL), \
> +     (((b)&0xFFFFLL)<<48)+(((a)&0xFFFFLL)<<32)+(((b)&0xFFFFLL)<<16)+((a)&0xFFFFLL)

Now that I think of it, that'll fail on BE archs (which may not use
this), but I haven't thought of a better solution yet.

-- 
Christophe


More information about the ffmpeg-devel mailing list