OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:FIX
(Results
1 - 11
of
11
) 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
84
#define
FIX
(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
117
RIGHT_SHIFT(
FIX
(1.40200) * x + ONE_HALF, SCALEBITS);
120
RIGHT_SHIFT(
FIX
(1.77200) * x + ONE_HALF, SCALEBITS);
122
cconvert->Cr_g_tab[i] = (-
FIX
(0.71414)) * x;
125
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/bluetooth/bluedroid/embdrv/sbc/decoder/srce/
synthesis-dct8.c
84
#define
FIX
(x,bits) (((int)floor(0.5f+((x)*((float)(1<<bits)))))/((float)(1<<bits)))
86
#define FLOAT_MULT_DCT(K, sample) (
FIX
(K,20) * sample)
/external/chromium_org/third_party/libjpeg_turbo/
jdct.h
191
* Caution: some C compilers fail to reduce "
FIX
(constant)" at compile time,
195
#define
FIX
(x) ((INT32) ((x) * CONST_SCALE + 0.5))
jdmerge.c
79
#define
FIX
(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
214
RIGHT_SHIFT(
FIX
(1.40200) * x + ONE_HALF, SCALEBITS);
217
RIGHT_SHIFT(
FIX
(1.77200) * x + ONE_HALF, SCALEBITS);
219
upsample->Cr_g_tab[i] = (-
FIX
(0.71414)) * x;
222
upsample->Cb_g_tab[i] = (-
FIX
(0.34414)) * x + ONE_HALF;
jccolor.c
66
#define
FIX
(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
208
rgb_ycc_tab[i+R_Y_OFF] =
FIX
(0.29900) * i;
209
rgb_ycc_tab[i+G_Y_OFF] =
FIX
(0.58700) * i;
210
rgb_ycc_tab[i+B_Y_OFF] =
FIX
(0.11400) * i + ONE_HALF;
211
rgb_ycc_tab[i+R_CB_OFF] = (-
FIX
(0.16874)) * i;
212
rgb_ycc_tab[i+G_CB_OFF] = (-
FIX
(0.33126)) * i;
217
rgb_ycc_tab[i+B_CB_OFF] =
FIX
(0.50000) * i + CBCR_OFFSET + ONE_HALF-1;
219
rgb_ycc_tab[i+R_CR_OFF] =
FIX
(0.50000) * i + CBCR_OFFSET + ONE_HALF-1;
221
rgb_ycc_tab[i+G_CR_OFF] = (-
FIX
(0.41869)) * i;
222
rgb_ycc_tab[i+B_CR_OFF] = (-
FIX
(0.08131)) * i
[
all
...]
jdcolor.c
76
#define
FIX
(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
234
RIGHT_SHIFT(
FIX
(1.40200) * x + ONE_HALF, SCALEBITS);
237
RIGHT_SHIFT(
FIX
(1.77200) * x + ONE_HALF, SCALEBITS);
239
cconvert->Cr_g_tab[i] = (-
FIX
(0.71414)) * x;
242
cconvert->Cb_g_tab[i] = (-
FIX
(0.34414)) * x + ONE_HALF;
313
rgb_y_tab[i+R_Y_OFF] =
FIX
(0.29900) * i;
314
rgb_y_tab[i+G_Y_OFF] =
FIX
(0.58700) * i;
315
rgb_y_tab[i+B_Y_OFF] =
FIX
(0.11400) * i + ONE_HALF;
/external/chromium_org/media/base/simd/
convert_rgb_to_yuv_sse2.cc
19
#define
FIX
(x) ((x) * (1 << FIX_SHIFT))
22
#define INT16_FIX(x) static_cast<int16>(
FIX
(x))
/external/chromium_org/third_party/libwebp/utils/
quant_levels_dec.c
25
#define
FIX
16 //
fix
-point precision for averaging
52
int scale_; // normalization factor, in
FIX
bits precision
118
out[x] = (delta * scale) >>
FIX
;
122
out[x] = (delta * scale) >>
FIX
;
127
out[x] = (delta * scale) >>
FIX
;
239
p->scale_ = (1 << (
FIX
+ LFIX)) / (R * R); // normalization constant
Completed in 1291 milliseconds