summaryrefslogtreecommitdiffstats
path: root/libavcodec/ppc/fdctdsp.c
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/ppc/fdctdsp: use more accurate constantsGanesh Ajjanagadde2015-12-011-7/+7
| | | | | | | | Whoever wrote this stuff had a pretty bad libm - digits differ pretty quickly. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* avcodec/ppc/fdctdsp: use M_SQRT2 instead of ad-hoc SQRT2Ganesh Ajjanagadde2015-11-221-11/+10
| | | | | | | | | | | | | This actually fixes an incorrect float literal. It is believed by examining the precision that the literals were all pre-computed as floats, resulting in this needless loss of precision. There is no benefit to keeping such reduced precision: 1. These constants are used for static array computation, hence compile-time. 2. They will be treated as doubles anyway, since f specifier was not present. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* avcodec/ppc/fdctdsp: POWER LE support in ff_fdct_altivec() delete macros ↵Rong Yan2015-04-271-47/+39
| | | | | | | | | | VEC_FMERGEH() VEC_FMERGEL(), they where wrong GCC tool had a bug of PPC intrinsic interpret, which has been fixed in GCC 4.9.1. This bug lead to errors in two of our previous patches. We found this when we update our GCC tools to 4.9.1 and by reading the related info on GCC website. We fix our previous error in two separate commits Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/ppc/fdctdsp: POWER LE support in ff_fdct_altivec()Rong Yan2015-04-031-39/+47
| | | | | | add marcos VEC_FMERGEH() VEC_FMERGEL() Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/ppc/fdctdsp: fix const warningMichael Niedermayer2015-02-281-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Add missing "const" all over the place.Reimar Döffinger2014-08-291-1/+1
| | | | | | Only "./configure --enable-gpl" on x86 was tested. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* Merge commit '1a583c0c60240adb8fa6620c6df33f1a0a0fe5d9'Michael Niedermayer2014-07-191-1/+1
|\ | | | | | | | | | | | | * commit '1a583c0c60240adb8fa6620c6df33f1a0a0fe5d9': fdct: Move ppc-specific declarations to a header in the ppc directory Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fdct: Move ppc-specific declarations to a header in the ppc directoryDiego Biurrun2014-07-191-1/+1
| |
* | Merge commit 'a9aee08d900f686e966c64afec5d88a7d9d130a3'Michael Niedermayer2014-07-081-4/+4
|/ | | | | | | | | | | | | | | | | | * commit 'a9aee08d900f686e966c64afec5d88a7d9d130a3': dsputil: Split off FDCT bits into their own context Conflicts: configure libavcodec/Makefile libavcodec/asvenc.c libavcodec/dnxhdenc.c libavcodec/dsputil.c libavcodec/mpegvideo.h libavcodec/mpegvideo_enc.c libavcodec/x86/Makefile libavcodec/x86/dsputilenc_mmx.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* dsputil: Split off FDCT bits into their own contextDiego Biurrun2014-07-071-0/+479
OpenPOWER on IntegriCloud