OSDN Git Service

ac3dsp: simplify x86 versions of ac3_max_msb_abs_int16
authorJustin Ruggles <justin.ruggles@gmail.com>
Mon, 14 May 2012 19:56:39 +0000 (15:56 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Tue, 15 May 2012 19:23:59 +0000 (15:23 -0400)
commit95a98ab3f0439df82a907233f80a7404b987e838
treea574f9bb10b094dbee0b834fdddcef41b7d1fe18
parent11e33402ca0ed949241133aef1959f8d937982a5
ac3dsp: simplify x86 versions of ac3_max_msb_abs_int16

Simplifies the code by using cpuflags and a new macro.
Also fixes the invalid use of the MMX2 pshufw operation in the MMX-only
function.
libavcodec/x86/ac3dsp.asm
libavcodec/x86/ac3dsp_mmx.c