OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DENOM
(Results
1 - 3
of
3
) sorted by null
/external/libvpx/libvpx/vpx_mem/memory_manager/include/
hmm_intrnl.h
59
#define DIV_ROUND_UP(NUMER,
DENOM
) (((NUMER) + (
DENOM
) - 1) / (
DENOM
))
/external/chromium_org/third_party/skia/src/effects/gradients/
SkSweepGradient.cpp
67
const double
DENOM
= N - 1;
71
double arg = i /
DENOM
;
73
int iv = (int)round(v *
DENOM
* 2 / PI);
94
// divide numer/
denom
, with a bias of 6bits. Assumes numer <=
denom
95
// and
denom
!= 0. Since our table is 6bits big (+1), this is a nice fit.
96
// Same as (but faster than) SkFixedDiv(numer,
denom
) >> 10
98
//unsigned div_64(int numer, int
denom
);
100
static unsigned div_64(int numer, int
denom
) {
101
SkASSERT(numer <=
denom
);
[
all
...]
/external/skia/src/effects/gradients/
SkSweepGradient.cpp
67
const double
DENOM
= N - 1;
71
double arg = i /
DENOM
;
73
int iv = (int)round(v *
DENOM
* 2 / PI);
94
// divide numer/
denom
, with a bias of 6bits. Assumes numer <=
denom
95
// and
denom
!= 0. Since our table is 6bits big (+1), this is a nice fit.
96
// Same as (but faster than) SkFixedDiv(numer,
denom
) >> 10
98
//unsigned div_64(int numer, int
denom
);
100
static unsigned div_64(int numer, int
denom
) {
101
SkASSERT(numer <=
denom
);
[
all
...]
Completed in 787 milliseconds