HomeSort by relevance Sort by last modified time
    Searched defs:FIX (Results 1 - 20 of 20) sorted by null

  /external/libjpeg-turbo/
jdct.h 166 * Caution: some C compilers fail to reduce "FIX(constant)" at compile time,
170 #define FIX(x) ((INT32) ((x) * CONST_SCALE + 0.5))
jccolor.c 67 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
209 rgb_ycc_tab[i+R_Y_OFF] = FIX(0.29900) * i;
210 rgb_ycc_tab[i+G_Y_OFF] = FIX(0.58700) * i;
211 rgb_ycc_tab[i+B_Y_OFF] = FIX(0.11400) * i + ONE_HALF;
212 rgb_ycc_tab[i+R_CB_OFF] = (-FIX(0.16874)) * i;
213 rgb_ycc_tab[i+G_CB_OFF] = (-FIX(0.33126)) * i;
218 rgb_ycc_tab[i+B_CB_OFF] = FIX(0.50000) * i + CBCR_OFFSET + ONE_HALF-1;
220 rgb_ycc_tab[i+R_CR_OFF] = FIX(0.50000) * i + CBCR_OFFSET + ONE_HALF-1;
222 rgb_ycc_tab[i+G_CR_OFF] = (-FIX(0.41869)) * i;
223 rgb_ycc_tab[i+B_CR_OFF] = (-FIX(0.08131)) * i
    [all...]
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;
jdcolor.c 77 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
235 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS);
238 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS);
240 cconvert->Cr_g_tab[i] = (- FIX(0.71414)) * x;
243 cconvert->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF;
314 rgb_y_tab[i+R_Y_OFF] = FIX(0.29900) * i;
315 rgb_y_tab[i+G_Y_OFF] = FIX(0.58700) * i;
316 rgb_y_tab[i+B_Y_OFF] = FIX(0.11400) * i + ONE_HALF;
  /external/pdfium/third_party/libjpeg/
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))
fpdfapi_jccolor.c 61 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
98 rgb_ycc_tab[i+R_Y_OFF] = FIX(0.29900) * i;
99 rgb_ycc_tab[i+G_Y_OFF] = FIX(0.58700) * i;
100 rgb_ycc_tab[i+B_Y_OFF] = FIX(0.11400) * i + ONE_HALF;
101 rgb_ycc_tab[i+R_CB_OFF] = (-FIX(0.16874)) * i;
102 rgb_ycc_tab[i+G_CB_OFF] = (-FIX(0.33126)) * i;
107 rgb_ycc_tab[i+B_CB_OFF] = FIX(0.50000) * i + CBCR_OFFSET + ONE_HALF-1;
109 rgb_ycc_tab[i+R_CR_OFF] = FIX(0.50000) * i + CBCR_OFFSET + ONE_HALF-1;
111 rgb_ycc_tab[i+G_CR_OFF] = (-FIX(0.41869)) * i;
112 rgb_ycc_tab[i+B_CR_OFF] = (-FIX(0.08131)) * i
    [all...]
fpdfapi_jdcolor.c 62 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
95 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS);
98 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS);
100 cconvert->Cr_g_tab[i] = (- FIX(0.71414)) * x;
103 cconvert->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF;
fpdfapi_jdmerge.c 77 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
111 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS);
114 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS);
116 upsample->Cr_g_tab[i] = (- FIX(0.71414)) * x;
119 upsample->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF;
  /external/opencv3/3rdparty/libtiff/
