libavutil/x86/intmath.h File Reference

Go to the source code of this file.

Defines

#define FASTDIV(a, b)

Define Documentation

#define FASTDIV (   a,
  b 
)
Value:
({\
        int ret, dmy;\
        __asm__ volatile(\
            "mull %3"\
            :"=d"(ret), "=a"(dmy)\
            :"1"(a), "g"(ff_inverse[b])\
            );\
        ret;\
    })

Definition at line 24 of file intmath.h.

Referenced by decode_blockcode(), ff_mpeg4_pred_dc(), ff_sqrt(), find_optimal_param(), get_dc(), lag_get_rac(), mpeg4_decode_block(), msmpeg4_pred_dc(), unpack_bitstream(), and vorbis_residue_decode_internal().