]> granicus.if.org Git - libjpeg-turbo/commit
Further cleanup of the AltiVec forward DCT code:
authorDRC <dcommander@users.sourceforge.net>
Thu, 18 Dec 2014 09:49:39 +0000 (09:49 +0000)
committerDRC <dcommander@users.sourceforge.net>
Thu, 18 Dec 2014 09:49:39 +0000 (09:49 +0000)
commit040435afb9d6a82e547c7b0bc5ac04bfcc1741af
tree33caa40a82b24140b9efa769a6038a6a2be67e76
parentfb0c394037050277c78c0e28eb0ca1590ec58ccd
Further cleanup of the AltiVec forward DCT code:
-- Use macros to represent the fast FDCT constants, to facilitate comparing the AltiVec implementation of the algorithm with the SSE2 implementation.
-- Rename slow FDCT constants for consistency.
-- Use vec_sra() in all cases in the slow FDCT code.  The SSE2 implementation uses psraw, which is an arithmetic shift, so we need to do likewise with AltiVec.  Using vec_sr() hasn't caused any problems yet, but it is conceivable that it might cause different behavior in certain corner cases.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1444 632fc199-4ca6-4c93-a231-07263d6284db
simd/jsimd_powerpc_altivec.c