tif_color.c 176 #define FIX(x) ((int32)((x) * (1L<<SHIFT) + 0.5))
239 { float f1 = 2-2*LumaRed; int32 D1 = FIX(f1);
240 float f2 = LumaRed*f1/LumaGreen; int32 D2 = -FIX(f2);
241 float f3 = 2-2*LumaBlue; int32 D3 = FIX(f3);
242 float f4 = LumaBlue*f3/LumaGreen; int32 D4 = -FIX(f4);
278 #undef FIX
  /external/pdfium/third_party/libtiff/
tif_color.c 176 #define FIX(x) ((int32)((x) * (1L<<SHIFT) + 0.5))
239 { float f1 = 2-2*LumaRed; int32 D1 = FIX(f1);
240 float f2 = LumaRed*f1/LumaGreen; int32 D2 = -FIX(f2);
241 float f3 = 2-2*LumaBlue; int32 D3 = FIX(f3);
242 float f4 = LumaBlue*f3/LumaGreen; int32 D4 = -FIX(f4);
278 #undef FIX
  /system/bt/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/opencv3/3rdparty/libjpeg/
jccolor.c 62 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
99 rgb_ycc_tab[i+R_Y_OFF] = FIX(0.29900) * i;
100 rgb_ycc_tab[i+G_Y_OFF] = FIX(0.58700) * i;
101 rgb_ycc_tab[i+B_Y_OFF] = FIX(0.11400) * i + ONE_HALF;
102 rgb_ycc_tab[i+R_CB_OFF] = (-FIX(0.16874)) * i;
103 rgb_ycc_tab[i+G_CB_OFF] = (-FIX(0.33126)) * i;
108 rgb_ycc_tab[i+B_CB_OFF] = FIX(0.50000) * i + CBCR_OFFSET + ONE_HALF-1;
110 rgb_ycc_tab[i+R_CR_OFF] = FIX(0.50000) * i + CBCR_OFFSET + ONE_HALF-1;
112 rgb_ycc_tab[i+G_CR_OFF] = (-FIX(0.41869)) * i;
113 rgb_ycc_tab[i+B_CR_OFF] = (-FIX(0.08131)) * i
    [all...]
jdcolor.c 71 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
116 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS);
119 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS);
121 cconvert->Cr_g_tab[i] = (- FIX(0.71414)) * x;
124 cconvert->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF;
201 rgb_y_tab[i+R_Y_OFF] = FIX(0.29900) * i;
202 rgb_y_tab[i+G_Y_OFF] = FIX(0.58700) * i;
203 rgb_y_tab[i+B_Y_OFF] = FIX(0.11400) * i + ONE_HALF;
jdmerge.c 74 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
108 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS);
111 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS);
113 upsample->Cr_g_tab[i] = (- FIX(0.71414)) * x;
116 upsample->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF;
jdct.h 352 * Caution: some C compilers fail to reduce "FIX(constant)" at compile time,
356 #define FIX(x) ((INT32) ((x) * CONST_SCALE + 0.5))
  /external/webp/src/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
  /toolchain/binutils/binutils-2.25/include/opcode/
tic6x-opcode-table.h 35 #define FIX(id, val) RAN(id, val, val)
133 FIX1(FIX(op, 0)),
138 FIX3(FIX(op, 0x38), FIX(x, 0), FIX(src1, 0)),
143 FIX1(FIX(op, 0x4)),
149 FIX2(FIX(op, 0x2c), FIX(x, 0)),
155 FIX1(FIX(op, 0)),
161 FIX1(FIX(op, 0x3))
    [all...]
  /toolchain/binutils/binutils-2.25/bfd/
ecoff.c 583 #define FIX(off1, off2, type) \
591 FIX (cbLineOffset, line, unsigned char *);
592 FIX (cbDnOffset, external_dnr, void *);
593 FIX (cbPdOffset, external_pdr, void *);
594 FIX (cbSymOffset, external_sym, void *);
595 FIX (cbOptOffset, external_opt, void *);
596 FIX (cbAuxOffset, external_aux, union aux_ext *);
597 FIX (cbSsOffset, ss, char *);
598 FIX (cbSsExtOffset, ssext, char *);
599 FIX (cbFdOffset, external_fdr, void *)
    [all...]
  /external/libgdx/gdx/jni/gdx2d/
jpgd.cpp 4 // v1.04, May. 19, 2012: Code tweaks to fix VS2008 static code analysis warnings (all looked harmless)
55 #define FIX_0_298631336 ((int32)2446) /* FIX(0.298631336) */
56 #define FIX_0_390180644 ((int32)3196) /* FIX(0.390180644) */
57 #define FIX_0_541196100 ((int32)4433) /* FIX(0.541196100) */
58 #define FIX_0_765366865 ((int32)6270) /* FIX(0.765366865) */
59 #define FIX_0_899976223 ((int32)7373) /* FIX(0.899976223) */
60 #define FIX_1_175875602 ((int32)9633) /* FIX(1.175875602) */
61 #define FIX_1_501321110 ((int32)12299) /* FIX(1.501321110) */
62 #define FIX_1_847759065 ((int32)15137) /* FIX(1.847759065) */
63 #define FIX_1_961570560 ((int32)16069) /* FIX(1.961570560) *
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
winddi.h 71 typedef LONG FIX;
72 typedef FIX *PFIX;
136 FIX x;
137 FIX y;
141 FIX xLeft;
142 FIX yTop;
143 FIX xRight;
144 FIX yBottom;
497 FIX fxMaxAscender;
498 FIX fxMaxDescender
    [all...]

Completed in 1581 milliseconds