s2 1374 libavcodec/adpcm.c short *s2, *s = &samples[channel]; s2 1379 libavcodec/adpcm.c for (s2=s, i=0; i<2; i++, src+=2, s2+=avctx->channels) s2 1380 libavcodec/adpcm.c s2[0] = (src[0]&0xF0) + (src[1]<<8); s2 1386 libavcodec/adpcm.c for (s2=s, i=0; i<8; i+=4, s2+=avctx->channels) { s2 1388 libavcodec/adpcm.c int pred = s2[-1*avctx->channels] * coeff[0][n] s2 1389 libavcodec/adpcm.c + s2[-2*avctx->channels] * coeff[1][n]; s2 1390 libavcodec/adpcm.c s2[0] = av_clip_int16((level + pred + 0x80) >> 8); s2 35 libavcodec/adx.h int s1,s2; s2 47 libavcodec/adxdec.c int s0,s1,s2,d; s2 53 libavcodec/adxdec.c s2 = prev->s2; s2 58 libavcodec/adxdec.c s0 = (BASEVOL*d*scale + SCALE1*s1 - SCALE2*s2)>>14; s2 59 libavcodec/adxdec.c s2 = s1; s2 66 libavcodec/adxdec.c s0 = (BASEVOL*d*scale + SCALE1*s1 - SCALE2*s2)>>14; s2 67 libavcodec/adxdec.c s2 = s1; s2 72 libavcodec/adxdec.c prev->s2 = s2; s2 41 libavcodec/adxenc.c int s0,s1,s2,d; s2 47 libavcodec/adxenc.c s2 = prev->s2; s2 50 libavcodec/adxenc.c d = ((s0<<14) - SCALE1*s1 + SCALE2*s2)/BASEVOL; s2 54 libavcodec/adxenc.c s2 = s1; s2 58 libavcodec/adxenc.c prev->s2 = s2; s2 54 libavcodec/alpha/motion_est_alpha.c y = ldq(s2); s2 65 libavcodec/alpha/motion_est_alpha.c s2 += stride; s2 166 libavcodec/atrac3.c float s2 = 0.0; s2 170 libavcodec/atrac3.c s2 += p1[i+1] * qmf_window[i+1]; s2 173 libavcodec/atrac3.c pOut[0] = s2; s2 609 libavcodec/atrac3.c int i, band, nsample, s1, s2; s2 615 libavcodec/atrac3.c s2 = pCurrCode[i]; s2 618 libavcodec/atrac3.c if (s1 != s2) { s2 622 libavcodec/atrac3.c mc2_l = matrixCoeffs[s2*2]; s2 623 libavcodec/atrac3.c mc2_r = matrixCoeffs[s2*2+1]; s2 636 libavcodec/atrac3.c switch (s2) { s2 564 libavcodec/dsputil.c block[0] = s1[0] - s2[0]; s2 565 libavcodec/dsputil.c block[1] = s1[1] - s2[1]; s2 566 libavcodec/dsputil.c block[2] = s1[2] - s2[2]; s2 567 libavcodec/dsputil.c block[3] = s1[3] - s2[3]; s2 568 libavcodec/dsputil.c block[4] = s1[4] - s2[4]; s2 569 libavcodec/dsputil.c block[5] = s1[5] - s2[5]; s2 570 libavcodec/dsputil.c block[6] = s1[6] - s2[6]; s2 571 libavcodec/dsputil.c block[7] = s1[7] - s2[7]; s2 573 libavcodec/dsputil.c s2 += stride; s2 3325 libavcodec/dsputil.c score1+= (s1[x ] - s2[x ])*(s1[x ] - s2[x ]); s2 3331 libavcodec/dsputil.c -FFABS( s2[x ] - s2[x +stride] s2 3332 libavcodec/dsputil.c - s2[x+1] + s2[x+1+stride]); s2 3336 libavcodec/dsputil.c s2+= stride; s2 3351 libavcodec/dsputil.c score1+= (s1[x ] - s2[x ])*(s1[x ] - s2[x ]); s2 3357 libavcodec/dsputil.c -FFABS( s2[x ] - s2[x +stride] s2 3358 libavcodec/dsputil.c - s2[x+1] + s2[x+1+stride]); s2 3362 libavcodec/dsputil.c s2+= stride; s2 3964 libavcodec/dsputil.c score+= FFABS(s1[x ] - s2[x ] - s1[x +stride] + s2[x +stride]); s2 3967 libavcodec/dsputil.c s2+= stride; s2 3998 libavcodec/dsputil.c score+= SQ(s1[x ] - s2[x ] - s1[x +stride] + s2[x +stride]); s2 4001 libavcodec/dsputil.c s2+= stride; s2 4131 libavcodec/dsputil.c int s1,s2; s2 4144 libavcodec/dsputil.c s2 = (181*(a1-a5-a7+a3)+128)>>8; s2 4148 libavcodec/dsputil.c b[2] = (a4-a6 +s2 + (1<<7))>>8; s2 4151 libavcodec/dsputil.c b[5] = (a4-a6 -s2 + (1<<7))>>8; s2 4157 libavcodec/dsputil.c int s1,s2; s2 4170 libavcodec/dsputil.c s2 = (181*(a1-a5-a7+a3)+128)>>8; s2 4174 libavcodec/dsputil.c b[8*2] = (a4-a6 +s2 + (1<<13))>>14; s2 4178 libavcodec/dsputil.c b[8*5] = (a4-a6 -s2 + (1<<13))>>14; s2 199 libavcodec/dsputil.h void (*diff_pixels)(DCTELEM *block/*align 16*/, const uint8_t *s1/*align 8*/, const uint8_t *s2/*align 8*/, int stride); s2 40 libavcodec/eaidct.c const int a2 = (src)[s2] + (src)[s6]; \ s2 41 libavcodec/eaidct.c const int a6 = (ASQRT*((src)[s2] - (src)[s6]))>>8; \ s2 64 libavcodec/fft.c float alpha, c1, s1, s2; s2 82 libavcodec/fft.c s2 = inverse ? 1.0 : -1.0; s2 137 libavcodec/fft.c s1 = sin(alpha) * s2; s2 1385 libavcodec/imgconvert.c const uint8_t *s1, *s2; s2 1390 libavcodec/imgconvert.c s2 = s1 + src_wrap; s2 1393 libavcodec/imgconvert.c d[0] = (s1[0] + s1[1] + s2[0] + s2[1] + 2) >> 2; s2 1394 libavcodec/imgconvert.c d[1] = (s1[2] + s1[3] + s2[2] + s2[3] + 2) >> 2; s2 1395 libavcodec/imgconvert.c d[2] = (s1[4] + s1[5] + s2[4] + s2[5] + 2) >> 2; s2 1396 libavcodec/imgconvert.c d[3] = (s1[6] + s1[7] + s2[6] + s2[7] + 2) >> 2; s2 1398 libavcodec/imgconvert.c s2 += 8; s2 1402 libavcodec/imgconvert.c d[0] = (s1[0] + s1[1] + s2[0] + s2[1] + 2) >> 2; s2 1404 libavcodec/imgconvert.c s2 += 2; s2 1418 libavcodec/imgconvert.c const uint8_t *s1, *s2, *s3, *s4; s2 1423 libavcodec/imgconvert.c s2 = s1 + src_wrap; s2 1424 libavcodec/imgconvert.c s3 = s2 + src_wrap; s2 1429 libavcodec/imgconvert.c s2[0] + s2[1] + s2[2] + s2[3] + s2 1433 libavcodec/imgconvert.c s2 += 4; s2 2308 libavcodec/imgconvert.c const uint8_t *s1, *s2; s2 2312 libavcodec/imgconvert.c s2 = s1 + src_wrap; s2 2315 libavcodec/imgconvert.c d[0] = (s1[0] + s2[0]) >> 1; s2 2316 libavcodec/imgconvert.c d[1] = (s1[1] + s2[1]) >> 1; s2 2317 libavcodec/imgconvert.c d[2] = (s1[2] + s2[2]) >> 1; s2 2318 libavcodec/imgconvert.c d[3] = (s1[3] + s2[3]) >> 1; s2 2320 libavcodec/imgconvert.c s2 += 4; s2 2324 libavcodec/imgconvert.c d[0] = (s1[0] + s2[0]) >> 1; s2 2326 libavcodec/imgconvert.c s2++; s2 2451 libavcodec/imgconvert.c const uint8_t *s1, *s2; s2 2458 libavcodec/imgconvert.c s2 = src + src_wrap; s2 2461 libavcodec/imgconvert.c c = (s1[0] + s2[0]) >> 1; s2 2465 libavcodec/imgconvert.c s2++; s2 50 libavcodec/mlib/dsputil_mlib.c mlib_VectorSub_S16_U8_Mod((mlib_s16 *)block, (mlib_u8 *)s1, (mlib_u8 *)s2, 8); s2 53 libavcodec/mlib/dsputil_mlib.c s2 += line_size; s2 1171 libavcodec/mpeg12.c MpegEncContext *s2 = &s->mpeg_enc_ctx; s2 1177 libavcodec/mpeg12.c s2->dsp.idct_permutation[i]=i; s2 1179 libavcodec/mpeg12.c MPV_decode_defaults(s2); s2 2264 libavcodec/mpeg12.c MpegEncContext *s2 = &s->mpeg_enc_ctx; s2 2269 libavcodec/mpeg12.c if (s2->low_delay==0 && s2->next_picture_ptr) { s2 2270 libavcodec/mpeg12.c *picture= *(AVFrame*)s2->next_picture_ptr; s2 2271 libavcodec/mpeg12.c s2->next_picture_ptr= NULL; s2 2278 libavcodec/mpeg12.c if(s2->flags&CODEC_FLAG_TRUNCATED){ s2 2279 libavcodec/mpeg12.c int next= ff_mpeg1_find_frame_end(&s2->parse_context, buf, buf_size); s2 2281 libavcodec/mpeg12.c if( ff_combine_frame(&s2->parse_context, next, (const uint8_t **)&buf, &buf_size) < 0 ) s2 2313 libavcodec/mpeg12.c MpegEncContext *s2 = &s->mpeg_enc_ctx; s2 2323 libavcodec/mpeg12.c if(s2->pict_type != FF_B_TYPE || avctx->skip_frame <= AVDISCARD_DEFAULT){ s2 2327 libavcodec/mpeg12.c avctx->execute(avctx, slice_decode_thread, (void**)&(s2->thread_context[0]), NULL, s->slice_count, sizeof(void*)); s2 2329 libavcodec/mpeg12.c s2->error_count += s2->thread_context[i]->error_count; s2 2333 libavcodec/mpeg12.c ff_vdpau_mpeg_picture_complete(s2, buf, buf_size, s->slice_count); s2 2336 libavcodec/mpeg12.c if(s2->last_picture_ptr || s2->low_delay) //FIXME merge with the stuff in mpeg_decode_slice s2 2340 libavcodec/mpeg12.c s2->pict_type= 0; s2 2341 libavcodec/mpeg12.c return FFMAX(0, buf_ptr - buf - s2->parse_context.last_index); s2 2361 libavcodec/mpeg12.c s2->pict_type=0; s2 2372 libavcodec/mpeg12.c s2->first_field=0; s2 2381 libavcodec/mpeg12.c if(s2->last_picture_ptr==NULL){ s2 2383 libavcodec/mpeg12.c if(s2->pict_type==FF_B_TYPE) break; s2 2385 libavcodec/mpeg12.c if(s2->next_picture_ptr==NULL){ s2 2387 libavcodec/mpeg12.c if(s2->pict_type==FF_P_TYPE && (s2->first_field || s2->picture_structure==PICT_FRAME)) break; s2 2390 libavcodec/mpeg12.c if(avctx->hurry_up && s2->pict_type==FF_B_TYPE) break; s2 2391 libavcodec/mpeg12.c if( (avctx->skip_frame >= AVDISCARD_NONREF && s2->pict_type==FF_B_TYPE) s2 2392 libavcodec/mpeg12.c ||(avctx->skip_frame >= AVDISCARD_NONKEY && s2->pict_type!=FF_I_TYPE) s2 2400 libavcodec/mpeg12.c if(s2->codec_id == CODEC_ID_MPEG2VIDEO){ s2 2401 libavcodec/mpeg12.c if(mb_y < avctx->skip_top || mb_y >= s2->mb_height - avctx->skip_bottom) s2 2405 libavcodec/mpeg12.c if(!s2->pict_type){ s2 2410 libavcodec/mpeg12.c if(s2->first_slice){ s2 2411 libavcodec/mpeg12.c s2->first_slice=0; s2 2412 libavcodec/mpeg12.c if(mpeg_field_start(s2, buf, buf_size) < 0) s2 2415 libavcodec/mpeg12.c if(!s2->current_picture_ptr){ s2 2426 libavcodec/mpeg12.c int threshold= (s2->mb_height*s->slice_count + avctx->thread_count/2) / avctx->thread_count; s2 2428 libavcodec/mpeg12.c MpegEncContext *thread_context= s2->thread_context[s->slice_count]; s2 2431 libavcodec/mpeg12.c thread_context->end_mb_y = s2->mb_height; s2 2433 libavcodec/mpeg12.c s2->thread_context[s->slice_count-1]->end_mb_y= mb_y; s2 2434 libavcodec/mpeg12.c ff_update_duplicate_context(thread_context, s2); s2 2445 libavcodec/mpeg12.c if(s2->resync_mb_x>=0 && s2->resync_mb_y>=0) s2 2446 libavcodec/mpeg12.c ff_er_add_slice(s2, s2->resync_mb_x, s2->resync_mb_y, s2->mb_x, s2->mb_y, AC_ERROR|DC_ERROR|MV_ERROR); s2 2448 libavcodec/mpeg12.c ff_er_add_slice(s2, s2->resync_mb_x, s2->resync_mb_y, s2->mb_x-1, s2->mb_y, AC_END|DC_END|MV_END); s2 1012 libavcodec/mpegaudiodec.c int i, j, t0, t1, t2, t3, s0, s1, s2, s3; s2 1085 libavcodec/mpegaudiodec.c s2 = t1 - t0; s2 1099 libavcodec/mpegaudiodec.c t0 = s2 + s3; s2 1100 libavcodec/mpegaudiodec.c t1 = s2 - s3; s2 526 libavcodec/ppc/dsputil_altivec.c perm = vec_lvsl(0, s2); s2 527 libavcodec/ppc/dsputil_altivec.c pixv = (vector unsigned char *) s2; s2 540 libavcodec/ppc/dsputil_altivec.c s2 += stride; s2 558 libavcodec/ppc/dsputil_altivec.c perm = vec_lvsl(0, s2); s2 559 libavcodec/ppc/dsputil_altivec.c pixv = (vector unsigned char *) s2; s2 572 libavcodec/ppc/dsputil_altivec.c s2 += stride; s2 48 libavcodec/ppc/float_altivec.c s2, s3, zero = (vector float)vec_splat_u32(0); s2 56 libavcodec/ppc/float_altivec.c s2 = vec_ld(16, src0+i); s2 66 libavcodec/ppc/float_altivec.c d = vec_madd(s2, s3, zero); s2 76 libavcodec/ppc/float_altivec.c vector float d, s0, s1, s2, t0, t1, edges; s2 91 libavcodec/ppc/float_altivec.c s2 = vec_ld(0,src2+i); s2 97 libavcodec/ppc/float_altivec.c d = vec_madd(s0,s1,s2); // [A B C D] s2 141 libavcodec/ppc/float_altivec.c s2 = vec_ld(0, src2+i); s2 143 libavcodec/ppc/float_altivec.c d = vec_madd(s0,s1,s2); s2 486 libavcodec/ppc/h264_altivec.c vec_s16 a4v = vec_sub(vec_sra(s2, onev), s6); \ s2 488 libavcodec/ppc/h264_altivec.c vec_s16 a6v = vec_add(vec_sra(s6, onev), s2); \ s2 556 libavcodec/ppc/h264_altivec.c vec_s16 s0, s1, s2, s3, s4, s5, s6, s7; s2 574 libavcodec/ppc/h264_altivec.c s2 = vec_ld(0x20, (int16_t*)dct); s2 581 libavcodec/ppc/h264_altivec.c IDCT8_1D_ALTIVEC(s0, s1, s2, s3, s4, s5, s6, s7, s2 38 libavcodec/ppc/vc1dsp_altivec.c t2 = vec_add(t2, vec_sl(s2, vec_4)); \ s2 39 libavcodec/ppc/vc1dsp_altivec.c t3 = vec_add(vec_sl(s2, vec_2), vec_sl(s2, vec_1)); \ s2 68 libavcodec/ppc/vc1dsp_altivec.c s2 = vec_add(t6, t2); \ s2 80 libavcodec/ppc/vc1dsp_altivec.c s2 = vec_sra(s2, vec_3); \ s2 92 libavcodec/ppc/vc1dsp_altivec.c s2 = vec_sra(s2, vec_7); \ s2 105 libavcodec/ppc/vc1dsp_altivec.c t2 = vec_add(vec_sl(s2, vec_4), s2); \ s2 115 libavcodec/ppc/vc1dsp_altivec.c s2 = vec_add(t1, t3); \ s2 122 libavcodec/ppc/vc1dsp_altivec.c s2 = vec_sra(s2, vec_3); \ s2 128 libavcodec/ppc/vc1dsp_altivec.c s2 = vec_sra(s2, vec_7); \ s2 136 libavcodec/ppc/vc1dsp_altivec.c vector signed int s0, s1, s2, s3, s4, s5, s6, s7; s2 161 libavcodec/ppc/vc1dsp_altivec.c s2 = vec_unpackl(src2); s2 175 libavcodec/ppc/vc1dsp_altivec.c STEP8(s0, s1, s2, s3, s4, s5, s6, s7, vec_4s); s2 176 libavcodec/ppc/vc1dsp_altivec.c SHIFT_HOR8(s0, s1, s2, s3, s4, s5, s6, s7); s2 181 libavcodec/ppc/vc1dsp_altivec.c src2 = vec_pack(sA, s2); s2 191 libavcodec/ppc/vc1dsp_altivec.c s2 = vec_unpackl(src2); s2 205 libavcodec/ppc/vc1dsp_altivec.c STEP8(s0, s1, s2, s3, s4, s5, s6, s7, vec_64); s2 206 libavcodec/ppc/vc1dsp_altivec.c SHIFT_VERT8(s0, s1, s2, s3, s4, s5, s6, s7); s2 211 libavcodec/ppc/vc1dsp_altivec.c src2 = vec_pack(sA, s2); s2 233 libavcodec/ppc/vc1dsp_altivec.c vector signed int s0, s1, s2, s3, s4, s5, s6, s7; s2 260 libavcodec/ppc/vc1dsp_altivec.c s2 = vec_unpackl(src2); s2 274 libavcodec/ppc/vc1dsp_altivec.c STEP8(s0, s1, s2, s3, s4, s5, s6, s7, vec_4s); s2 275 libavcodec/ppc/vc1dsp_altivec.c SHIFT_HOR8(s0, s1, s2, s3, s4, s5, s6, s7); s2 280 libavcodec/ppc/vc1dsp_altivec.c src2 = vec_pack(sA, s2); s2 290 libavcodec/ppc/vc1dsp_altivec.c s2 = vec_unpackh(src2); s2 296 libavcodec/ppc/vc1dsp_altivec.c STEP4(s0, s1, s2, s3, vec_64); s2 297 libavcodec/ppc/vc1dsp_altivec.c SHIFT_VERT4(s0, s1, s2, s3); s2 302 libavcodec/ppc/vc1dsp_altivec.c src2 = vec_pack(s2, sA); s2 143 libavcodec/ra144.c dest[i] = (s1[i]*v[0] + s2[i]*v[1] + s3[i]*v[2]) >> 12; s2 146 libavcodec/ra144.c dest[i] = ( s2[i]*v[1] + s3[i]*v[2]) >> 12; s2 75 libavcodec/vp5.c int s2, s1 = v >> 31; s2 80 libavcodec/vp5.c s2 = v >> 31; s2 81 libavcodec/vp5.c v ^= s2; s2 82 libavcodec/vp5.c v -= s2; s2 117 libavcodec/x86/dsputilenc_mmx.c : "+r" (s1), "+r" (s2) s2 405 libavcodec/x86/snowdsp_mmx.c "psubw %%"s2", %%"t2" \n\t"\ s2 411 libavcodec/x86/snowdsp_mmx.c "movdqa %%"s2", 32("w",%%"REG_d") \n\t"\ s2 423 libavcodec/x86/snowdsp_mmx.c "paddw %%"s2", %%"t2" \n\t"\ s2 429 libavcodec/x86/snowdsp_mmx.c "pmulhw %%"s2", %%"t2" \n\t"\ s2 435 libavcodec/x86/snowdsp_mmx.c "movdqa %%"s2", %%"t2" \n\t"\ s2 526 libavcodec/x86/snowdsp_mmx.c "movq %%"s2", 16("w",%%"REG_d") \n\t"\ s2 532 libavcodec/x86/snowdsp_mmx.c "movq %%"s2", %%"t2" \n\t"\ s2 29 libavutil/adler32.c #define DO1(buf) {s1 += *buf++; s2 += s1;} s2 36 libavutil/adler32.c unsigned long s2 = adler >> 16; s2 40 libavutil/adler32.c while(len>4 && s2 < (1U<<31)){ s2 43 libavutil/adler32.c while(len>16 && s2 < (1U<<31)){ s2 49 libavutil/adler32.c s2 %= BASE; s2 51 libavutil/adler32.c return (s2 << 16) | s1; s2 2568 libswscale/rgb2rgb_template.c const uint8_t* s2=src2+srcStride2*(y>>1); s2 2601 libswscale/rgb2rgb_template.c :"m"(s2[x]) s2 2605 libswscale/rgb2rgb_template.c for (;x<w;x++) d[2*x]=d[2*x+1]=s2[x];