Lines 28-33
Link Here
|
28 |
#ifndef AVCODEC_DIRAC_ARITH_H |
28 |
#ifndef AVCODEC_DIRAC_ARITH_H |
29 |
#define AVCODEC_DIRAC_ARITH_H |
29 |
#define AVCODEC_DIRAC_ARITH_H |
30 |
|
30 |
|
|
|
31 |
#include "libavutil/x86/asm.h" |
31 |
#include "bytestream.h" |
32 |
#include "bytestream.h" |
32 |
#include "get_bits.h" |
33 |
#include "get_bits.h" |
33 |
|
34 |
|
Lines 134-140
static inline int dirac_get_arith_bit(Di
Link Here
|
134 |
|
135 |
|
135 |
range_times_prob = (c->range * prob_zero) >> 16; |
136 |
range_times_prob = (c->range * prob_zero) >> 16; |
136 |
|
137 |
|
137 |
#if HAVE_FAST_CMOV && HAVE_INLINE_ASM |
138 |
#if HAVE_FAST_CMOV && HAVE_INLINE_ASM && HAVE_6REGS |
138 |
low -= range_times_prob << 16; |
139 |
low -= range_times_prob << 16; |
139 |
range -= range_times_prob; |
140 |
range -= range_times_prob; |
140 |
bit = 0; |
141 |
bit = 0; |