OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:FIX
(Results
1 - 8
of
8
) sorted by null
/external/jpeg/
jdct.h
139
* Caution: some C compilers fail to reduce "
FIX
(constant)" at compile time,
143
#define
FIX
(x) ((INT32) ((x) * CONST_SCALE + 0.5))
jccolor.c
63
#define
FIX
(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
100
rgb_ycc_tab[i+R_Y_OFF] =
FIX
(0.29900) * i;
101
rgb_ycc_tab[i+G_Y_OFF] =
FIX
(0.58700) * i;
102
rgb_ycc_tab[i+B_Y_OFF] =
FIX
(0.11400) * i + ONE_HALF;
103
rgb_ycc_tab[i+R_CB_OFF] = (-
FIX
(0.16874)) * i;
104
rgb_ycc_tab[i+G_CB_OFF] = (-
FIX
(0.33126)) * i;
109
rgb_ycc_tab[i+B_CB_OFF] =
FIX
(0.50000) * i + CBCR_OFFSET + ONE_HALF-1;
111
rgb_ycc_tab[i+R_CR_OFF] =
FIX
(0.50000) * i + CBCR_OFFSET + ONE_HALF-1;
113
rgb_ycc_tab[i+G_CR_OFF] = (-
FIX
(0.41869)) * i;
114
rgb_ycc_tab[i+B_CR_OFF] = (-
FIX
(0.08131)) * i
[
all
...]
jdcolor.c
82
#define
FIX
(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
115
RIGHT_SHIFT(
FIX
(1.40200) * x + ONE_HALF, SCALEBITS);
118
RIGHT_SHIFT(
FIX
(1.77200) * x + ONE_HALF, SCALEBITS);
120
cconvert->Cr_g_tab[i] = (-
FIX
(0.71414)) * x;
123
cconvert->Cb_g_tab[i] = (-
FIX
(0.34414)) * x + ONE_HALF;
jdmerge.c
92
#define
FIX
(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
126
RIGHT_SHIFT(
FIX
(1.40200) * x + ONE_HALF, SCALEBITS);
129
RIGHT_SHIFT(
FIX
(1.77200) * x + ONE_HALF, SCALEBITS);
131
upsample->Cr_g_tab[i] = (-
FIX
(0.71414)) * x;
134
upsample->Cb_g_tab[i] = (-
FIX
(0.34414)) * x + ONE_HALF;
/external/qemu/distrib/jpeg-6b/
jdct.h
135
* Caution: some C compilers fail to reduce "
FIX
(constant)" at compile time,
139
#define
FIX
(x) ((INT32) ((x) * CONST_SCALE + 0.5))
jccolor.c
63
#define
FIX
(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
100
rgb_ycc_tab[i+R_Y_OFF] =
FIX
(0.29900) * i;
101
rgb_ycc_tab[i+G_Y_OFF] =
FIX
(0.58700) * i;
102
rgb_ycc_tab[i+B_Y_OFF] =
FIX
(0.11400) * i + ONE_HALF;
103
rgb_ycc_tab[i+R_CB_OFF] = (-
FIX
(0.16874)) * i;
104
rgb_ycc_tab[i+G_CB_OFF] = (-
FIX
(0.33126)) * i;
109
rgb_ycc_tab[i+B_CB_OFF] =
FIX
(0.50000) * i + CBCR_OFFSET + ONE_HALF-1;
111
rgb_ycc_tab[i+R_CR_OFF] =
FIX
(0.50000) * i + CBCR_OFFSET + ONE_HALF-1;
113
rgb_ycc_tab[i+G_CR_OFF] = (-
FIX
(0.41869)) * i;
114
rgb_ycc_tab[i+B_CR_OFF] = (-
FIX
(0.08131)) * i
[
all
...]
jdcolor.c
82
#define
FIX
(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
115
RIGHT_SHIFT(
FIX
(1.40200) * x + ONE_HALF, SCALEBITS);
118
RIGHT_SHIFT(
FIX
(1.77200) * x + ONE_HALF, SCALEBITS);
120
cconvert->Cr_g_tab[i] = (-
FIX
(0.71414)) * x;
123
cconvert->Cb_g_tab[i] = (-
FIX
(0.34414)) * x + ONE_HALF;
jdmerge.c
92
#define
FIX
(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
126
RIGHT_SHIFT(
FIX
(1.40200) * x + ONE_HALF, SCALEBITS);
129
RIGHT_SHIFT(
FIX
(1.77200) * x + ONE_HALF, SCALEBITS);
131
upsample->Cr_g_tab[i] = (-
FIX
(0.71414)) * x;
134
upsample->Cb_g_tab[i] = (-
FIX
(0.34414)) * x + ONE_HALF;
Completed in 2301 milliseconds