[gstreamer-bugs] [Bug 592787] a52dec: Allow liba52 to use djbfft based IMDCT transform

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Aug 23 03:02:11 PDT 2009


http://bugzilla.gnome.org/show_bug.cgi?id=592787



--- Comment #1 from Mart Raudsepp <leio at gentoo.org> 2009-08-23 10:02:08 UTC ---
Created an attachment (id=141481)
[PATCH] a52dec: Allow liba52 to use djbfft based IMDCT transform


liba52 in a52dec-0.7.4 does not have any MMX, MMXEXT or 3DNOW based
IMDCT transform acceleration. It does however have a software based
acceleration using the djbfft library (D.J. Bernstein's library for
fourier transforms - Extremely fast library for floating-point
convolution). So allow liba52 to use it through the MM_ACCEL_DJBFFT
flag.
The liba52 copy in MPlayer sources does have SSE, 3dnowext, 3dnow
and AltiVec implementations, but those are checked for first, and
djbfft is chosen only if none of those is available - good in the
case of some distributions including a port of the MPlayer changes
in their system a52dec library.

The down and upmix code in liba52 doesn't seem to be disturbed by
this additional MM_ACCEL flag and will still use MMX, SSE or 3DNOW
versions if passed from oil_cpu_get_flags (SSE currently is not).
---
 ext/a52dec/gsta52dec.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list