/third_party/ffmpeg/libavcodec/ |
H A D | jrevdct.c | 170 #define MULTIPLY(var,const) (((int16_t) (var)) * ((int16_t) (const))) macro 173 #define MULTIPLY(var,const) (((int16_t) (var)) * ((int32_t) (const))) macro 177 #ifndef MULTIPLY /* default definition */ 178 #define MULTIPLY(var,const) ((var) * (const)) macro 276 z1 = MULTIPLY(d2 + d6, FIX_0_541196100); in ff_j_rev_dct() 277 tmp2 = z1 + MULTIPLY(-d6, FIX_1_847759065); in ff_j_rev_dct() 278 tmp3 = z1 + MULTIPLY(d2, FIX_0_765366865); in ff_j_rev_dct() 289 tmp2 = MULTIPLY(-d6, FIX_1_306562965); in ff_j_rev_dct() 290 tmp3 = MULTIPLY(d6, FIX_0_541196100); in ff_j_rev_dct() 303 tmp2 = MULTIPLY(d in ff_j_rev_dct() [all...] |
H A D | jfdctint_template.c | 176 #define MULTIPLY(var,const) MULTIPLY16C16(var,const) macro 178 #define MULTIPLY(var,const) ((var) * (const)) macro 217 z1 = MULTIPLY(tmp12 + tmp13, FIX_0_541196100); in row_fdct() 218 dataptr[2] = (int16_t) DESCALE(z1 + MULTIPLY(tmp13, FIX_0_765366865), in row_fdct() 220 dataptr[6] = (int16_t) DESCALE(z1 + MULTIPLY(tmp12, - FIX_1_847759065), in row_fdct() 232 z5 = MULTIPLY(z3 + z4, FIX_1_175875602); /* sqrt(2) * c3 */ in row_fdct() 234 tmp4 = MULTIPLY(tmp4, FIX_0_298631336); /* sqrt(2) * (-c1+c3+c5-c7) */ in row_fdct() 235 tmp5 = MULTIPLY(tmp5, FIX_2_053119869); /* sqrt(2) * ( c1+c3-c5+c7) */ in row_fdct() 236 tmp6 = MULTIPLY(tmp6, FIX_3_072711026); /* sqrt(2) * ( c1+c3+c5-c7) */ in row_fdct() 237 tmp7 = MULTIPLY(tmp in row_fdct() [all...] |
H A D | jfdctfst.c | 142 #define MULTIPLY(var,const) ((int16_t) DESCALE((var) * (const), CONST_BITS)) macro 174 z1 = MULTIPLY(tmp12 + tmp13, FIX_0_707106781); /* c4 */ in row_fdct() 185 z5 = MULTIPLY(tmp10 - tmp12, FIX_0_382683433); /* c6 */ in row_fdct() 186 z2 = MULTIPLY(tmp10, FIX_0_541196100) + z5; /* c2-c6 */ in row_fdct() 187 z4 = MULTIPLY(tmp12, FIX_1_306562965) + z5; /* c2+c6 */ in row_fdct() 188 z3 = MULTIPLY(tmp11, FIX_0_707106781); /* c4 */ in row_fdct() 240 z1 = MULTIPLY(tmp12 + tmp13, FIX_0_707106781); /* c4 */ in ff_fdct_ifast() 251 z5 = MULTIPLY(tmp10 - tmp12, FIX_0_382683433); /* c6 */ in ff_fdct_ifast() 252 z2 = MULTIPLY(tmp10, FIX_0_541196100) + z5; /* c2-c6 */ in ff_fdct_ifast() 253 z4 = MULTIPLY(tmp1 in ff_fdct_ifast() [all...] |
H A D | 4xm.c | 164 #define MULTIPLY(var, const) ((int)((var) * (unsigned)(const)) >> 16) macro 179 tmp12 = MULTIPLY(block[8 * 2 + i] - block[8 * 6 + i], FIX_1_414213562) - tmp13; in idct() 192 tmp11 = MULTIPLY(z11 - z13, FIX_1_414213562); in idct() 194 z5 = MULTIPLY(z10 + z12, FIX_1_847759065); in idct() 195 tmp10 = MULTIPLY(z12, FIX_1_082392200) - z5; in idct() 196 tmp12 = MULTIPLY(z10, -FIX_2_613125930) + z5; in idct() 217 tmp12 = MULTIPLY(temp[2 + i] - temp[6 + i], FIX_1_414213562) - tmp13; in idct() 230 tmp11 = MULTIPLY(z11 - z13, FIX_1_414213562); in idct() 232 z5 = MULTIPLY(z10 + z12, FIX_1_847759065); in idct() 233 tmp10 = MULTIPLY(z1 in idct() [all...] |
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | jidctint.c | 154 #define MULTIPLY(var, const) MULTIPLY16C16(var, const) macro 156 #define MULTIPLY(var, const) ((var) * (const)) 235 z1 = MULTIPLY(z2 + z3, FIX_0_541196100); in jpeg_idct_islow() 236 tmp2 = z1 + MULTIPLY(z3, -FIX_1_847759065); in jpeg_idct_islow() 237 tmp3 = z1 + MULTIPLY(z2, FIX_0_765366865); in jpeg_idct_islow() 263 z5 = MULTIPLY(z3 + z4, FIX_1_175875602); /* sqrt(2) * c3 */ in jpeg_idct_islow() 265 tmp0 = MULTIPLY(tmp0, FIX_0_298631336); /* sqrt(2) * (-c1+c3+c5-c7) */ in jpeg_idct_islow() 266 tmp1 = MULTIPLY(tmp1, FIX_2_053119869); /* sqrt(2) * ( c1+c3-c5+c7) */ in jpeg_idct_islow() 267 tmp2 = MULTIPLY(tmp2, FIX_3_072711026); /* sqrt(2) * ( c1+c3+c5-c7) */ in jpeg_idct_islow() 268 tmp3 = MULTIPLY(tmp in jpeg_idct_islow() [all...] |
H A D | jfdctint.c | 132 #define MULTIPLY(var, const) MULTIPLY16C16(var, const) macro 134 #define MULTIPLY(var, const) ((var) * (const)) 179 z1 = MULTIPLY(tmp12 + tmp13, FIX_0_541196100); in jpeg_fdct_islow() 180 dataptr[2] = (DCTELEM)DESCALE(z1 + MULTIPLY(tmp13, FIX_0_765366865), in jpeg_fdct_islow() 182 dataptr[6] = (DCTELEM)DESCALE(z1 + MULTIPLY(tmp12, -FIX_1_847759065), in jpeg_fdct_islow() 194 z5 = MULTIPLY(z3 + z4, FIX_1_175875602); /* sqrt(2) * c3 */ in jpeg_fdct_islow() 196 tmp4 = MULTIPLY(tmp4, FIX_0_298631336); /* sqrt(2) * (-c1+c3+c5-c7) */ in jpeg_fdct_islow() 197 tmp5 = MULTIPLY(tmp5, FIX_2_053119869); /* sqrt(2) * ( c1+c3-c5+c7) */ in jpeg_fdct_islow() 198 tmp6 = MULTIPLY(tmp6, FIX_3_072711026); /* sqrt(2) * ( c1+c3+c5-c7) */ in jpeg_fdct_islow() 199 tmp7 = MULTIPLY(tmp in jpeg_fdct_islow() [all...] |
H A D | jidctred.c | 101 #define MULTIPLY(var, const) MULTIPLY16C16(var, const) macro 103 #define MULTIPLY(var, const) ((var) * (const)) 168 tmp2 = MULTIPLY(z2, FIX_1_847759065) + MULTIPLY(z3, -FIX_0_765366865); in jpeg_idct_4x4() 180 tmp0 = MULTIPLY(z1, -FIX_0_211164243) + /* sqrt(2) * ( c3-c1) */ in jpeg_idct_4x4() 181 MULTIPLY(z2, FIX_1_451774981) + /* sqrt(2) * ( c3+c7) */ in jpeg_idct_4x4() 182 MULTIPLY(z3, -FIX_2_172734803) + /* sqrt(2) * (-c1-c5) */ in jpeg_idct_4x4() 183 MULTIPLY(z4, FIX_1_061594337); /* sqrt(2) * ( c5+c7) */ in jpeg_idct_4x4() 185 tmp2 = MULTIPLY(z1, -FIX_0_509795579) + /* sqrt(2) * (c7-c5) */ in jpeg_idct_4x4() 186 MULTIPLY(z in jpeg_idct_4x4() [all...] |
H A D | jfdctfst.c | 109 #define MULTIPLY(var, const) ((DCTELEM)DESCALE((var) * (const), CONST_BITS)) macro 149 z1 = MULTIPLY(tmp12 + tmp13, FIX_0_707106781); /* c4 */ in jpeg_fdct_ifast() 160 z5 = MULTIPLY(tmp10 - tmp12, FIX_0_382683433); /* c6 */ in jpeg_fdct_ifast() 161 z2 = MULTIPLY(tmp10, FIX_0_541196100) + z5; /* c2-c6 */ in jpeg_fdct_ifast() 162 z4 = MULTIPLY(tmp12, FIX_1_306562965) + z5; /* c2+c6 */ in jpeg_fdct_ifast() 163 z3 = MULTIPLY(tmp11, FIX_0_707106781); /* c4 */ in jpeg_fdct_ifast() 199 z1 = MULTIPLY(tmp12 + tmp13, FIX_0_707106781); /* c4 */ in jpeg_fdct_ifast() 210 z5 = MULTIPLY(tmp10 - tmp12, FIX_0_382683433); /* c6 */ in jpeg_fdct_ifast() 211 z2 = MULTIPLY(tmp10, FIX_0_541196100) + z5; /* c2-c6 */ in jpeg_fdct_ifast() 212 z4 = MULTIPLY(tmp1 in jpeg_fdct_ifast() [all...] |
H A D | jidctfst.c | 122 #define MULTIPLY(var, const) ((DCTELEM)DESCALE((var) * (const), CONST_BITS)) macro 236 tmp12 = MULTIPLY(tmp1 - tmp3, FIX_1_414213562) - tmp13; /* 2*c4 */ in jpeg_idct_ifast() 256 tmp11 = MULTIPLY(z11 - z13, FIX_1_414213562); /* 2*c4 */ in jpeg_idct_ifast() 258 z5 = MULTIPLY(z10 + z12, FIX_1_847759065); /* 2*c2 */ in jpeg_idct_ifast() 259 tmp10 = MULTIPLY(z12, FIX_1_082392200) - z5; /* 2*(c2-c6) */ in jpeg_idct_ifast() 260 tmp12 = MULTIPLY(z10, -FIX_2_613125930) + z5; /* -2*(c2+c6) */ in jpeg_idct_ifast() 323 MULTIPLY((DCTELEM)wsptr[2] - (DCTELEM)wsptr[6], FIX_1_414213562) - tmp13; in jpeg_idct_ifast() 338 tmp11 = MULTIPLY(z11 - z13, FIX_1_414213562); /* 2*c4 */ in jpeg_idct_ifast() 340 z5 = MULTIPLY(z10 + z12, FIX_1_847759065); /* 2*c2 */ in jpeg_idct_ifast() 341 tmp10 = MULTIPLY(z1 in jpeg_idct_ifast() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | blend_modes.c | 51 #undef MULTIPLY macro 62 #define MULTIPLY(x, a, b) ((x) * (((a) * (b)) / MAX)) macro 72 #define MULTIPLY(x, a, b) ((x) * (((a) * (b)) / 1.0)) macro 120 fn(multiply, MULTIPLY(1, A, B)) 127 fn(overlay, (A < HALF) ? MULTIPLY(2, A, B) : SCREEN(2, A, B)) 128 fn(hardlight, (B < HALF) ? MULTIPLY(2, B, A) : SCREEN(2, B, A))
|
H A D | vf_blend_vulkan.c | 74 DEFINE_BLEND_MODE(MULTIPLY, FN(1.0f * A * B / 1.0f)) 85 CASE(MULTIPLY) in init_blend_func()
|
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/ |
H A D | BlendMode.java | 35 MULTIPLY(24), enum constant
|
/third_party/ffmpeg/libavfilter/x86/ |
H A D | vf_blend.asm | 117 %macro MULTIPLY 3 ; a, b, pw_1 128 MULTIPLY %1, %2, %3 147 MULTIPLY m0, m2, m5 148 MULTIPLY m1, m3, m5
|
/third_party/skia/third_party/externals/libjpeg-turbo/simd/i386/ |
H A D | jfdctflt-3dn.asm | 164 pfmul mm2, [GOTOFF(ebx,PD_0_541)] ; mm2=MULTIPLY(tmp10,FIX_0_54119610) 165 pfmul mm0, [GOTOFF(ebx,PD_1_306)] ; mm0=MULTIPLY(tmp12,FIX_1_30656296) 279 pfmul mm2, [GOTOFF(ebx,PD_0_541)] ; mm2=MULTIPLY(tmp10,FIX_0_54119610) 280 pfmul mm0, [GOTOFF(ebx,PD_1_306)] ; mm0=MULTIPLY(tmp12,FIX_1_30656296)
|
H A D | jfdctflt-sse.asm | 196 mulps xmm1, [GOTOFF(ebx,PD_0_541)] ; xmm1=MULTIPLY(tmp10,FIX_0_541196) 197 mulps xmm6, [GOTOFF(ebx,PD_1_306)] ; xmm6=MULTIPLY(tmp12,FIX_1_306562) 332 mulps xmm1, [GOTOFF(ebx,PD_0_541)] ; xmm1=MULTIPLY(tmp10,FIX_0_541196) 333 mulps xmm6, [GOTOFF(ebx,PD_1_306)] ; xmm6=MULTIPLY(tmp12,FIX_1_306562)
|
H A D | jfdctfst-mmx.asm | 215 pmulhw mm1, [GOTOFF(ebx,PW_F0541)] ; mm1=MULTIPLY(tmp10,FIX_0_54119610) 216 pmulhw mm6, [GOTOFF(ebx,PW_F1306)] ; mm6=MULTIPLY(tmp12,FIX_1_30656296) 356 pmulhw mm1, [GOTOFF(ebx,PW_F0541)] ; mm1=MULTIPLY(tmp10,FIX_0_54119610) 357 pmulhw mm6, [GOTOFF(ebx,PW_F1306)] ; mm6=MULTIPLY(tmp12,FIX_1_30656296)
|
H A D | jfdctfst-sse2.asm | 229 pmulhw xmm4, [GOTOFF(ebx,PW_F0541)] ; xmm4=MULTIPLY(tmp10,FIX_0_541196) 230 pmulhw xmm0, [GOTOFF(ebx,PW_F1306)] ; xmm0=MULTIPLY(tmp12,FIX_1_306562) 370 pmulhw xmm4, [GOTOFF(ebx,PW_F0541)] ; xmm4=MULTIPLY(tmp10,FIX_0_541196) 371 pmulhw xmm1, [GOTOFF(ebx,PW_F1306)] ; xmm1=MULTIPLY(tmp12,FIX_1_306562)
|
/third_party/skia/third_party/externals/libjpeg-turbo/simd/x86_64/ |
H A D | jfdctflt-sse.asm | 187 mulps xmm1, [rel PD_0_541] ; xmm1=MULTIPLY(tmp10,FIX_0_541196) 188 mulps xmm6, [rel PD_1_306] ; xmm6=MULTIPLY(tmp12,FIX_1_306562) 322 mulps xmm1, [rel PD_0_541] ; xmm1=MULTIPLY(tmp10,FIX_0_541196) 323 mulps xmm6, [rel PD_1_306] ; xmm6=MULTIPLY(tmp12,FIX_1_306562)
|
H A D | jfdctfst-sse2.asm | 221 pmulhw xmm4, [rel PW_F0541] ; xmm4=MULTIPLY(tmp10,FIX_0_541196) 222 pmulhw xmm0, [rel PW_F1306] ; xmm0=MULTIPLY(tmp12,FIX_1_306562) 360 pmulhw xmm4, [rel PW_F0541] ; xmm4=MULTIPLY(tmp10,FIX_0_541196) 361 pmulhw xmm1, [rel PW_F1306] ; xmm1=MULTIPLY(tmp12,FIX_1_306562)
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcExtTokens.cpp | 141 MULTIPLY = GL_MULTIPLY; in init() 267 MULTIPLY = GL_MULTIPLY_KHR; in init()
|
H A D | glcExtTokens.hpp | 143 glw::GLenum MULTIPLY; member
|