Revision 6651ce17 libavutil/internal.h

View differences:

libavutil/internal.h
154 154
            );\
155 155
        ret;\
156 156
    })
157
#elif defined(HAVE_ARMV6)
158
static inline av_const int FASTDIV(int a, int b)
159
{
160
    int r;
161
    asm volatile("smmul %0, %1, %2" : "=r"(r) : "r"(a), "r"(ff_inverse[b]));
162
    return r;
163
}
157 164
#elif defined(ARCH_ARMV4L)
158 165
#    define FASTDIV(a,b) \
159 166
    ({\

Also available in: Unified diff