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

« back to all changes in this revision

Viewing changes to avidemux/ADM_libraries/ADM_lavcodec/ppc/dsputil_altivec.h

  • 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:
101
101
    h = vec_mergel (D2, H2); \
102
102
} while (0)
103
103
 
 
104
 
 
105
/** \brief loads unaligned vector \a *src with offset \a offset
 
106
    and returns it */
 
107
static inline vector unsigned char unaligned_load(int offset, uint8_t *src)
 
108
{
 
109
    register vector unsigned char first = vec_ld(offset, src);
 
110
    register vector unsigned char second = vec_ld(offset+15, src);
 
111
    register vector unsigned char mask = vec_lvsl(offset, src);
 
112
    return vec_perm(first, second, mask);
 
113
}
 
114
 
104
115
#endif /* HAVE_ALTIVEC */
105
116
 
106
117
#endif /* _DSPUTIL_ALTIVEC_ */