mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 16:22:37 +00:00
10l: Revert accidental removal of unused code.
Originally committed as revision 9142 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0fd5a1b935
commit
2d2fe55737
@ -49,7 +49,19 @@ uint64_t exp16_table[21]={
|
||||
195360063,
|
||||
582360139072LL,
|
||||
};
|
||||
#if 1
|
||||
// 16.16 fixpoint exp()
|
||||
static unsigned int exp16(unsigned int a){
|
||||
int i;
|
||||
int out= 1<<16;
|
||||
|
||||
for(i=19;i>=0;i--){
|
||||
if(a&(1<<i))
|
||||
out= (out*exp16_table[i] + (1<<15))>>16;
|
||||
}
|
||||
|
||||
return out;
|
||||
}
|
||||
// 16.16 fixpoint log()
|
||||
static int64_t log16(uint64_t a){
|
||||
int i;
|
||||
@ -68,6 +80,7 @@ static int64_t log16(uint64_t a){
|
||||
return out;
|
||||
}
|
||||
|
||||
#endif
|
||||
static uint64_t int_sqrt(uint64_t a)
|
||||
{
|
||||
uint64_t ret=0;
|
||||
|
Loading…
Reference in New Issue
Block a user