24 #ifndef AVCODEC_X86_VP56_ARITH_H
25 #define AVCODEC_X86_VP56_ARITH_H
27 #if HAVE_INLINE_ASM && HAVE_FAST_CMOV && HAVE_6REGS
28 #define vp56_rac_get_prob vp56_rac_get_prob
32 unsigned int low = 1 + (((
c->high - 1) *
prob) >> 8);
33 unsigned int low_shift = low << 16;
35 c->code_word = code_word;
43 :
"+q"(
bit),
"+&r"(
c->high),
"+&r"(
c->code_word)
44 :
"r"(low_shift),
"r"(low),
"r"(code_word)
__asm__(".macro parse_r var r\n\t" "\\var = -1\n\t" _IFC_REG(0) _IFC_REG(1) _IFC_REG(2) _IFC_REG(3) _IFC_REG(4) _IFC_REG(5) _IFC_REG(6) _IFC_REG(7) _IFC_REG(8) _IFC_REG(9) _IFC_REG(10) _IFC_REG(11) _IFC_REG(12) _IFC_REG(13) _IFC_REG(14) _IFC_REG(15) _IFC_REG(16) _IFC_REG(17) _IFC_REG(18) _IFC_REG(19) _IFC_REG(20) _IFC_REG(21) _IFC_REG(22) _IFC_REG(23) _IFC_REG(24) _IFC_REG(25) _IFC_REG(26) _IFC_REG(27) _IFC_REG(28) _IFC_REG(29) _IFC_REG(30) _IFC_REG(31) ".iflt \\var\n\t" ".error \"Unable to parse register name \\r\"\n\t" ".endif\n\t" ".endm")
#define bit(string, value)
#define prob(name, subs,...)
static av_always_inline unsigned int vp56_rac_renorm(VP56RangeCoder *c)
#define vp56_rac_get_prob