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

  /external/libjpeg-turbo/
jdct.h 167 * Caution: some C compilers fail to reduce "FIX(constant)" at compile time,
171 #define FIX(x) ((JLONG) ((x) * CONST_SCALE + 0.5))
jccolor.c 68 #define FIX(x) ((JLONG) ((x) * (1L<<SCALEBITS) + 0.5))
210 rgb_ycc_tab[i+R_Y_OFF] = FIX(0.29900) * i;
211 rgb_ycc_tab[i+G_Y_OFF] = FIX(0.58700) * i;
212 rgb_ycc_tab[i+B_Y_OFF] = FIX(0.11400) * i + ONE_HALF;
213 rgb_ycc_tab[i+R_CB_OFF] = (-FIX(0.16874)) * i;
214 rgb_ycc_tab[i+G_CB_OFF] = (-FIX(0.33126)) * i;
219 rgb_ycc_tab[i+B_CB_OFF] = FIX(0.50000) * i + CBCR_OFFSET + ONE_HALF-1;
221 rgb_ycc_tab[i+R_CR_OFF] = FIX(0.50000) * i + CBCR_OFFSET + ONE_HALF-1;
223 rgb_ycc_tab[i+G_CR_OFF] = (-FIX(0.41869)) * i;
224 rgb_ycc_tab[i+B_CR_OFF] = (-FIX(0.08131)) * i
    [all...]
jdmerge.c 80 #define FIX(x) ((JLONG) ((x) * (1L<<SCALEBITS) + 0.5))
215 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS);
218 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS);
220 upsample->Cr_g_tab[i] = (- FIX(0.71414)) * x;
223 upsample->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF;
jdcolor.c 78 #define FIX(x) ((JLONG) ((x) * (1L<<SCALEBITS) + 0.5))
236 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS);
239 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS);
241 cconvert->Cr_g_tab[i] = (- FIX(0.71414)) * x;
244 cconvert->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF;
315 rgb_y_tab[i+R_Y_OFF] = FIX(0.29900) * i;
316 rgb_y_tab[i+G_Y_OFF] = FIX(0.58700) * i;
317 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 73 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
107 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS);
110 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS);
112 upsample->Cr_g_tab[i] = (- FIX(0.71414)) * x;
115 upsample->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF;
  /external/syslinux/com32/lib/jpeg/
bgr24.c 81 #define FIX(x) ((int)((x) * (1UL<<SCALEBITS) + 0.5))
98 add_r = FIX(1.40200) * cr + ONE_HALF;
99 add_g = - FIX(0.34414) * cb - FIX(0.71414) * cr + ONE_HALF;
100 add_b = FIX(1.77200) * cb + ONE_HALF;
117 #undef FIX
137 #define FIX(x) ((int)((x) * (1UL<<SCALEBITS) + 0.5))
153 add_r = FIX(1.40200) * cr + ONE_HALF;
154 add_g = - FIX(0.34414) * cb - FIX(0.71414) * cr + ONE_HALF
    [all...]
rgb24.c 81 #define FIX(x) ((int)((x) * (1UL<<SCALEBITS) + 0.5))
97 add_r = FIX(1.40200) * cr + ONE_HALF;
98 add_g = - FIX(0.34414) * cb - FIX(0.71414) * cr + ONE_HALF;
99 add_b = FIX(1.77200) * cb + ONE_HALF;
116 #undef FIX
135 #define FIX(x) ((int)((x) * (1UL<<SCALEBITS) + 0.5))
153 add_r = FIX(1.40200) * cr + ONE_HALF;
154 add_g = - FIX(0.34414) * cb - FIX(0.71414) * cr + ONE_HALF
    [all...]
bgra32.c 81 #define FIX(x) ((int)((x) * (1UL<<SCALEBITS) + 0.5))
98 add_r = FIX(1.40200) * cr + ONE_HALF;
99 add_g = - FIX(0.34414) * cb - FIX(0.71414) * cr + ONE_HALF;
100 add_b = FIX(1.77200) * cb + ONE_HALF;
119 #undef FIX
139 #define FIX(x) ((int)((x) * (1UL<<SCALEBITS) + 0.5))
154 add_r = FIX(1.40200) * cr + ONE_HALF;
155 add_g = - FIX(0.34414) * cb - FIX(0.71414) * cr + ONE_HALF
    [all...]
rgba32.c 81 #define FIX(x) ((int)((x) * (1UL<<SCALEBITS) + 0.5))
98 add_r = FIX(1.40200) * cr + ONE_HALF;
99 add_g = - FIX(0.34414) * cb - FIX(0.71414) * cr + ONE_HALF;
100 add_b = FIX(1.77200) * cb + ONE_HALF;
119 #undef FIX
138 #define FIX(x) ((int)((x) * (1UL<<SCALEBITS) + 0.5))
155 add_r = FIX(1.40200) * cr + ONE_HALF;
156 add_g = - FIX(0.34414) * cb - FIX(0.71414) * cr + ONE_HALF
    [all...]
  /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) \
91 #define FLOAT_MULT_DCT(K, sample) (FIX(K, 20) * sample)
  /external/webp/src/utils/
quant_levels_dec_utils.c 25 #define FIX 16 // fix-point precision for averaging
53 int scale_; // normalization factor, in FIX bits precision
119 out[x] = (delta * scale) >> FIX;
123 out[x] = (delta * scale) >> FIX;
128 out[x] = (delta * scale) >> FIX;
244 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...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
winddi.h 75 typedef LONG FIX;
76 typedef FIX *PFIX;
140 FIX x;
141 FIX y;
145 FIX xLeft;
146 FIX yTop;
147 FIX xRight;
148 FIX yBottom;
501 FIX fxMaxAscender;
502 FIX fxMaxDescender
    [all...]

Completed in 454 milliseconds