~ubuntu-branches/ubuntu/lucid/ffmpeg/lucid-security

« back to all changes in this revision

Viewing changes to libavcodec/x86/mathops.h

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2009-03-13 09:18:28 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090313091828-n4ktby5eca487uhv
Tags: 3:0.svn20090303-1ubuntu1+unstripped1
merge from ubuntu.jaunty branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include "config.h"
26
26
#include "libavutil/common.h"
27
27
 
 
28
#if ARCH_X86_32
28
29
#define MULL(ra, rb, shift) \
29
30
        ({ int rt, dummy; __asm__ (\
30
31
            "imull %3               \n\t"\
42
43
    ({ int64_t rt;\
43
44
     __asm__ ("imull %2\n\t" : "=A"(rt) : "a" ((int)ra), "g" ((int)rb));\
44
45
     rt; })
 
46
#endif
45
47
 
46
48
#if HAVE_CMOV
47
49
/* median of 3 */