s2 39 libavcodec/adx.h int s1,s2; s2 72 libavcodec/adxdec.c int s0, s1, s2, d; s2 81 libavcodec/adxdec.c s2 = prev->s2; s2 84 libavcodec/adxdec.c s0 = ((d << COEFF_BITS) * scale + c->coeff[0] * s1 + c->coeff[1] * s2) >> COEFF_BITS; s2 85 libavcodec/adxdec.c s2 = s1; s2 90 libavcodec/adxdec.c prev->s2 = s2; s2 43 libavcodec/adxenc.c int s0, s1, s2, d; s2 48 libavcodec/adxenc.c s2 = prev->s2; s2 51 libavcodec/adxenc.c d = ((s0 << COEFF_BITS) - c->coeff[0] * s1 - c->coeff[1] * s2) >> COEFF_BITS; s2 56 libavcodec/adxenc.c s2 = s1; s2 62 libavcodec/adxenc.c prev->s2 = s2; s2 80 libavcodec/adxenc.c s2 = prev->s2; s2 82 libavcodec/adxenc.c d = ((wav[i] << COEFF_BITS) - c->coeff[0] * s1 - c->coeff[1] * s2) >> COEFF_BITS; s2 88 libavcodec/adxenc.c s0 = ((d << COEFF_BITS) * scale + c->coeff[0] * s1 + c->coeff[1] * s2) >> COEFF_BITS; s2 89 libavcodec/adxenc.c s2 = s1; s2 93 libavcodec/adxenc.c prev->s2 = s2; s2 42 libavcodec/alpha/pixblockdsp_alpha.c static void diff_pixels_mvi(int16_t *block, const uint8_t *s1, const uint8_t *s2, s2 54 libavcodec/alpha/pixblockdsp_alpha.c y = ldq(s2); s2 65 libavcodec/alpha/pixblockdsp_alpha.c s2 += stride; s2 29 libavcodec/arm/pixblockdsp_init_arm.c const uint8_t *s2, int stride); s2 149 libavcodec/atrac.c float s2 = 0.0; s2 153 libavcodec/atrac.c s2 += p1[i+1] * qmf_window[i+1]; s2 156 libavcodec/atrac.c pOut[0] = s2; s2 474 libavcodec/atrac3.c int s2 = curr_code[i]; s2 477 libavcodec/atrac3.c if (s1 != s2) { s2 481 libavcodec/atrac3.c mc2_l = matrix_coeffs[s2 * 2 ]; s2 482 libavcodec/atrac3.c mc2_r = matrix_coeffs[s2 * 2 + 1]; s2 496 libavcodec/atrac3.c switch (s2) { s2 36 libavcodec/binkdsp.c #define IDCT_TRANSFORM(dest,s0,s1,s2,s3,s4,s5,s6,s7,d0,d1,d2,d3,d4,d5,d6,d7,munge,src) {\ s2 39 libavcodec/binkdsp.c const int a2 = (src)[s2] + (src)[s6]; \ s2 40 libavcodec/binkdsp.c const int a3 = (A1*((src)[s2] - (src)[s6])) >> 11; \ s2 663 libavcodec/dcadec.c #define MIX_REAR2(samples, s1, s2, rs, coef) \ s2 664 libavcodec/dcadec.c samples[0][i] += samples[s1][i] * coef[rs][0] + samples[s2][i] * coef[rs + 1][0]; \ s2 665 libavcodec/dcadec.c samples[1][i] += samples[s1][i] * coef[rs][1] + samples[s2][i] * coef[rs + 1][1]; s2 59 libavcodec/diracdsp.c const uint8_t *s2 = src[2]; \ s2 65 libavcodec/diracdsp.c OP(dst[x], (s0[x]*w[0] + s1[x]*w[1] + s2[x]*w[2] + s3[x]*w[3] + 8) >> 4); \ s2 71 libavcodec/diracdsp.c s2 += stride; \ s2 36 libavcodec/eaidct.c #define IDCT_TRANSFORM(dest,s0,s1,s2,s3,s4,s5,s6,s7,d0,d1,d2,d3,d4,d5,d6,d7,munge,src) {\ s2 41 libavcodec/eaidct.c const int a2 = (src)[s2] + (src)[s6]; \ s2 42 libavcodec/eaidct.c const int a6 = (ASQRT*((src)[s2] - (src)[s6]))>>8; \ s2 88 libavcodec/hqx.c int s0, s1, s2, s3, s4, s5, s6, s7; s2 92 libavcodec/hqx.c s2 = (int) blk[2 * 8] * quant[2 * 8]; s2 109 libavcodec/hqx.c tA = (s2 * 8867 - s6 * 21407) >> 14; s2 110 libavcodec/hqx.c tB = (s6 * 8867 + s2 * 21407) >> 14; s2 97 libavcodec/imgconvert.c const uint8_t *s1, *s2; s2 102 libavcodec/imgconvert.c s2 = s1 + src_wrap; s2 105 libavcodec/imgconvert.c d[0] = (s1[0] + s1[1] + s2[0] + s2[1] + 2) >> 2; s2 106 libavcodec/imgconvert.c d[1] = (s1[2] + s1[3] + s2[2] + s2[3] + 2) >> 2; s2 107 libavcodec/imgconvert.c d[2] = (s1[4] + s1[5] + s2[4] + s2[5] + 2) >> 2; s2 108 libavcodec/imgconvert.c d[3] = (s1[6] + s1[7] + s2[6] + s2[7] + 2) >> 2; s2 110 libavcodec/imgconvert.c s2 += 8; s2 114 libavcodec/imgconvert.c d[0] = (s1[0] + s1[1] + s2[0] + s2[1] + 2) >> 2; s2 116 libavcodec/imgconvert.c s2 += 2; s2 130 libavcodec/imgconvert.c const uint8_t *s1, *s2, *s3, *s4; s2 135 libavcodec/imgconvert.c s2 = s1 + src_wrap; s2 136 libavcodec/imgconvert.c s3 = s2 + src_wrap; s2 141 libavcodec/imgconvert.c s2[0] + s2[1] + s2[2] + s2[3] + s2 145 libavcodec/imgconvert.c s2 += 4; s2 237 libavcodec/ivi_dsp.c #define IVI_HAAR_BFLY(s1, s2, o1, o2, t) \ s2 238 libavcodec/ivi_dsp.c t = ((s1) - (s2)) >> 1;\ s2 239 libavcodec/ivi_dsp.c o1 = ((s1) + (s2)) >> 1;\ s2 243 libavcodec/ivi_dsp.c #define INV_HAAR8(s1, s5, s3, s7, s2, s4, s6, s8,\ s2 248 libavcodec/ivi_dsp.c IVI_HAAR_BFLY(t5, s7, t5, t7, t0); IVI_HAAR_BFLY(t1, s2, t1, t2, t0);\ s2 487 libavcodec/ivi_dsp.c #define IVI_SLANT_BFLY(s1, s2, o1, o2, t) \ s2 488 libavcodec/ivi_dsp.c t = (s1) - (s2);\ s2 489 libavcodec/ivi_dsp.c o1 = (s1) + (s2);\ s2 493 libavcodec/ivi_dsp.c #define IVI_IREFLECT(s1, s2, o1, o2, t) \ s2 494 libavcodec/ivi_dsp.c t = (((s1) + (s2)*2 + 2) >> 2) + (s1);\ s2 495 libavcodec/ivi_dsp.c o2 = (((s1)*2 - (s2) + 2) >> 2) - (s2);\ s2 499 libavcodec/ivi_dsp.c #define IVI_SLANT_PART4(s1, s2, o1, o2, t) \ s2 500 libavcodec/ivi_dsp.c t = (s2) + (((s1)*4 - (s2) + 4) >> 3);\ s2 501 libavcodec/ivi_dsp.c o2 = (s1) + ((-(s1) - (s2)*4 + 4) >> 3);\ s2 505 libavcodec/ivi_dsp.c #define IVI_INV_SLANT8(s1, s4, s8, s5, s2, s6, s3, s7,\ s2 510 libavcodec/ivi_dsp.c IVI_SLANT_BFLY(s1, t5, t1, t5, t0); IVI_SLANT_BFLY(s2, s6, t2, t6, t0);\ s2 527 libavcodec/ivi_dsp.c #define IVI_INV_SLANT4(s1, s4, s2, s3, d1, d2, d3, d4, t0, t1, t2, t3, t4) {\ s2 528 libavcodec/ivi_dsp.c IVI_SLANT_BFLY(s1, s2, t1, t2, t0); IVI_IREFLECT (s4, s3, t4, t3, t0);\ s2 314 libavcodec/me_cmp.c static int nsse16_c(MpegEncContext *c, uint8_t *s1, uint8_t *s2, s2 321 libavcodec/me_cmp.c score1 += (s1[x] - s2[x]) * (s1[x] - s2[x]); s2 326 libavcodec/me_cmp.c FFABS(s2[x] - s2[x + stride] - s2 327 libavcodec/me_cmp.c s2[x + 1] + s2[x + stride + 1]); s2 330 libavcodec/me_cmp.c s2 += stride; s2 339 libavcodec/me_cmp.c static int nsse8_c(MpegEncContext *c, uint8_t *s1, uint8_t *s2, s2 346 libavcodec/me_cmp.c score1 += (s1[x] - s2[x]) * (s1[x] - s2[x]); s2 351 libavcodec/me_cmp.c FFABS(s2[x] - s2[x + stride] - s2 352 libavcodec/me_cmp.c s2[x + 1] + s2[x + stride + 1]); s2 355 libavcodec/me_cmp.c s2 += stride; s2 821 libavcodec/me_cmp.c uint8_t *s1, uint8_t *s2, \ s2 828 libavcodec/me_cmp.c score += FFABS(s1[x] - s2[x] - s1[x + stride] + s2[x + stride]); \ s2 830 libavcodec/me_cmp.c s2 += stride; \ s2 862 libavcodec/me_cmp.c static int vsse ## size ## _c(MpegEncContext *c, uint8_t *s1, uint8_t *s2, \ s2 869 libavcodec/me_cmp.c score += SQ(s1[x] - s2[x] - s1[x + stride] + s2[x + stride]); \ s2 871 libavcodec/me_cmp.c s2 += stride; \ s2 353 libavcodec/mips/mpegaudiodsp_mips_fixed.c int t0, t1, t2, t3, s0, s1, s2, s3; s2 874 libavcodec/mips/mpegaudiodsp_mips_fixed.c [s0] "=&r" (s0), [s2] "=&r" (s2), [temp_reg1] "=&r" (temp_reg1), s2 792 libavcodec/mips/mpegaudiodsp_mips_float.c float t0, t1, t2, t3, s0, s1, s2, s3; s2 1220 libavcodec/mips/mpegaudiodsp_mips_float.c [s2] "=&f" (s2), [s3] "=&f" (s3) s2 1121 libavcodec/mpeg12dec.c MpegEncContext *s2 = &s->mpeg_enc_ctx; s2 1123 libavcodec/mpeg12dec.c ff_mpv_decode_defaults(s2); s2 1128 libavcodec/mpeg12dec.c ff_mpv_decode_init(s2, avctx); s2 1134 libavcodec/mpeg12dec.c ff_mpv_idct_init(s2); s2 2405 libavcodec/mpeg12dec.c MpegEncContext *s2 = &s->mpeg_enc_ctx; s2 2425 libavcodec/mpeg12dec.c &s2->thread_context[0], NULL, s2 2428 libavcodec/mpeg12dec.c s2->er.error_count += s2->thread_context[i]->er.error_count; s2 2433 libavcodec/mpeg12dec.c ff_vdpau_mpeg_picture_complete(s2, buf, buf_size, s->slice_count); s2 2440 libavcodec/mpeg12dec.c if (s2->last_picture_ptr || s2->low_delay) s2 2444 libavcodec/mpeg12dec.c s2->pict_type = 0; s2 2446 libavcodec/mpeg12dec.c if (avctx->err_recognition & AV_EF_EXPLODE && s2->er.error_count) s2 2449 libavcodec/mpeg12dec.c return FFMAX(0, buf_ptr - buf - s2->parse_context.last_index); s2 2474 libavcodec/mpeg12dec.c if (picture_start_code_seen && s2->picture_structure == PICT_FRAME) { s2 2482 libavcodec/mpeg12dec.c if (s2->width <= 0 || s2->height <= 0) { s2 2484 libavcodec/mpeg12dec.c s2->width, s2->height); s2 2489 libavcodec/mpeg12dec.c s2->intra_dc_precision= 3; s2 2490 libavcodec/mpeg12dec.c s2->intra_matrix[0]= 1; s2 2497 libavcodec/mpeg12dec.c s2->thread_context, NULL, s2 2500 libavcodec/mpeg12dec.c s2->er.error_count += s2->thread_context[i]->er.error_count; s2 2513 libavcodec/mpeg12dec.c s2->pict_type = 0; s2 2524 libavcodec/mpeg12dec.c init_get_bits(&s2->gb, buf_ptr, input_size * 8); s2 2526 libavcodec/mpeg12dec.c switch (get_bits(&s2->gb, 4)) { s2 2541 libavcodec/mpeg12dec.c mpeg_decode_quant_matrix_extension(s2); s2 2563 libavcodec/mpeg12dec.c s2->first_field = 0; s2 2576 libavcodec/mpeg12dec.c if (s2->progressive_sequence && !s2->progressive_frame) { s2 2577 libavcodec/mpeg12dec.c s2->progressive_frame = 1; s2 2578 libavcodec/mpeg12dec.c av_log(s2->avctx, AV_LOG_ERROR, s2 2582 libavcodec/mpeg12dec.c if (s2->picture_structure == 0 || s2 2583 libavcodec/mpeg12dec.c (s2->progressive_frame && s2->picture_structure != PICT_FRAME)) { s2 2584 libavcodec/mpeg12dec.c av_log(s2->avctx, AV_LOG_ERROR, s2 2586 libavcodec/mpeg12dec.c s2->picture_structure); s2 2587 libavcodec/mpeg12dec.c s2->picture_structure = PICT_FRAME; s2 2590 libavcodec/mpeg12dec.c if (s2->progressive_sequence && !s2->frame_pred_frame_dct) s2 2591 libavcodec/mpeg12dec.c av_log(s2->avctx, AV_LOG_WARNING, "invalid frame_pred_frame_dct\n"); s2 2593 libavcodec/mpeg12dec.c if (s2->picture_structure == PICT_FRAME) { s2 2594 libavcodec/mpeg12dec.c s2->first_field = 0; s2 2595 libavcodec/mpeg12dec.c s2->v_edge_pos = 16 * s2->mb_height; s2 2597 libavcodec/mpeg12dec.c s2->first_field ^= 1; s2 2598 libavcodec/mpeg12dec.c s2->v_edge_pos = 8 * s2->mb_height; s2 2599 libavcodec/mpeg12dec.c memset(s2->mbskip_table, 0, s2->mb_stride * s2->mb_height); s2 2604 libavcodec/mpeg12dec.c const int field_pic = s2->picture_structure != PICT_FRAME; s2 2607 libavcodec/mpeg12dec.c if (s2->codec_id != AV_CODEC_ID_MPEG1VIDEO && s2->mb_height > 2800/16) s2 2611 libavcodec/mpeg12dec.c if (s2->picture_structure == PICT_BOTTOM_FIELD) s2 2615 libavcodec/mpeg12dec.c av_log(s2->avctx, AV_LOG_ERROR, "slice too small\n"); s2 2619 libavcodec/mpeg12dec.c if (mb_y >= s2->mb_height) { s2 2620 libavcodec/mpeg12dec.c av_log(s2->avctx, AV_LOG_ERROR, s2 2621 libavcodec/mpeg12dec.c "slice below image (%d >= %d)\n", mb_y, s2->mb_height); s2 2625 libavcodec/mpeg12dec.c if (!s2->last_picture_ptr) { s2 2628 libavcodec/mpeg12dec.c if (s2->pict_type == AV_PICTURE_TYPE_B) { s2 2629 libavcodec/mpeg12dec.c if (!s2->closed_gop) { s2 2635 libavcodec/mpeg12dec.c if (s2->pict_type == AV_PICTURE_TYPE_I || (s2->flags2 & CODEC_FLAG2_SHOW_ALL)) s2 2637 libavcodec/mpeg12dec.c if (!s2->next_picture_ptr) { s2 2640 libavcodec/mpeg12dec.c if (s2->pict_type == AV_PICTURE_TYPE_P && !s->sync) { s2 2646 libavcodec/mpeg12dec.c s2->pict_type == AV_PICTURE_TYPE_B) || s2 2648 libavcodec/mpeg12dec.c s2->pict_type != AV_PICTURE_TYPE_I) || s2 2657 libavcodec/mpeg12dec.c if (s2->codec_id == AV_CODEC_ID_MPEG2VIDEO) { s2 2659 libavcodec/mpeg12dec.c mb_y >= s2->mb_height - avctx->skip_bottom) s2 2663 libavcodec/mpeg12dec.c if (!s2->pict_type) { s2 2673 libavcodec/mpeg12dec.c if ((ret = mpeg_field_start(s2, buf, buf_size)) < 0) s2 2676 libavcodec/mpeg12dec.c if (!s2->current_picture_ptr) { s2 2690 libavcodec/mpeg12dec.c int threshold = (s2->mb_height * s->slice_count + s2 2691 libavcodec/mpeg12dec.c s2->slice_context_count / 2) / s2 2692 libavcodec/mpeg12dec.c s2->slice_context_count; s2 2695 libavcodec/mpeg12dec.c MpegEncContext *thread_context = s2->thread_context[s->slice_count]; s2 2698 libavcodec/mpeg12dec.c thread_context->end_mb_y = s2->mb_height; s2 2700 libavcodec/mpeg12dec.c s2->thread_context[s->slice_count - 1]->end_mb_y = mb_y; s2 2701 libavcodec/mpeg12dec.c ret = ff_update_duplicate_context(thread_context, s2); s2 2710 libavcodec/mpeg12dec.c ret = mpeg_decode_slice(s2, mb_y, &buf_ptr, input_size); s2 2716 libavcodec/mpeg12dec.c if (s2->resync_mb_x >= 0 && s2->resync_mb_y >= 0) s2 2717 libavcodec/mpeg12dec.c ff_er_add_slice(&s2->er, s2->resync_mb_x, s2 2718 libavcodec/mpeg12dec.c s2->resync_mb_y, s2->mb_x, s2->mb_y, s2 2721 libavcodec/mpeg12dec.c ff_er_add_slice(&s2->er, s2->resync_mb_x, s2 2722 libavcodec/mpeg12dec.c s2->resync_mb_y, s2->mb_x - 1, s2->mb_y, s2 2740 libavcodec/mpeg12dec.c MpegEncContext *s2 = &s->mpeg_enc_ctx; s2 2744 libavcodec/mpeg12dec.c if (s2->low_delay == 0 && s2->next_picture_ptr) { s2 2745 libavcodec/mpeg12dec.c int ret = av_frame_ref(picture, s2->next_picture_ptr->f); s2 2749 libavcodec/mpeg12dec.c s2->next_picture_ptr = NULL; s2 2756 libavcodec/mpeg12dec.c if (s2->flags & CODEC_FLAG_TRUNCATED) { s2 2757 libavcodec/mpeg12dec.c int next = ff_mpeg1_find_frame_end(&s2->parse_context, buf, s2 2760 libavcodec/mpeg12dec.c if (ff_combine_frame(&s2->parse_context, next, s2 2765 libavcodec/mpeg12dec.c s2->codec_tag = avpriv_toupper4(avctx->codec_tag); s2 2766 libavcodec/mpeg12dec.c if (s->mpeg_enc_ctx_allocated == 0 && ( s2->codec_tag == AV_RL32("VCR2") s2 2767 libavcodec/mpeg12dec.c || s2->codec_tag == AV_RL32("BW10") s2 2782 libavcodec/mpeg12dec.c s2->current_picture_ptr = NULL; s2 2789 libavcodec/mpeg12dec.c s2->current_picture_ptr = NULL; s2 306 libavcodec/mpegaudiodsp_template.c INTFLOAT t0, t1, t2, t3, s0, s1, s2, s3; s2 350 libavcodec/mpegaudiodsp_template.c s2 = t1 - t0; s2 364 libavcodec/mpegaudiodsp_template.c t0 = s2 + s3; s2 365 libavcodec/mpegaudiodsp_template.c t1 = s2 - s3; s2 381 libavcodec/on2avc.c #define CMUL0(dst, id, s0, s1, s2, s3, t0, t1, t2, t3, is, it) \ s2 383 libavcodec/on2avc.c + s2[is] * t2[it] + s3[is] * t3[it]; \ s2 385 libavcodec/on2avc.c + s2[is] * t2[it + 1] + s3[is] * t3[it + 1]; s2 387 libavcodec/on2avc.c #define CMUL1(dst, s0, s1, s2, s3, t0, t1, t2, t3, is, it) \ s2 390 libavcodec/on2avc.c + CMUL1_R(s2, t2, is, it) \ s2 394 libavcodec/on2avc.c + CMUL1_I(s2, t2, is, it) \ s2 397 libavcodec/on2avc.c #define CMUL2(dst, s0, s1, s2, s3, t0, t1, t2, t3, is, it) \ s2 400 libavcodec/on2avc.c + CMUL2_R(s2, t2, is, it) \ s2 404 libavcodec/on2avc.c + CMUL2_I(s2, t2, is, it) \ s2 407 libavcodec/on2avc.c static void combine_fft(float *s0, float *s1, float *s2, float *s3, float *dst, s2 426 libavcodec/on2avc.c CMUL0(dst, 0, s0, s1, s2, s3, t0, t1, t2, t3, 0, 0); s2 435 libavcodec/on2avc.c CMUL1(d1, s0, s1, s2, s3, t0, t1, t2, t3, j, k); s2 436 libavcodec/on2avc.c CMUL1(d2, s0, s1, s2, s3, h0, h1, h2, h3, j, k); s2 440 libavcodec/on2avc.c CMUL0(dst, len4, s0, s1, s2, s3, t0, t1, t2, t3, 1, hoff); s2 441 libavcodec/on2avc.c CMUL0(dst, len4 + len2, s0, s1, s2, s3, h0, h1, h2, h3, 1, hoff); s2 448 libavcodec/on2avc.c CMUL2(d1, s0, s1, s2, s3, t0, t1, t2, t3, j, k); s2 449 libavcodec/on2avc.c CMUL2(d2, s0, s1, s2, s3, h0, h1, h2, h3, j, k); s2 453 libavcodec/on2avc.c CMUL0(dst, len2 + 4, s0, s1, s2, s3, t0, t1, t2, t3, 0, k); s2 34 libavcodec/pixblockdsp.c const uint8_t *s2, int stride) s2 40 libavcodec/pixblockdsp.c block[0] = s1[0] - s2[0]; s2 41 libavcodec/pixblockdsp.c block[1] = s1[1] - s2[1]; s2 42 libavcodec/pixblockdsp.c block[2] = s1[2] - s2[2]; s2 43 libavcodec/pixblockdsp.c block[3] = s1[3] - s2[3]; s2 44 libavcodec/pixblockdsp.c block[4] = s1[4] - s2[4]; s2 45 libavcodec/pixblockdsp.c block[5] = s1[5] - s2[5]; s2 46 libavcodec/pixblockdsp.c block[6] = s1[6] - s2[6]; s2 47 libavcodec/pixblockdsp.c block[7] = s1[7] - s2[7]; s2 49 libavcodec/pixblockdsp.c s2 += stride; s2 32 libavcodec/pixblockdsp.h const uint8_t *s2 /* align 8 */, s2 68 libavcodec/ppc/fft_init.c re = vec_perm(a, b, vcprm(0,2,s0,s2)); /* { z[k].re, z[k+1].re, z[-k-2].re, z[-k-1].re } */\ s2 81 libavcodec/ppc/fft_init.c c = vec_perm(r##p, i##p, vcprm(2,s2,2,s2));\ s2 122 libavcodec/ppc/fft_init.c pout[2*j] = vec_perm(a, d, vcprm(0,s3,1,s2)); s2 124 libavcodec/ppc/fft_init.c pout[2*k] = vec_perm(c, b, vcprm(0,s3,1,s2)); s2 99 libavcodec/ppc/fft_vsx.h x2 = vec_perm(x0, x1, vcprm(2,s2,3,s3)); s2 100 libavcodec/ppc/fft_vsx.h x3 = vec_perm(x0, x1, vcprm(s3,3,s2,2)); s2 103 libavcodec/ppc/fft_vsx.h y5 = vec_perm(y0, y1, vcprm(s3,3,s2,2)); s2 105 libavcodec/ppc/fft_vsx.h y3 = vec_perm(y0, y1, vcprm(2,s2,3,s3)); s2 118 libavcodec/ppc/fft_vsx.h x8 = vec_perm(x6, x7, vcprm(0,1,s2,s3)); s2 119 libavcodec/ppc/fft_vsx.h y10 = vec_perm(y8, y9, vcprm(0,1,s2,s3)); s2 120 libavcodec/ppc/fft_vsx.h y15 = vec_perm(y13, y14, vcprm(0,1,s2,s3)); s2 122 libavcodec/ppc/fft_vsx.h x9 = vec_perm(x0, x8, vcprm(0,1,s0,s2)); s2 125 libavcodec/ppc/fft_vsx.h y16 = vec_perm(y10, y15, vcprm(0,2,s0,s2)); s2 139 libavcodec/ppc/fft_vsx.h x16 = vec_perm(x13, x14, vcprm(s0,1,s2,3)); s2 141 libavcodec/ppc/fft_vsx.h y23 = vec_perm(y20, y21, vcprm(s0,1,s2,3)); s2 183 libavcodec/ppc/fft_vsx.h x5 = vec_perm(x0, x1, vcprm(s3,3,s2,2)); s2 185 libavcodec/ppc/fft_vsx.h x3 = vec_perm(x0, x1, vcprm(2,s2,3,s3)); s2 188 libavcodec/ppc/fft_vsx.h y3 = vec_perm(y0, y1, vcprm(2,s2,3,s3)); s2 193 libavcodec/ppc/fft_vsx.h y5 = vec_perm(y0, y1, vcprm(s3,3,s2,2)); s2 208 libavcodec/ppc/fft_vsx.h x10 = vec_perm(x8, x9, vcprm(0,1,s2,s3)); s2 209 libavcodec/ppc/fft_vsx.h x15 = vec_perm(x13, x14, vcprm(0,1,s2,s3)); s2 211 libavcodec/ppc/fft_vsx.h y10 = vec_perm(y8, y9, vcprm(0,1,s2,s3)); s2 212 libavcodec/ppc/fft_vsx.h y15 = vec_perm(y13, y14, vcprm(0,1,s2,s3)); s2 214 libavcodec/ppc/fft_vsx.h x16 = vec_perm(x10, x15, vcprm(0,2,s0,s2)); s2 217 libavcodec/ppc/fft_vsx.h y16 = vec_perm(y10, y15, vcprm(0,2,s0,s2)); s2 231 libavcodec/ppc/fft_vsx.h x23 = vec_perm(x20, x21, vcprm(s0,1,s2,3)); s2 234 libavcodec/ppc/fft_vsx.h y23 = vec_perm(y20, y21, vcprm(s0,1,s2,3)); s2 267 libavcodec/ppc/fft_vsx.h c = vec_perm(a, b, vcprm(0,1,s2,s1)); s2 273 libavcodec/ppc/fft_vsx.h d = vec_perm(a, b, vcprm(2,3,s3,s2)); s2 302 libavcodec/ppc/fft_vsx.h x0 = vec_perm(vz0, vz1, vcprm(0,1,s2,s1)); s2 305 libavcodec/ppc/fft_vsx.h x3 = vec_perm(vz2, vz3, vcprm(0,3,s2,s3)); s2 313 libavcodec/ppc/fft_vsx.h x9 = vec_perm(x4, x5, vcprm(2,3,s3,s2)); s2 314 libavcodec/ppc/fft_vsx.h x10 = vec_perm(x6, x7, vcprm(2,1,s2,s1)); s2 323 libavcodec/ppc/fft_vsx.h x18 = vec_perm(x16, x17, vcprm(s0,s3,s2,s1)); s2 327 libavcodec/ppc/fft_vsx.h x21 = vec_perm(x12, x13, vcprm(2,s2,3,s3)); s2 328 libavcodec/ppc/fft_vsx.h x22 = vec_perm(x14, x15, vcprm(2,3,s2,s3)); s2 329 libavcodec/ppc/fft_vsx.h x23 = vec_perm(x14, x15, vcprm(3,2,s3,s2)); s2 332 libavcodec/ppc/fft_vsx.h x26 = vec_mul( vec_perm(x24, x25, vcprm(2,s2,0,s0)), vc1); s2 337 libavcodec/ppc/fft_vsx.h x29 = vec_perm(x19, x27, vcprm(0,2,s0,s2)); // z0.r z0.i z1.r z1.i s2 339 libavcodec/ppc/fft_vsx.h x31 = vec_perm(x20, x28, vcprm(0,2,s0,s2)); // z4.r z4.i z5.r z5.i s2 341 libavcodec/ppc/fft_vsx.h x33 = vec_perm(x30, x32, vcprm(0,1,s2,3)); // z2.r z2.i z3.r z3.i s2 390 libavcodec/ppc/fft_vsx.h x0 = vec_perm(vz0, vz1, vcprm(0,1,s2,s1)); s2 393 libavcodec/ppc/fft_vsx.h x3 = vec_perm(vz2, vz3, vcprm(2,3,s2,s3)); s2 395 libavcodec/ppc/fft_vsx.h x4 = vec_perm(vz4, vz5, vcprm(0,1,s2,s1)); s2 397 libavcodec/ppc/fft_vsx.h x6 = vec_perm(vz6, vz7, vcprm(0,1,s2,s1)); s2 411 libavcodec/ppc/fft_vsx.h x17 = vec_perm(x8, x9, vcprm(2,3,s3,s2)); s2 412 libavcodec/ppc/fft_vsx.h x18 = vec_perm(x10, x11, vcprm(2,1,s1,s2)); s2 415 libavcodec/ppc/fft_vsx.h x21 = vec_perm(x12, x14, vcprm(2,3,s2,s3)); s2 417 libavcodec/ppc/fft_vsx.h x23 = vec_perm(x13, x15, vcprm(3,2,s3,s2)); s2 432 libavcodec/ppc/fft_vsx.h x35 = vec_perm(x28, x29, vcprm(2,1,s1,s2)); s2 438 libavcodec/ppc/fft_vsx.h x40 = vec_perm(x27, x38, vcprm(3,2,s2,s3)); s2 439 libavcodec/ppc/fft_vsx.h x41 = vec_perm(x26, x37, vcprm(2,3,s3,s2)); s2 448 libavcodec/ppc/fft_vsx.h x48 = vec_perm(x30, x31, vcprm(2,1,s1,s2)); s2 457 libavcodec/ppc/fft_vsx.h x56 = vec_perm(x24, x25, vcprm(2,3,s2,s3)); s2 463 libavcodec/ppc/fft_vsx.h x61 = vec_perm(x54, x55, vcprm(s1,s0,s3,s2)); s2 468 libavcodec/ppc/fft_vsx.h x66 = vec_perm(x62, x64, vcprm(0,1,s3,s2)); s2 476 libavcodec/ppc/fft_vsx.h x72 = vec_perm(x25, x27, vcprm(s1,s0,s2,s3)); s2 480 libavcodec/ppc/fft_vsx.h x76 = vec_perm(x44, x45, vcprm(3,2,s2,s3)); s2 485 libavcodec/ppc/fft_vsx.h x80 = vec_perm(x77, x68, vcprm(0,1,s2,s3)); // z2.r z2.i z3.r z3.i s2 487 libavcodec/ppc/fft_vsx.h x82 = vec_perm(x71, x77, vcprm(s2,s3,2,3)); // z6.r z6.i z7.r z7.i s2 493 libavcodec/ppc/fft_vsx.h x84 = vec_perm(x78, x69, vcprm(0,1,s2,s3)); // z10.r z10.i z11.r z11.i s2 495 libavcodec/ppc/fft_vsx.h x86 = vec_perm(x70, x78, vcprm(s2,s3,2,3)); // z14.r z14.i z15.r z15.i s2 509 libavcodec/ppc/fft_vsx.h c = vec_perm(a, b, vcprm(0,1,s2,s1)); s2 515 libavcodec/ppc/fft_vsx.h d = vec_perm(a, b, vcprm(2,s3,3,s2)); s2 521 libavcodec/ppc/fft_vsx.h d = vec_perm(a, b, vcprm(2,3,s2,s3)); s2 544 libavcodec/ppc/fft_vsx.h vz7 = vec_perm(vz2, vz3, vcprm(2,s2,3,s3)); s2 545 libavcodec/ppc/fft_vsx.h vz4 = vec_perm(vz0, vz1, vcprm(0,1,s2,s1)); s2 559 libavcodec/ppc/fft_vsx.h vz5 = vec_perm(vz0, vz1, vcprm(2,s3,3,s2)); s2 561 libavcodec/ppc/fft_vsx.h vz7 = vec_perm(vz2, vz3, vcprm(0,3,s2,s1)); s2 569 libavcodec/ppc/fft_vsx.h vz5 = vec_perm(vz0, vz1, vcprm(2,3,s2,s3)); s2 571 libavcodec/ppc/fft_vsx.h vz7 = vec_perm(vz2, vz3, vcprm(1,3,s0,s2)); s2 607 libavcodec/ppc/fft_vsx.h vz4 = vec_perm(vz0, vz1, vcprm(0,1,s2,s1)); s2 609 libavcodec/ppc/fft_vsx.h vz6 = vec_perm(vz2, vz3, vcprm(0,1,s2,s1)); s2 618 libavcodec/ppc/fft_vsx.h vz5 = vec_perm(vz0, vz1, vcprm(2,s3,3,s2)); s2 620 libavcodec/ppc/fft_vsx.h vz7 = vec_perm(vz2, vz3, vcprm(2,s3,3,s2)); s2 628 libavcodec/ppc/fft_vsx.h vz5 = vec_perm(vz0, vz1, vcprm(2,3,s2,s3)); s2 631 libavcodec/ppc/fft_vsx.h vz7 = vec_perm(vz2, vz3, vcprm(2,3,s2,s3)); s2 638 libavcodec/ppc/fft_vsx.h vz11 = vec_perm(vz2, vz3, vcprm(2,s2,3,s3)); s2 639 libavcodec/ppc/fft_vsx.h vz8 = vec_perm(vz0, vz1, vcprm(0,1,s2,s1)); s2 651 libavcodec/ppc/fft_vsx.h vz9 = vec_perm(vz0, vz1, vcprm(2,s3,3,s2)); s2 653 libavcodec/ppc/fft_vsx.h vz11 = vec_perm(vz2, vz3, vcprm(0,3,s2,s1)); s2 661 libavcodec/ppc/fft_vsx.h vz9 = vec_perm(vz0, vz1, vcprm(2,3,s2,s3)); s2 663 libavcodec/ppc/fft_vsx.h vz11 = vec_perm(vz2, vz3, vcprm(1,3,s0,s2)); s2 121 libavcodec/ppc/h264dsp.c #define IDCT8_1D_ALTIVEC(s0, s1, s2, s3, s4, s5, s6, s7, d0, d1, d2, d3, d4, d5, d6, d7) {\ s2 127 libavcodec/ppc/h264dsp.c vec_s16 a4v = vec_sub(vec_sra(s2, onev), s6); \ s2 129 libavcodec/ppc/h264dsp.c vec_s16 a6v = vec_add(vec_sra(s6, onev), s2); \ s2 198 libavcodec/ppc/h264dsp.c vec_u8 dst8 = vec_perm((vec_u8)idstsum8, dstv, vcprm(2,3,s2,s3));\ s2 215 libavcodec/ppc/h264dsp.c vec_s16 s0, s1, s2, s3, s4, s5, s6, s7; s2 233 libavcodec/ppc/h264dsp.c s2 = vec_ld(0x20, (int16_t*)dct); s2 241 libavcodec/ppc/h264dsp.c IDCT8_1D_ALTIVEC(s0, s1, s2, s3, s4, s5, s6, s7, s2 97 libavcodec/ppc/pixblockdsp.c const uint8_t *s2, int stride) s2 114 libavcodec/ppc/pixblockdsp.c bytes =vec_vsx_ld(0, s2); s2 126 libavcodec/ppc/pixblockdsp.c s2 += stride; s2 141 libavcodec/ppc/pixblockdsp.c bytes = vec_vsx_ld(0, s2); s2 153 libavcodec/ppc/pixblockdsp.c s2 += stride; s2 159 libavcodec/ppc/pixblockdsp.c const uint8_t *s2, int stride) s2 163 libavcodec/ppc/pixblockdsp.c vector unsigned char perm2 = vec_lvsl(0, s2); s2 180 libavcodec/ppc/pixblockdsp.c pixl = vec_ld(0, s2); s2 181 libavcodec/ppc/pixblockdsp.c pixr = vec_ld(15, s2); s2 194 libavcodec/ppc/pixblockdsp.c s2 += stride; s2 211 libavcodec/ppc/pixblockdsp.c pixl = vec_ld(0, s2); s2 212 libavcodec/ppc/pixblockdsp.c pixr = vec_ld(15, s2); s2 225 libavcodec/ppc/pixblockdsp.c s2 += stride; s2 33 libavcodec/ppc/vc1dsp_altivec.c #define STEP8(s0, s1, s2, s3, s4, s5, s6, s7, vec_rnd) \ s2 42 libavcodec/ppc/vc1dsp_altivec.c t2 = vec_add(t2, vec_sl(s2, vec_4)); \ s2 43 libavcodec/ppc/vc1dsp_altivec.c t3 = vec_add(vec_sl(s2, vec_2), vec_sl(s2, vec_1)); \ s2 72 libavcodec/ppc/vc1dsp_altivec.c s2 = vec_add(t6, t2); \ s2 80 libavcodec/ppc/vc1dsp_altivec.c #define SHIFT_HOR8(s0, s1, s2, s3, s4, s5, s6, s7) \ s2 84 libavcodec/ppc/vc1dsp_altivec.c s2 = vec_sra(s2, vec_3); \ s2 92 libavcodec/ppc/vc1dsp_altivec.c #define SHIFT_VERT8(s0, s1, s2, s3, s4, s5, s6, s7) \ s2 96 libavcodec/ppc/vc1dsp_altivec.c s2 = vec_sra(s2, vec_7); \ s2 105 libavcodec/ppc/vc1dsp_altivec.c #define STEP4(s0, s1, s2, s3, vec_rnd) \ s2 109 libavcodec/ppc/vc1dsp_altivec.c t2 = vec_add(vec_sl(s2, vec_4), s2); \ s2 119 libavcodec/ppc/vc1dsp_altivec.c s2 = vec_add(t1, t3); \ s2 123 libavcodec/ppc/vc1dsp_altivec.c #define SHIFT_HOR4(s0, s1, s2, s3) \ s2 126 libavcodec/ppc/vc1dsp_altivec.c s2 = vec_sra(s2, vec_3); \ s2 129 libavcodec/ppc/vc1dsp_altivec.c #define SHIFT_VERT4(s0, s1, s2, s3) \ s2 132 libavcodec/ppc/vc1dsp_altivec.c s2 = vec_sra(s2, vec_7); \ s2 140 libavcodec/ppc/vc1dsp_altivec.c vector signed int s0, s1, s2, s3, s4, s5, s6, s7; s2 163 libavcodec/ppc/vc1dsp_altivec.c s2 = vec_unpackl(src2); s2 177 libavcodec/ppc/vc1dsp_altivec.c STEP8(s0, s1, s2, s3, s4, s5, s6, s7, vec_4s); s2 178 libavcodec/ppc/vc1dsp_altivec.c SHIFT_HOR8(s0, s1, s2, s3, s4, s5, s6, s7); s2 183 libavcodec/ppc/vc1dsp_altivec.c src2 = vec_pack(sA, s2); s2 193 libavcodec/ppc/vc1dsp_altivec.c s2 = vec_unpackl(src2); s2 207 libavcodec/ppc/vc1dsp_altivec.c STEP8(s0, s1, s2, s3, s4, s5, s6, s7, vec_64); s2 208 libavcodec/ppc/vc1dsp_altivec.c SHIFT_VERT8(s0, s1, s2, s3, s4, s5, s6, s7); s2 213 libavcodec/ppc/vc1dsp_altivec.c src2 = vec_pack(sA, s2); s2 235 libavcodec/ppc/vc1dsp_altivec.c vector signed int s0, s1, s2, s3, s4, s5, s6, s7; s2 262 libavcodec/ppc/vc1dsp_altivec.c s2 = vec_unpackl(src2); s2 276 libavcodec/ppc/vc1dsp_altivec.c STEP8(s0, s1, s2, s3, s4, s5, s6, s7, vec_4s); s2 277 libavcodec/ppc/vc1dsp_altivec.c SHIFT_HOR8(s0, s1, s2, s3, s4, s5, s6, s7); s2 282 libavcodec/ppc/vc1dsp_altivec.c src2 = vec_pack(sA, s2); s2 292 libavcodec/ppc/vc1dsp_altivec.c s2 = vec_unpackh(src2); s2 298 libavcodec/ppc/vc1dsp_altivec.c STEP4(s0, s1, s2, s3, vec_64); s2 299 libavcodec/ppc/vc1dsp_altivec.c SHIFT_VERT4(s0, s1, s2, s3); s2 304 libavcodec/ppc/vc1dsp_altivec.c src2 = vec_pack(s2, sA); s2 170 libavcodec/ppc/vp8dsp_altivec.c s2f = (vec_s16)vec_mul(s2, f2); \ s2 197 libavcodec/ppc/vp8dsp_altivec.c vec_u8 s0, s1, s2, s3, s4, s5, filt, align_vech, perm_vec, align_vecl; s2 216 libavcodec/ppc/vp8dsp_altivec.c s2 = LOAD_HL( 0*src_stride, src, perm_vec); s2 246 libavcodec/ppc/vp8dsp_altivec.c s1 = s2; s2 247 libavcodec/ppc/vp8dsp_altivec.c s2 = s3; s2 1508 libavcodec/ra144.c const int16_t *s1, const int8_t *s2, const int8_t *s3) s2 1519 libavcodec/ra144.c dest[i] = (s1[i]*v[0] + s2[i]*v[1] + s3[i]*v[2]) >> 12; s2 1522 libavcodec/ra144.c dest[i] = ( s2[i]*v[1] + s3[i]*v[2]) >> 12; s2 94 libavcodec/tscc2.c #define DCT1D(d0, d1, d2, d3, s0, s1, s2, s3, OP) \ s2 95 libavcodec/tscc2.c OP(d0, 5 * ((s0) + (s1) + (s2)) + 2 * (s3)); \ s2 96 libavcodec/tscc2.c OP(d1, 5 * ((s0) - (s2) - (s3)) + 2 * (s1)); \ s2 97 libavcodec/tscc2.c OP(d2, 5 * ((s0) - (s2) + (s3)) - 2 * (s1)); \ s2 98 libavcodec/tscc2.c OP(d3, 5 * ((s0) - (s1) + (s2)) - 2 * (s3)); \ s2 32 libavcodec/vp56dsp.c int s2, s1 = v >> 31; s2 37 libavcodec/vp56dsp.c s2 = v >> 31; s2 38 libavcodec/vp56dsp.c v ^= s2; s2 39 libavcodec/vp56dsp.c v -= s2; s2 3674 libavcodec/vp9.c unsigned *c = s->counts.y_mode[i], sum, s2; s2 3682 libavcodec/vp9.c s2 = c[HOR_PRED] + c[DIAG_DOWN_RIGHT_PRED] + c[VERT_RIGHT_PRED]; s2 3683 libavcodec/vp9.c sum -= s2; s2 3684 libavcodec/vp9.c adapt_prob(&pp[3], s2, sum, 20, 128); s2 3685 libavcodec/vp9.c s2 -= c[HOR_PRED]; s2 3686 libavcodec/vp9.c adapt_prob(&pp[4], c[HOR_PRED], s2, 20, 128); s2 3698 libavcodec/vp9.c unsigned *c = s->counts.uv_mode[i], sum, s2; s2 3706 libavcodec/vp9.c s2 = c[HOR_PRED] + c[DIAG_DOWN_RIGHT_PRED] + c[VERT_RIGHT_PRED]; s2 3707 libavcodec/vp9.c sum -= s2; s2 3708 libavcodec/vp9.c adapt_prob(&pp[3], s2, sum, 20, 128); s2 3709 libavcodec/vp9.c s2 -= c[HOR_PRED]; s2 3710 libavcodec/vp9.c adapt_prob(&pp[4], c[HOR_PRED], s2, 20, 128); s2 37 libavcodec/wmv2dsp.c int s1, s2; s2 52 libavcodec/wmv2dsp.c s2 = (181 * (a1 - a5 - a7 + a3) + 128) >> 8; s2 57 libavcodec/wmv2dsp.c b[2] = (a4 - a6 + s2 + (1 << 7)) >> 8; s2 60 libavcodec/wmv2dsp.c b[5] = (a4 - a6 - s2 + (1 << 7)) >> 8; s2 67 libavcodec/wmv2dsp.c int s1, s2; s2 82 libavcodec/wmv2dsp.c s2 = (181 * (a1 - a5 - a7 + a3) + 128) >> 8; s2 87 libavcodec/wmv2dsp.c b[8 * 2] = (a4 - a6 + s2 + (1 << 13)) >> 14; s2 91 libavcodec/wmv2dsp.c b[8 * 5] = (a4 - a6 - s2 + (1 << 13)) >> 14; s2 28 libavcodec/x86/pixblockdsp_init.c void ff_diff_pixels_mmx(int16_t *block, const uint8_t *s1, const uint8_t *s2, s2 30 libavcodec/x86/pixblockdsp_init.c void ff_diff_pixels_sse2(int16_t *block, const uint8_t *s1, const uint8_t *s2, s2 404 libavcodec/x86/snowdsp.c #define snow_vertical_compose_r2r_sub(s0,s1,s2,s3,t0,t1,t2,t3)\ s2 407 libavcodec/x86/snowdsp.c "psubw %%"s2", %%"t2" \n\t"\ s2 410 libavcodec/x86/snowdsp.c #define snow_vertical_compose_sse2_store(w,s0,s1,s2,s3)\ s2 413 libavcodec/x86/snowdsp.c "movdqa %%"s2", 32("w",%%"REG_d") \n\t"\ s2 422 libavcodec/x86/snowdsp.c #define snow_vertical_compose_r2r_add(s0,s1,s2,s3,t0,t1,t2,t3)\ s2 425 libavcodec/x86/snowdsp.c "paddw %%"s2", %%"t2" \n\t"\ s2 428 libavcodec/x86/snowdsp.c #define snow_vertical_compose_r2r_pmulhw(s0,s1,s2,s3,t0,t1,t2,t3)\ s2 431 libavcodec/x86/snowdsp.c "pmulhw %%"s2", %%"t2" \n\t"\ s2 434 libavcodec/x86/snowdsp.c #define snow_vertical_compose_sse2_move(s0,s1,s2,s3,t0,t1,t2,t3)\ s2 437 libavcodec/x86/snowdsp.c "movdqa %%"s2", %%"t2" \n\t"\ s2 525 libavcodec/x86/snowdsp.c #define snow_vertical_compose_mmx_store(w,s0,s1,s2,s3)\ s2 528 libavcodec/x86/snowdsp.c "movq %%"s2", 16("w",%%"REG_d") \n\t"\ s2 531 libavcodec/x86/snowdsp.c #define snow_vertical_compose_mmx_move(s0,s1,s2,s3,t0,t1,t2,t3)\ s2 534 libavcodec/x86/snowdsp.c "movq %%"s2", %%"t2" \n\t"\ s2 232 libavfilter/vf_fieldmatch.c const int s2 = abs(srcp[x] - srcp[x + src_linesize]); s2 233 libavfilter/vf_fieldmatch.c if (s1 > cthresh && s2 > cthresh && FILTER(2, -1, 1, 2)) s2 243 libavfilter/vf_fieldmatch.c const int s2 = abs(srcp[x] - srcp[x + src_linesize]); s2 244 libavfilter/vf_fieldmatch.c if (s1 > cthresh && s2 > cthresh && FILTER(-2, -1, 1, 2)) s2 254 libavfilter/vf_fieldmatch.c const int s2 = abs(srcp[x] - srcp[x + src_linesize]); s2 255 libavfilter/vf_fieldmatch.c if (s1 > cthresh && s2 > cthresh && FILTER(-2, -1, 1, -2)) s2 108 libavfilter/vf_pp7.c int s2 = src[2 * stride] + src[4 * stride]; s2 113 libavfilter/vf_pp7.c s = s2 + s1; s2 114 libavfilter/vf_pp7.c s2 = s2 - s1; s2 117 libavfilter/vf_pp7.c dst[1] = 2 * s3 + s2; s2 118 libavfilter/vf_pp7.c dst[3] = s3 - 2 * s2; s2 131 libavfilter/vf_pp7.c int s2 = src[2 * 4] + src[4 * 4]; s2 136 libavfilter/vf_pp7.c s = s2 + s1; s2 137 libavfilter/vf_pp7.c s2 = s2 - s1; s2 140 libavfilter/vf_pp7.c dst[1 * 4] = 2 * s3 + s2; s2 141 libavfilter/vf_pp7.c dst[3 * 4] = s3 - 2 * s2; s2 1070 libavformat/sbgdec.c struct sbg_script_synth *s2, s2 1075 libavformat/sbgdec.c if (ts2 <= ts1 || (s1->vol == 0 && s2->vol == 0)) s2 1081 libavformat/sbgdec.c if (s1->beat == 0 && s2->beat == 0) { s2 1084 libavformat/sbgdec.c ts2, s2->carrier, s2->vol); s2 1087 libavformat/sbgdec.c s2->ref.l = s2->ref.r = r; s2 1091 libavformat/sbgdec.c ts2, s2->carrier + s2->beat / 2, s2->vol); s2 1094 libavformat/sbgdec.c s2->ref.l = r; s2 1097 libavformat/sbgdec.c ts2, s2->carrier - s2->beat / 2, s2->vol); s2 1100 libavformat/sbgdec.c s2->ref.r = r; s2 1106 libavformat/sbgdec.c r = add_bell(inter, s, ts1, ts2, s1->carrier, s2->vol); s2 1129 libavformat/sbgdec.c ts2, 0, s2->vol - s2->vol / 4); s2 1132 libavformat/sbgdec.c s2->ref.l = s2->ref.r = r; s2 1184 libavformat/sbgdec.c struct sbg_script_synth *s1, *s2, s1mod, s2mod, smid; s2 1197 libavformat/sbgdec.c s2 = i < ev2->nb_elements ? &s->synth[ev2->elements + i] : &s2mod; s2 1199 libavformat/sbgdec.c s2mod = s2 != &s2mod ? *s2 : (struct sbg_script_synth){ 0 }; s2 1222 libavformat/sbgdec.c s2->ref = s2mod.ref; s2 1240 libavformat/sbgdec.c s2->ref = s2mod.ref; s2 148 libavformat/subtitles.c const AVPacket *s2 = b; s2 149 libavformat/subtitles.c if (s1->pts == s2->pts) { s2 150 libavformat/subtitles.c if (s1->pos == s2->pos) s2 152 libavformat/subtitles.c return s1->pos > s2->pos ? 1 : -1; s2 154 libavformat/subtitles.c return s1->pts > s2->pts ? 1 : -1; s2 160 libavformat/subtitles.c const AVPacket *s2 = b; s2 161 libavformat/subtitles.c if (s1->pos == s2->pos) { s2 162 libavformat/subtitles.c if (s1->pts == s2->pts) s2 164 libavformat/subtitles.c return s1->pts > s2->pts ? 1 : -1; s2 166 libavformat/subtitles.c return s1->pos > s2->pos ? 1 : -1; s2 198 libavformat/subtitles.c int s1 = 0, s2 = q->nb_subs - 1; s2 200 libavformat/subtitles.c if (s2 < s1) s2 206 libavformat/subtitles.c if (s1 == s2) s2 208 libavformat/subtitles.c if (s1 == s2 - 1) s2 209 libavformat/subtitles.c return q->subs[s1].pts <= q->subs[s2].pts ? s1 : s2; s2 210 libavformat/subtitles.c mid = (s1 + s2) / 2; s2 214 libavformat/subtitles.c s2 = mid; s2 455 libavformat/tee.c int s2; s2 461 libavformat/tee.c s2 = tee->slaves[i].stream_map[s]; s2 462 libavformat/tee.c if (s2 < 0) s2 472 libavformat/tee.c tb2 = avf2->streams[s2]->time_base; s2 476 libavformat/tee.c pkt2.stream_index = s2; s2 478 libavformat/tee.c filter_packet(avf2, &pkt2, avf2, tee->slaves[i].bsfs[s2]); s2 40 libavutil/adler32.c #define DO1(buf) { s1 += *buf++; s2 += s1; } s2 48 libavutil/adler32.c unsigned long s2 = adler >> 16; s2 59 libavutil/adler32.c s2 += s1*len2; s2 75 libavutil/adler32.c s2 += ((((a2&0xFFFF0000FFFF)+(b2&0xFFFF0000FFFF)+((a2>>16)&0xFFFF0000FFFF)+((b2>>16)&0xFFFF0000FFFF))*0x800000008)>>32) s2 87 libavutil/adler32.c while (len > 4 && s2 < (1U << 31)) { s2 94 libavutil/adler32.c s2 %= BASE; s2 96 libavutil/adler32.c return (s2 << 16) | s1; s2 56 libavutil/avstring.c char *av_stristr(const char *s1, const char *s2) s2 58 libavutil/avstring.c if (!*s2) s2 62 libavutil/avstring.c if (av_stristart(s1, s2, NULL)) s2 88 libavutil/ppc/float_dsp_altivec.c t1 = vec_perm(d, edges, vcprm(s0,s1,s2,s3)); s2 89 libavutil/ppc/float_dsp_altivec.c t0 = vec_perm(edges, d, vcprm(s0,s1,s2,s3)); s2 100 libavutil/ppc/float_dsp_altivec.c s2, s3, zero = (vector float) vec_splat_u32(0); s2 109 libavutil/ppc/float_dsp_altivec.c s2 = vec_ld(16, src0 + i); s2 119 libavutil/ppc/float_dsp_altivec.c d = vec_madd(s2, s3, zero); s2 731 libswscale/rgb2rgb_template.c const uint8_t *s2 = src2 + srcStride2 * (y >> 1); s2 734 libswscale/rgb2rgb_template.c d[2 * x] = d[2 * x + 1] = s2[x]; s2 2034 libswscale/x86/rgb2rgb_template.c const uint8_t* s2=src2+srcStride2*(y>>1); s2 2064 libswscale/x86/rgb2rgb_template.c :: "r"(d), "r"(s2), "r"(x) s2 2067 libswscale/x86/rgb2rgb_template.c for (;x<w;x++) d[2*x]=d[2*x+1]=s2[x]; s2 55 tests/tiny_ssim.c uint32_t s1 = 0, s2 = 0, ss = 0, s12 = 0; s2 62 tests/tiny_ssim.c s2 += b; s2 68 tests/tiny_ssim.c sums[z][1] = s2; s2 76 tests/tiny_ssim.c static float ssim_end1( int s1, int s2, int ss, int s12 ) s2 91 tests/tiny_ssim.c type fs2 = s2;