OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fracbits
(Results
1 - 3
of
3
) sorted by null
/external/flac/libFLAC/
fixed.c
68
int
fracbits
; /* the number of bits of rbps that comprise the fractional part */
local
80
* fixed-point division (err<<
fracbits
)/n.
83
fracbits
= (8*sizeof(err)) - (FLAC__bitmath_ilog2(err)+1);
85
err <<=
fracbits
;
local
87
/* err now holds err/n with
fracbits
fractional bits */
97
fracbits
-= (bits-16);
103
fracbits
+= 16;
104
FLAC__ASSERT(
fracbits
>= 0);
106
/* FLAC__fixedpoint_log2 requires
fracbits
%4 to be 0 */
108
const int f =
fracbits
& 3
147
int
fracbits
; \/* the number of bits of rbps that comprise the fractional part *\/
local
164
err <<=
fracbits
;
local
[
all
...]
float.c
275
FLAC__uint32 FLAC__fixedpoint_log2(FLAC__uint32 x, unsigned
fracbits
, unsigned precision)
277
const FLAC__uint32 ONE = (1u <<
fracbits
);
278
const FLAC__uint32 *table = log2_lookup[
fracbits
>> 2];
280
FLAC__ASSERT(
fracbits
< 32);
281
FLAC__ASSERT((
fracbits
& 0x3) == 0);
/external/flac/libFLAC/include/private/
float.h
82
* '
fracbits
' is the number of fractional bits of 'x'. '
fracbits
' must
88
* If 'x' is less than one -- that is, x < (1<<
fracbits
) -- then this
91
* The return value will also have '
fracbits
' fractional bits.
93
FLAC__uint32 FLAC__fixedpoint_log2(FLAC__uint32 x, unsigned
fracbits
, unsigned precision);
Completed in 160 milliseconds