~ubuntu-branches/ubuntu/hardy/avidemux/hardy

« back to all changes in this revision

Viewing changes to avidemux/ADM_libraries/ADM_lavcodec/ppc/gmc_altivec.c

  • Committer: Bazaar Package Importer
  • Author(s): Matvey Kozhev
  • Date: 2008-01-23 14:24:55 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20080123142455-wznqmv3teznzpmjb
Tags: 1:2.4.0-0.3ubuntu1
* Merged new upstream release from debian-multimedia.org
  (LP: #178845, LP: #180393), remaining Ubuntu changes:
  + debian/control:
    - set maintainer fields per Ubuntu policy.
    - removed libamrnb-dev, not in Ubuntu and most likely
      will never be (due to being proprietary software).
    - build against current libx264-dev (LP: #177082).
    - build against current libfaac-dev (LP: #181389).
    - build-depend on chrpath to strip rpath from avidemux2_qt4.
  + debian/rules: strip rpath from avidemux2_qt4.
  + debian/source.lintian-overrides: re-added.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21
21
 */
22
22
 
23
 
#include "../dsputil.h"
 
23
#include "dsputil.h"
24
24
 
25
25
#include "gcc_fixes.h"
26
26
 
34
34
void gmc1_altivec(uint8_t *dst /* align 8 */, uint8_t *src /* align1 */, int stride, int h, int x16, int y16, int rounder)
35
35
{
36
36
POWERPC_PERF_DECLARE(altivec_gmc1_num, GMC1_PERF_COND);
37
 
    const unsigned short __attribute__ ((aligned(16))) rounder_a[8] =
 
37
    const DECLARE_ALIGNED_16(unsigned short, rounder_a[8]) =
38
38
      {rounder, rounder, rounder, rounder,
39
39
       rounder, rounder, rounder, rounder};
40
 
    const unsigned short __attribute__ ((aligned(16))) ABCD[8] =
 
40
    const DECLARE_ALIGNED_16(unsigned short, ABCD[8]) =
41
41
      {
42
42
        (16-x16)*(16-y16), /* A */
43
43
        (   x16)*(16-y16), /* B */