Home
last modified time | relevance | path

Searched refs:z4 (Results 1 – 25 of 127) sorted by relevance

123456

/third_party/ffmpeg/libavcodec/
Djrevdct.c217 int32_t z1, z2, z3, z4, z5; variable
330 z4 = d5 + d1;
331 z5 = MULTIPLY(z3 + z4, FIX_1_175875602);
340 z4 = MULTIPLY(-z4, FIX_0_390180644);
343 z4 += z5;
346 tmp1 += z2 + z4;
348 tmp3 += z1 + z4;
361 z4 = MULTIPLY(-d5, FIX_0_390180644);
364 z4 += z5;
367 tmp1 += z2 + z4;
[all …]
Djfdctint_template.c186 int z1, z2, z3, z4, z5; in FUNC() local
231 z4 = tmp5 + tmp7; in FUNC()
232 z5 = MULTIPLY(z3 + z4, FIX_1_175875602); /* sqrt(2) * c3 */ in FUNC()
241 z4 = MULTIPLY(z4, - FIX_0_390180644); /* sqrt(2) * (c5-c3) */ in FUNC()
244 z4 += z5; in FUNC()
247 dataptr[5] = (int16_t) DESCALE(tmp5 + z2 + z4, CONST_BITS-PASS1_BITS); in FUNC()
249 dataptr[1] = (int16_t) DESCALE(tmp7 + z1 + z4, CONST_BITS-PASS1_BITS); in FUNC()
264 int z1, z2, z3, z4, z5; in FUNC() local
312 z4 = tmp5 + tmp7; in FUNC()
313 z5 = MULTIPLY(z3 + z4, FIX_1_175875602); /* sqrt(2) * c3 */ in FUNC()
[all …]
Djfdctfst.c148 int z1, z2, z3, z4, z5, z11, z13; variable
188 z4 = MULTIPLY(tmp12, FIX_1_306562965) + z5; /* c2+c6 */
196 dataptr[1] = z11 + z4;
197 dataptr[7] = z11 - z4;
212 int z1, z2, z3, z4, z5, z11, z13; in ff_fdct_ifast() local
254 z4 = MULTIPLY(tmp12, FIX_1_306562965) + z5; /* c2+c6 */ in ff_fdct_ifast()
262 dataptr[DCTSIZE*1] = z11 + z4; in ff_fdct_ifast()
263 dataptr[DCTSIZE*7] = z11 - z4; in ff_fdct_ifast()
Dfaandct.c69 FLOAT z2, z4, z11, z13; in row_fdct() local
100 z4= tmp6*(A4-A5) + tmp4*A5; in row_fdct()
109 temp[1 + i]= z11 + z4; in row_fdct()
110 temp[7 + i]= z11 - z4; in row_fdct()
118 FLOAT z2, z4, z11, z13; in ff_faandct() local
154 z4= tmp6*(A4-A5) + tmp4*A5; in ff_faandct()
163 data[8*1 + i]= lrintf(postscale[8*1 + i] * (z11 + z4)); in ff_faandct()
164 data[8*7 + i]= lrintf(postscale[8*7 + i] * (z11 - z4)); in ff_faandct()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Djidctint.c179 JLONG z1, z2, z3, z4, z5; variable
262 z4 = tmp1 + tmp3;
263 z5 = MULTIPLY(z3 + z4, FIX_1_175875602); /* sqrt(2) * c3 */
272 z4 = MULTIPLY(z4, -FIX_0_390180644); /* sqrt(2) * ( c5-c3) */
275 z4 += z5;
278 tmp1 += z2 + z4;
280 tmp3 += z1 + z4;
364 z4 = tmp1 + tmp3;
365 z5 = MULTIPLY(z3 + z4, FIX_1_175875602); /* sqrt(2) * c3 */
374 z4 = MULTIPLY(z4, -FIX_0_390180644); /* sqrt(2) * ( c5-c3) */
[all …]
Djfdctint.c147 JLONG z1, z2, z3, z4, z5; variable
193 z4 = tmp5 + tmp7;
194 z5 = MULTIPLY(z3 + z4, FIX_1_175875602); /* sqrt(2) * c3 */
203 z4 = MULTIPLY(z4, -FIX_0_390180644); /* sqrt(2) * ( c5-c3) */
206 z4 += z5;
209 dataptr[5] = (DCTELEM)DESCALE(tmp5 + z2 + z4, CONST_BITS - PASS1_BITS);
211 dataptr[1] = (DCTELEM)DESCALE(tmp7 + z1 + z4, CONST_BITS - PASS1_BITS);
260 z4 = tmp5 + tmp7;
261 z5 = MULTIPLY(z3 + z4, FIX_1_175875602); /* sqrt(2) * c3 */
270 z4 = MULTIPLY(z4, -FIX_0_390180644); /* sqrt(2) * ( c5-c3) */
[all …]
Djfdctflt.c64 FAST_FLOAT z1, z2, z3, z4, z5, z11, z13; variable
104 z4 = ((FAST_FLOAT)1.306562965) * tmp12 + z5; /* c2+c6 */
112 dataptr[1] = z11 + z4;
113 dataptr[7] = z11 - z4;
154 z4 = ((FAST_FLOAT)1.306562965) * tmp12 + z5; /* c2+c6 */
162 dataptr[DCTSIZE * 1] = z11 + z4;
163 dataptr[DCTSIZE * 7] = z11 - z4;
Djfdctfst.c121 DCTELEM z1, z2, z3, z4, z5, z11, z13; variable
162 z4 = MULTIPLY(tmp12, FIX_1_306562965) + z5; /* c2+c6 */
170 dataptr[1] = z11 + z4;
171 dataptr[7] = z11 - z4;
212 z4 = MULTIPLY(tmp12, FIX_1_306562965) + z5; /* c2+c6 */
220 dataptr[DCTSIZE * 1] = z11 + z4;
221 dataptr[DCTSIZE * 7] = z11 - z4;
Djidctred.c126 JLONG z1, z2, z3, z4; variable
178 z4 = DEQUANTIZE(inptr[DCTSIZE * 1], quantptr[DCTSIZE * 1]);
183 MULTIPLY(z4, FIX_1_061594337); /* sqrt(2) * ( c5+c7) */
188 MULTIPLY(z4, FIX_2_562915447); /* sqrt(2) * (c1+c3) */
241 z4 = (JLONG)wsptr[1];
246 MULTIPLY(z4, FIX_1_061594337); /* sqrt(2) * ( c5+c7) */
251 MULTIPLY(z4, FIX_2_562915447); /* sqrt(2) * (c1+c3) */
/third_party/libjpeg-turbo/
Djidctint.c179 JLONG z1, z2, z3, z4, z5; variable
262 z4 = tmp1 + tmp3;
263 z5 = MULTIPLY(z3 + z4, FIX_1_175875602); /* sqrt(2) * c3 */
272 z4 = MULTIPLY(z4, -FIX_0_390180644); /* sqrt(2) * ( c5-c3) */
275 z4 += z5;
278 tmp1 += z2 + z4;
280 tmp3 += z1 + z4;
364 z4 = tmp1 + tmp3;
365 z5 = MULTIPLY(z3 + z4, FIX_1_175875602); /* sqrt(2) * c3 */
374 z4 = MULTIPLY(z4, -FIX_0_390180644); /* sqrt(2) * ( c5-c3) */
[all …]
Djfdctint.c147 JLONG z1, z2, z3, z4, z5; variable
193 z4 = tmp5 + tmp7;
194 z5 = MULTIPLY(z3 + z4, FIX_1_175875602); /* sqrt(2) * c3 */
203 z4 = MULTIPLY(z4, -FIX_0_390180644); /* sqrt(2) * ( c5-c3) */
206 z4 += z5;
209 dataptr[5] = (DCTELEM)DESCALE(tmp5 + z2 + z4, CONST_BITS - PASS1_BITS);
211 dataptr[1] = (DCTELEM)DESCALE(tmp7 + z1 + z4, CONST_BITS - PASS1_BITS);
260 z4 = tmp5 + tmp7;
261 z5 = MULTIPLY(z3 + z4, FIX_1_175875602); /* sqrt(2) * c3 */
270 z4 = MULTIPLY(z4, -FIX_0_390180644); /* sqrt(2) * ( c5-c3) */
[all …]
Djfdctflt.c64 FAST_FLOAT z1, z2, z3, z4, z5, z11, z13; variable
104 z4 = ((FAST_FLOAT)1.306562965) * tmp12 + z5; /* c2+c6 */
112 dataptr[1] = z11 + z4;
113 dataptr[7] = z11 - z4;
154 z4 = ((FAST_FLOAT)1.306562965) * tmp12 + z5; /* c2+c6 */
162 dataptr[DCTSIZE * 1] = z11 + z4;
163 dataptr[DCTSIZE * 7] = z11 - z4;
Djfdctfst.c121 DCTELEM z1, z2, z3, z4, z5, z11, z13; variable
162 z4 = MULTIPLY(tmp12, FIX_1_306562965) + z5; /* c2+c6 */
170 dataptr[1] = z11 + z4;
171 dataptr[7] = z11 - z4;
212 z4 = MULTIPLY(tmp12, FIX_1_306562965) + z5; /* c2+c6 */
220 dataptr[DCTSIZE * 1] = z11 + z4;
221 dataptr[DCTSIZE * 7] = z11 - z4;
Djidctred.c126 JLONG z1, z2, z3, z4; variable
178 z4 = DEQUANTIZE(inptr[DCTSIZE * 1], quantptr[DCTSIZE * 1]);
183 MULTIPLY(z4, FIX_1_061594337); /* sqrt(2) * ( c5+c7) */
188 MULTIPLY(z4, FIX_2_562915447); /* sqrt(2) * (c1+c3) */
241 z4 = (JLONG)wsptr[1];
246 MULTIPLY(z4, FIX_1_061594337); /* sqrt(2) * ( c5+c7) */
251 MULTIPLY(z4, FIX_2_562915447); /* sqrt(2) * (c1+c3) */
/third_party/skia/third_party/externals/libjpeg-turbo/
Djidctint.c179 JLONG z1, z2, z3, z4, z5; variable
262 z4 = tmp1 + tmp3;
263 z5 = MULTIPLY(z3 + z4, FIX_1_175875602); /* sqrt(2) * c3 */
272 z4 = MULTIPLY(z4, -FIX_0_390180644); /* sqrt(2) * ( c5-c3) */
275 z4 += z5;
278 tmp1 += z2 + z4;
280 tmp3 += z1 + z4;
364 z4 = tmp1 + tmp3;
365 z5 = MULTIPLY(z3 + z4, FIX_1_175875602); /* sqrt(2) * c3 */
374 z4 = MULTIPLY(z4, -FIX_0_390180644); /* sqrt(2) * ( c5-c3) */
[all …]
Djfdctint.c147 JLONG z1, z2, z3, z4, z5; variable
193 z4 = tmp5 + tmp7;
194 z5 = MULTIPLY(z3 + z4, FIX_1_175875602); /* sqrt(2) * c3 */
203 z4 = MULTIPLY(z4, -FIX_0_390180644); /* sqrt(2) * ( c5-c3) */
206 z4 += z5;
209 dataptr[5] = (DCTELEM)DESCALE(tmp5 + z2 + z4, CONST_BITS - PASS1_BITS);
211 dataptr[1] = (DCTELEM)DESCALE(tmp7 + z1 + z4, CONST_BITS - PASS1_BITS);
260 z4 = tmp5 + tmp7;
261 z5 = MULTIPLY(z3 + z4, FIX_1_175875602); /* sqrt(2) * c3 */
270 z4 = MULTIPLY(z4, -FIX_0_390180644); /* sqrt(2) * ( c5-c3) */
[all …]
Djfdctflt.c64 FAST_FLOAT z1, z2, z3, z4, z5, z11, z13; variable
104 z4 = ((FAST_FLOAT)1.306562965) * tmp12 + z5; /* c2+c6 */
112 dataptr[1] = z11 + z4;
113 dataptr[7] = z11 - z4;
154 z4 = ((FAST_FLOAT)1.306562965) * tmp12 + z5; /* c2+c6 */
162 dataptr[DCTSIZE * 1] = z11 + z4;
163 dataptr[DCTSIZE * 7] = z11 - z4;
Djfdctfst.c121 DCTELEM z1, z2, z3, z4, z5, z11, z13; variable
162 z4 = MULTIPLY(tmp12, FIX_1_306562965) + z5; /* c2+c6 */
170 dataptr[1] = z11 + z4;
171 dataptr[7] = z11 - z4;
212 z4 = MULTIPLY(tmp12, FIX_1_306562965) + z5; /* c2+c6 */
220 dataptr[DCTSIZE * 1] = z11 + z4;
221 dataptr[DCTSIZE * 7] = z11 - z4;
Djidctred.c126 JLONG z1, z2, z3, z4; variable
178 z4 = DEQUANTIZE(inptr[DCTSIZE * 1], quantptr[DCTSIZE * 1]);
183 MULTIPLY(z4, FIX_1_061594337); /* sqrt(2) * ( c5+c7) */
188 MULTIPLY(z4, FIX_2_562915447); /* sqrt(2) * (c1+c3) */
241 z4 = (JLONG)wsptr[1];
246 MULTIPLY(z4, FIX_1_061594337); /* sqrt(2) * ( c5+c7) */
251 MULTIPLY(z4, FIX_2_562915447); /* sqrt(2) * (c1+c3) */
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/
Djfdctfst-neon.c119 int16x8_t z4 = vqdmulhq_lane_s16(tmp12, consts, 3); in jsimd_fdct_ifast_neon() local
121 z4 = vaddq_s16(z4, z5); in jsimd_fdct_ifast_neon()
129 col1 = vaddq_s16(z11, z4); in jsimd_fdct_ifast_neon()
130 col7 = vsubq_s16(z11, z4); in jsimd_fdct_ifast_neon()
193 z4 = vqdmulhq_lane_s16(tmp12, consts, 3); in jsimd_fdct_ifast_neon()
195 z4 = vaddq_s16(z4, z5); in jsimd_fdct_ifast_neon()
203 row1 = vaddq_s16(z11, z4); in jsimd_fdct_ifast_neon()
204 row7 = vsubq_s16(z11, z4); in jsimd_fdct_ifast_neon()
Djidctint-neon.c407 int32x4_t z4 = vmull_lane_s16(z3_s16, consts.val[1], 3); in jsimd_idct_islow_pass1_regular() local
409 z4 = vmlal_lane_s16(z4, z4_s16, consts.val[2], 0); in jsimd_idct_islow_pass1_regular()
439 tmp1 = vaddq_s32(tmp1, z4); in jsimd_idct_islow_pass1_regular()
441 tmp3 = vaddq_s32(tmp3, z4); in jsimd_idct_islow_pass1_regular()
517 int32x4_t z4 = vmull_lane_s16(z3_s16, consts.val[1], 3); in jsimd_idct_islow_pass1_sparse() local
519 z4 = vmlal_lane_s16(z4, z4_s16, consts.val[2], 0); in jsimd_idct_islow_pass1_sparse()
522 tmp1 = vmlsl_lane_s16(z4, tmp2_s16, consts.val[0], 2); in jsimd_idct_islow_pass1_sparse()
524 tmp3 = vmlal_lane_s16(z4, tmp3_s16, consts.val[1], 0); in jsimd_idct_islow_pass1_sparse()
618 int32x4_t z4 = vmull_lane_s16(z3_s16, consts.val[1], 3); in jsimd_idct_islow_pass2_regular() local
620 z4 = vmlal_lane_s16(z4, z4_s16, consts.val[2], 0); in jsimd_idct_islow_pass2_regular()
[all …]
Djidctred-neon.c277 int16x4_t z4 = vmul_s16(vget_high_s16(row1), quant_row1); in jsimd_idct_4x4_neon() local
282 tmp0 = vmlal_lane_s16(tmp0, z4, consts.val[1], 1); in jsimd_idct_4x4_neon()
287 tmp2 = vmlal_lane_s16(tmp2, z4, consts.val[2], 1); in jsimd_idct_4x4_neon()
330 int16x4_t z4 = vmul_s16(vget_low_s16(row1), quant_row1); in jsimd_idct_4x4_neon() local
335 tmp0 = vmlal_lane_s16(tmp0, z4, consts.val[1], 1); in jsimd_idct_4x4_neon()
340 tmp2 = vmlal_lane_s16(tmp2, z4, consts.val[2], 1); in jsimd_idct_4x4_neon()
381 int16x8_t z4 = vmulq_s16(row1, quant_row1); in jsimd_idct_4x4_neon() local
386 tmp0_l = vmlal_lane_s16(tmp0_l, vget_low_s16(z4), consts.val[1], 1); in jsimd_idct_4x4_neon()
390 tmp0_h = vmlal_lane_s16(tmp0_h, vget_high_s16(z4), consts.val[1], 1); in jsimd_idct_4x4_neon()
395 tmp2_l = vmlal_lane_s16(tmp2_l, vget_low_s16(z4), consts.val[2], 1); in jsimd_idct_4x4_neon()
[all …]
/third_party/libjpeg-turbo/simd/arm/
Djfdctfst-neon.c119 int16x8_t z4 = vqdmulhq_lane_s16(tmp12, consts, 3); in jsimd_fdct_ifast_neon() local
121 z4 = vaddq_s16(z4, z5); in jsimd_fdct_ifast_neon()
129 col1 = vaddq_s16(z11, z4); in jsimd_fdct_ifast_neon()
130 col7 = vsubq_s16(z11, z4); in jsimd_fdct_ifast_neon()
193 z4 = vqdmulhq_lane_s16(tmp12, consts, 3); in jsimd_fdct_ifast_neon()
195 z4 = vaddq_s16(z4, z5); in jsimd_fdct_ifast_neon()
203 row1 = vaddq_s16(z11, z4); in jsimd_fdct_ifast_neon()
204 row7 = vsubq_s16(z11, z4); in jsimd_fdct_ifast_neon()
Djidctint-neon.c407 int32x4_t z4 = vmull_lane_s16(z3_s16, consts.val[1], 3); in jsimd_idct_islow_pass1_regular() local
409 z4 = vmlal_lane_s16(z4, z4_s16, consts.val[2], 0); in jsimd_idct_islow_pass1_regular()
439 tmp1 = vaddq_s32(tmp1, z4); in jsimd_idct_islow_pass1_regular()
441 tmp3 = vaddq_s32(tmp3, z4); in jsimd_idct_islow_pass1_regular()
517 int32x4_t z4 = vmull_lane_s16(z3_s16, consts.val[1], 3); in jsimd_idct_islow_pass1_sparse() local
519 z4 = vmlal_lane_s16(z4, z4_s16, consts.val[2], 0); in jsimd_idct_islow_pass1_sparse()
522 tmp1 = vmlsl_lane_s16(z4, tmp2_s16, consts.val[0], 2); in jsimd_idct_islow_pass1_sparse()
524 tmp3 = vmlal_lane_s16(z4, tmp3_s16, consts.val[1], 0); in jsimd_idct_islow_pass1_sparse()
618 int32x4_t z4 = vmull_lane_s16(z3_s16, consts.val[1], 3); in jsimd_idct_islow_pass2_regular() local
620 z4 = vmlal_lane_s16(z4, z4_s16, consts.val[2], 0); in jsimd_idct_islow_pass2_regular()
[all …]
Djidctred-neon.c277 int16x4_t z4 = vmul_s16(vget_high_s16(row1), quant_row1); in jsimd_idct_4x4_neon() local
282 tmp0 = vmlal_lane_s16(tmp0, z4, consts.val[1], 1); in jsimd_idct_4x4_neon()
287 tmp2 = vmlal_lane_s16(tmp2, z4, consts.val[2], 1); in jsimd_idct_4x4_neon()
330 int16x4_t z4 = vmul_s16(vget_low_s16(row1), quant_row1); in jsimd_idct_4x4_neon() local
335 tmp0 = vmlal_lane_s16(tmp0, z4, consts.val[1], 1); in jsimd_idct_4x4_neon()
340 tmp2 = vmlal_lane_s16(tmp2, z4, consts.val[2], 1); in jsimd_idct_4x4_neon()
381 int16x8_t z4 = vmulq_s16(row1, quant_row1); in jsimd_idct_4x4_neon() local
386 tmp0_l = vmlal_lane_s16(tmp0_l, vget_low_s16(z4), consts.val[1], 1); in jsimd_idct_4x4_neon()
390 tmp0_h = vmlal_lane_s16(tmp0_h, vget_high_s16(z4), consts.val[1], 1); in jsimd_idct_4x4_neon()
395 tmp2_l = vmlal_lane_s16(tmp2_l, vget_low_s16(z4), consts.val[2], 1); in jsimd_idct_4x4_neon()
[all …]

123456