s1 28 libavcodec/aac_ac3_parser.c int ff_aac_ac3_parse(AVCodecParserContext *s1, s1 33 libavcodec/aac_ac3_parser.c AACAC3ParseContext *s = s1->priv_data; s1 107 libavcodec/aac_ac3_parser.c s1->duration = s->samples; s1 61 libavcodec/aac_ac3_parser.h int ff_aac_ac3_parse(AVCodecParserContext *s1, s1 54 libavcodec/aac_parser.c static av_cold int aac_parse_init(AVCodecParserContext *s1) s1 56 libavcodec/aac_parser.c AACAC3ParseContext *s = s1->priv_data; s1 1564 libavcodec/aacdec.c union av_intfloat32 s0, s1; s1 1566 libavcodec/aacdec.c s0.f = s1.f = *scale; s1 1568 libavcodec/aacdec.c s1.i ^= sign << 31; s1 1571 libavcodec/aacdec.c *dst++ = v[idx>>4 & 15] * s1.f; s1 198 libavcodec/ac3_parser.c static av_cold int ac3_parse_init(AVCodecParserContext *s1) s1 200 libavcodec/ac3_parser.c AACAC3ParseContext *s = s1->priv_data; s1 39 libavcodec/adx.h int s1,s2; s1 39 libavcodec/adx_parser.c static int adx_parse(AVCodecParserContext *s1, s1 44 libavcodec/adx_parser.c ADXParseContext *s = s1->priv_data; s1 84 libavcodec/adx_parser.c s1->duration = BLOCK_SAMPLES; s1 72 libavcodec/adxdec.c int s0, s1, s2, d; s1 80 libavcodec/adxdec.c s1 = prev->s1; s1 84 libavcodec/adxdec.c s0 = ((d << COEFF_BITS) * scale + c->coeff[0] * s1 + c->coeff[1] * s2) >> COEFF_BITS; s1 85 libavcodec/adxdec.c s2 = s1; s1 86 libavcodec/adxdec.c s1 = av_clip_int16(s0); s1 87 libavcodec/adxdec.c *out++ = s1; s1 89 libavcodec/adxdec.c prev->s1 = s1; s1 43 libavcodec/adxenc.c int s0, s1, s2, d; s1 47 libavcodec/adxenc.c s1 = prev->s1; s1 51 libavcodec/adxenc.c d = ((s0 << COEFF_BITS) - c->coeff[0] * s1 - c->coeff[1] * s2) >> COEFF_BITS; s1 56 libavcodec/adxenc.c s2 = s1; s1 57 libavcodec/adxenc.c s1 = s0; s1 61 libavcodec/adxenc.c prev->s1 = s1; s1 79 libavcodec/adxenc.c s1 = prev->s1; s1 82 libavcodec/adxenc.c d = ((wav[i] << COEFF_BITS) - c->coeff[0] * s1 - c->coeff[1] * s2) >> COEFF_BITS; s1 88 libavcodec/adxenc.c s0 = ((d << COEFF_BITS) * scale + c->coeff[0] * s1 + c->coeff[1] * s2) >> COEFF_BITS; s1 89 libavcodec/adxenc.c s2 = s1; s1 90 libavcodec/adxenc.c s1 = s0; s1 92 libavcodec/adxenc.c prev->s1 = s1; s1 42 libavcodec/alpha/pixblockdsp_alpha.c static void diff_pixels_mvi(int16_t *block, const uint8_t *s1, const uint8_t *s2, s1 53 libavcodec/alpha/pixblockdsp_alpha.c x = ldq(s1); s1 64 libavcodec/alpha/pixblockdsp_alpha.c s1 += stride; s1 28 libavcodec/arm/pixblockdsp_init_arm.c void ff_diff_pixels_armv6(int16_t *block, const uint8_t *s1, s1 148 libavcodec/atrac.c float s1 = 0.0; s1 152 libavcodec/atrac.c s1 += p1[i] * qmf_window[i]; s1 157 libavcodec/atrac.c pOut[1] = s1; s1 473 libavcodec/atrac3.c int s1 = prev_code[i]; s1 477 libavcodec/atrac3.c if (s1 != s2) { s1 479 libavcodec/atrac3.c mc1_l = matrix_coeffs[s1 * 2 ]; s1 480 libavcodec/atrac3.c mc1_r = matrix_coeffs[s1 * 2 + 1]; s1 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) {\ s1 43 libavcodec/binkdsp.c const int a6 = (src)[s1] + (src)[s7]; \ s1 44 libavcodec/binkdsp.c const int a7 = (src)[s1] - (src)[s7]; \ s1 37 libavcodec/cook_parser.c static int cook_parse(AVCodecParserContext *s1, AVCodecContext *avctx, s1 41 libavcodec/cook_parser.c CookParseContext *s = s1->priv_data; s1 47 libavcodec/cook_parser.c s1->duration = s->duration; s1 659 libavcodec/dcadec.c #define MIX_REAR1(samples, s1, rs, coef) \ s1 660 libavcodec/dcadec.c samples[0][i] += samples[s1][i] * coef[rs][0]; \ s1 661 libavcodec/dcadec.c samples[1][i] += samples[s1][i] * coef[rs][1]; s1 663 libavcodec/dcadec.c #define MIX_REAR2(samples, s1, s2, rs, coef) \ s1 664 libavcodec/dcadec.c samples[0][i] += samples[s1][i] * coef[rs][0] + samples[s2][i] * coef[rs + 1][0]; \ s1 665 libavcodec/dcadec.c samples[1][i] += samples[s1][i] * coef[rs][1] + samples[s2][i] * coef[rs + 1][1]; s1 58 libavcodec/diracdsp.c const uint8_t *s1 = src[1]; \ s1 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); \ s1 70 libavcodec/diracdsp.c s1 += stride; \ s1 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) {\ s1 37 libavcodec/eaidct.c const int a1 = (src)[s1] + (src)[s7]; \ s1 38 libavcodec/eaidct.c const int a7 = (src)[s1] - (src)[s7]; \ s1 86 libavcodec/fft-test.c double c1 = cos(alpha), s1 = sin(alpha); s1 88 libavcodec/fft-test.c s1 = -s1; s1 90 libavcodec/fft-test.c exptab[i].im = s1; s1 54 libavcodec/flacdsp.c int s0 = 0, s1 = 0; s1 58 libavcodec/flacdsp.c s1 += c*d; s1 63 libavcodec/flacdsp.c s1 += c*d; s1 64 libavcodec/flacdsp.c decoded[j + 1] += s1 >> qlevel; s1 38 libavcodec/gsm_parser.c static int gsm_parse(AVCodecParserContext *s1, AVCodecContext *avctx, s1 42 libavcodec/gsm_parser.c GSMParseContext *s = s1->priv_data; s1 81 libavcodec/gsm_parser.c s1->duration = s->duration; s1 2327 libavcodec/hevc.c HEVCContext *s1 = avctxt->priv_data, *s; s1 2329 libavcodec/hevc.c int ctb_size = 1<< s1->sps->log2_ctb_size; s1 2333 libavcodec/hevc.c int ctb_addr_rs = s1->sh.slice_ctb_addr_rs + ctb_row * ((s1->sps->width + ctb_size - 1) >> s1->sps->log2_ctb_size); s1 2334 libavcodec/hevc.c int ctb_addr_ts = s1->pps->ctb_addr_rs_to_ts[ctb_addr_rs]; s1 2335 libavcodec/hevc.c int thread = ctb_row % s1->threads_number; s1 2338 libavcodec/hevc.c s = s1->sList[self_id]; s1 2357 libavcodec/hevc.c if (avpriv_atomic_int_get(&s1->wpp_err)){ s1 2378 libavcodec/hevc.c avpriv_atomic_int_set(&s1->wpp_err, 1); s1 88 libavcodec/hqx.c int s0, s1, s2, s3, s4, s5, s6, s7; s1 91 libavcodec/hqx.c s1 = (int) blk[1 * 8] * quant[1 * 8]; s1 101 libavcodec/hqx.c t2 = ((s7 * 4520 + s1 * 22725) >> 15) - t0; s1 102 libavcodec/hqx.c t3 = ((s1 * 4520 - s7 * 22725) >> 15) - t1; s1 97 libavcodec/imgconvert.c const uint8_t *s1, *s2; s1 101 libavcodec/imgconvert.c s1 = src; s1 102 libavcodec/imgconvert.c s2 = s1 + src_wrap; s1 105 libavcodec/imgconvert.c d[0] = (s1[0] + s1[1] + s2[0] + s2[1] + 2) >> 2; s1 106 libavcodec/imgconvert.c d[1] = (s1[2] + s1[3] + s2[2] + s2[3] + 2) >> 2; s1 107 libavcodec/imgconvert.c d[2] = (s1[4] + s1[5] + s2[4] + s2[5] + 2) >> 2; s1 108 libavcodec/imgconvert.c d[3] = (s1[6] + s1[7] + s2[6] + s2[7] + 2) >> 2; s1 109 libavcodec/imgconvert.c s1 += 8; s1 114 libavcodec/imgconvert.c d[0] = (s1[0] + s1[1] + s2[0] + s2[1] + 2) >> 2; s1 115 libavcodec/imgconvert.c s1 += 2; s1 130 libavcodec/imgconvert.c const uint8_t *s1, *s2, *s3, *s4; s1 134 libavcodec/imgconvert.c s1 = src; s1 135 libavcodec/imgconvert.c s2 = s1 + src_wrap; s1 140 libavcodec/imgconvert.c d[0] = (s1[0] + s1[1] + s1[2] + s1[3] + s1 144 libavcodec/imgconvert.c s1 += 4; s1 237 libavcodec/ivi_dsp.c #define IVI_HAAR_BFLY(s1, s2, o1, o2, t) \ s1 238 libavcodec/ivi_dsp.c t = ((s1) - (s2)) >> 1;\ s1 239 libavcodec/ivi_dsp.c o1 = ((s1) + (s2)) >> 1;\ s1 243 libavcodec/ivi_dsp.c #define INV_HAAR8(s1, s5, s3, s7, s2, s4, s6, s8,\ s1 246 libavcodec/ivi_dsp.c t1 = (s1) << 1; t5 = (s5) << 1;\ s1 261 libavcodec/ivi_dsp.c #define INV_HAAR4(s1, s3, s5, s7, d1, d2, d3, d4, t0, t1, t2, t3, t4) {\ s1 262 libavcodec/ivi_dsp.c IVI_HAAR_BFLY(s1, s3, t0, t1, t4);\ s1 487 libavcodec/ivi_dsp.c #define IVI_SLANT_BFLY(s1, s2, o1, o2, t) \ s1 488 libavcodec/ivi_dsp.c t = (s1) - (s2);\ s1 489 libavcodec/ivi_dsp.c o1 = (s1) + (s2);\ s1 493 libavcodec/ivi_dsp.c #define IVI_IREFLECT(s1, s2, o1, o2, t) \ s1 494 libavcodec/ivi_dsp.c t = (((s1) + (s2)*2 + 2) >> 2) + (s1);\ s1 495 libavcodec/ivi_dsp.c o2 = (((s1)*2 - (s2) + 2) >> 2) - (s2);\ s1 499 libavcodec/ivi_dsp.c #define IVI_SLANT_PART4(s1, s2, o1, o2, t) \ s1 500 libavcodec/ivi_dsp.c t = (s2) + (((s1)*4 - (s2) + 4) >> 3);\ s1 501 libavcodec/ivi_dsp.c o2 = (s1) + ((-(s1) - (s2)*4 + 4) >> 3);\ s1 505 libavcodec/ivi_dsp.c #define IVI_INV_SLANT8(s1, s4, s8, s5, s2, s6, s3, s7,\ s1 510 libavcodec/ivi_dsp.c IVI_SLANT_BFLY(s1, t5, t1, t5, t0); IVI_SLANT_BFLY(s2, s6, t2, t6, t0);\ s1 527 libavcodec/ivi_dsp.c #define IVI_INV_SLANT4(s1, s4, s2, s3, d1, d2, d3, d4, t0, t1, t2, t3, t4) {\ s1 528 libavcodec/ivi_dsp.c IVI_SLANT_BFLY(s1, s2, t1, t2, t0); IVI_IREFLECT (s4, s3, t4, t3, t0);\ s1 42 libavcodec/latm_parser.c static int latm_find_frame_end(AVCodecParserContext *s1, const uint8_t *buf, s1 45 libavcodec/latm_parser.c LATMParseContext *s = s1->priv_data; s1 83 libavcodec/latm_parser.c static int latm_parse(AVCodecParserContext *s1, AVCodecContext *avctx, s1 87 libavcodec/latm_parser.c LATMParseContext *s = s1->priv_data; s1 91 libavcodec/latm_parser.c if (s1->flags & PARSER_FLAG_COMPLETE_FRAMES) { s1 94 libavcodec/latm_parser.c next = latm_find_frame_end(s1, buf, buf_size); s1 314 libavcodec/me_cmp.c static int nsse16_c(MpegEncContext *c, uint8_t *s1, uint8_t *s2, s1 321 libavcodec/me_cmp.c score1 += (s1[x] - s2[x]) * (s1[x] - s2[x]); s1 324 libavcodec/me_cmp.c score2 += FFABS(s1[x] - s1[x + stride] - s1 325 libavcodec/me_cmp.c s1[x + 1] + s1[x + stride + 1]) - s1 329 libavcodec/me_cmp.c s1 += stride; s1 339 libavcodec/me_cmp.c static int nsse8_c(MpegEncContext *c, uint8_t *s1, uint8_t *s2, s1 346 libavcodec/me_cmp.c score1 += (s1[x] - s2[x]) * (s1[x] - s2[x]); s1 349 libavcodec/me_cmp.c score2 += FFABS(s1[x] - s1[x + stride] - s1 350 libavcodec/me_cmp.c s1[x + 1] + s1[x + stride + 1]) - s1 354 libavcodec/me_cmp.c s1 += stride; s1 821 libavcodec/me_cmp.c uint8_t *s1, uint8_t *s2, \ s1 828 libavcodec/me_cmp.c score += FFABS(s1[x] - s2[x] - s1[x + stride] + s2[x + stride]); \ s1 829 libavcodec/me_cmp.c s1 += stride; \ s1 862 libavcodec/me_cmp.c static int vsse ## size ## _c(MpegEncContext *c, uint8_t *s1, uint8_t *s2, \ s1 869 libavcodec/me_cmp.c score += SQ(s1[x] - s2[x] - s1[x + stride] + s2[x + stride]); \ s1 870 libavcodec/me_cmp.c s1 += stride; \ s1 353 libavcodec/mips/mpegaudiodsp_mips_fixed.c int t0, t1, t2, t3, s0, s1, s2, s3; s1 875 libavcodec/mips/mpegaudiodsp_mips_fixed.c [temp_reg2] "=&r" (temp_reg2), [s1] "=&r" (s1), [s3] "=&r" (s3), s1 792 libavcodec/mips/mpegaudiodsp_mips_float.c float t0, t1, t2, t3, s0, s1, s2, s3; s1 1219 libavcodec/mips/mpegaudiodsp_mips_float.c [s0] "=&f" (s0), [s1] "=&f" (s1), s1 1154 libavcodec/mpeg12dec.c MpegEncContext *s = &ctx->mpeg_enc_ctx, *s1 = &ctx_from->mpeg_enc_ctx; s1 1159 libavcodec/mpeg12dec.c !s1->context_initialized) s1 1167 libavcodec/mpeg12dec.c memcpy(s + 1, s1 + 1, sizeof(Mpeg1Context) - sizeof(MpegEncContext)); s1 1233 libavcodec/mpeg12dec.c Mpeg1Context *s1 = avctx->priv_data; s1 1234 libavcodec/mpeg12dec.c MpegEncContext *s = &s1->mpeg_enc_ctx; s1 1257 libavcodec/mpeg12dec.c Mpeg1Context *s1 = avctx->priv_data; s1 1258 libavcodec/mpeg12dec.c MpegEncContext *s = &s1->mpeg_enc_ctx; s1 1271 libavcodec/mpeg12dec.c Mpeg1Context *s1 = avctx->priv_data; s1 1272 libavcodec/mpeg12dec.c MpegEncContext *s = &s1->mpeg_enc_ctx; s1 1284 libavcodec/mpeg12dec.c (AVRational) { s1->pan_scan.width, s1 1285 libavcodec/mpeg12dec.c s1->pan_scan.height }), s1 1292 libavcodec/mpeg12dec.c if ((s1->pan_scan.width == 0) || (s1->pan_scan.height == 0) || s1 1301 libavcodec/mpeg12dec.c (AVRational) { s1->pan_scan.width, s1->pan_scan.height }); s1 1320 libavcodec/mpeg12dec.c if ((s1->mpeg_enc_ctx_allocated == 0) || s1 1323 libavcodec/mpeg12dec.c s1->save_width != s->width || s1 1324 libavcodec/mpeg12dec.c s1->save_height != s->height || s1 1325 libavcodec/mpeg12dec.c av_cmp_q(s1->save_aspect, s->avctx->sample_aspect_ratio) || s1 1326 libavcodec/mpeg12dec.c (s1->save_progressive_seq != s->progressive_sequence && FFALIGN(s->height, 16) != FFALIGN(s->height, 32)) || s1 1328 libavcodec/mpeg12dec.c if (s1->mpeg_enc_ctx_allocated) { s1 1333 libavcodec/mpeg12dec.c s1->mpeg_enc_ctx_allocated = 0; s1 1346 libavcodec/mpeg12dec.c s1->save_aspect = s->avctx->sample_aspect_ratio; s1 1347 libavcodec/mpeg12dec.c s1->save_width = s->width; s1 1348 libavcodec/mpeg12dec.c s1->save_height = s->height; s1 1349 libavcodec/mpeg12dec.c s1->save_progressive_seq = s->progressive_sequence; s1 1363 libavcodec/mpeg12dec.c ff_mpeg12_frame_rate_tab[s->frame_rate_index].num * s1->frame_rate_ext.num, s1 1364 libavcodec/mpeg12dec.c ff_mpeg12_frame_rate_tab[s->frame_rate_index].den * s1->frame_rate_ext.den, s1 1385 libavcodec/mpeg12dec.c s1->mpeg_enc_ctx_allocated = 1; s1 1393 libavcodec/mpeg12dec.c Mpeg1Context *s1 = avctx->priv_data; s1 1394 libavcodec/mpeg12dec.c MpegEncContext *s = &s1->mpeg_enc_ctx; s1 1437 libavcodec/mpeg12dec.c static void mpeg_decode_sequence_extension(Mpeg1Context *s1) s1 1439 libavcodec/mpeg12dec.c MpegEncContext *s = &s1->mpeg_enc_ctx; s1 1461 libavcodec/mpeg12dec.c s1->frame_rate_ext.num = get_bits(&s->gb, 2) + 1; s1 1462 libavcodec/mpeg12dec.c s1->frame_rate_ext.den = get_bits(&s->gb, 5) + 1; s1 1474 libavcodec/mpeg12dec.c static void mpeg_decode_sequence_display_extension(Mpeg1Context *s1) s1 1476 libavcodec/mpeg12dec.c MpegEncContext *s = &s1->mpeg_enc_ctx; s1 1491 libavcodec/mpeg12dec.c s1->pan_scan.width = 16 * w; s1 1492 libavcodec/mpeg12dec.c s1->pan_scan.height = 16 * h; s1 1498 libavcodec/mpeg12dec.c static void mpeg_decode_picture_display_extension(Mpeg1Context *s1) s1 1500 libavcodec/mpeg12dec.c MpegEncContext *s = &s1->mpeg_enc_ctx; s1 1518 libavcodec/mpeg12dec.c s1->pan_scan.position[i][0] = get_sbits(&s->gb, 16); s1 1520 libavcodec/mpeg12dec.c s1->pan_scan.position[i][1] = get_sbits(&s->gb, 16); s1 1527 libavcodec/mpeg12dec.c s1->pan_scan.position[0][0], s1->pan_scan.position[0][1], s1 1528 libavcodec/mpeg12dec.c s1->pan_scan.position[1][0], s1->pan_scan.position[1][1], s1 1529 libavcodec/mpeg12dec.c s1->pan_scan.position[2][0], s1->pan_scan.position[2][1]); s1 1569 libavcodec/mpeg12dec.c static void mpeg_decode_picture_coding_extension(Mpeg1Context *s1) s1 1571 libavcodec/mpeg12dec.c MpegEncContext *s = &s1->mpeg_enc_ctx; s1 1578 libavcodec/mpeg12dec.c if (!s->pict_type && s1->mpeg_enc_ctx_allocated) { s1 1631 libavcodec/mpeg12dec.c Mpeg1Context *s1 = (Mpeg1Context *) s; s1 1658 libavcodec/mpeg12dec.c sizeof(s1->pan_scan)); s1 1661 libavcodec/mpeg12dec.c memcpy(pan_scan->data, &s1->pan_scan, sizeof(s1->pan_scan)); s1 1663 libavcodec/mpeg12dec.c if (s1->a53_caption) { s1 1666 libavcodec/mpeg12dec.c s1->a53_caption_size); s1 1668 libavcodec/mpeg12dec.c memcpy(sd->data, s1->a53_caption, s1->a53_caption_size); s1 1669 libavcodec/mpeg12dec.c av_freep(&s1->a53_caption); s1 1672 libavcodec/mpeg12dec.c if (s1->has_stereo3d) { s1 1677 libavcodec/mpeg12dec.c *stereo = s1->stereo3d; s1 1678 libavcodec/mpeg12dec.c s1->has_stereo3d = 0; s1 1681 libavcodec/mpeg12dec.c if (s1->has_afd) { s1 1688 libavcodec/mpeg12dec.c *sd->data = s1->afd; s1 1689 libavcodec/mpeg12dec.c s1->has_afd = 0; s1 2057 libavcodec/mpeg12dec.c Mpeg1Context *s1 = avctx->priv_data; s1 2058 libavcodec/mpeg12dec.c MpegEncContext *s = &s1->mpeg_enc_ctx; s1 2060 libavcodec/mpeg12dec.c if (!s1->mpeg_enc_ctx_allocated || !s->current_picture_ptr) s1 2070 libavcodec/mpeg12dec.c if (/* s->mb_y << field_pic == s->mb_height && */ !s->first_field && !s1->first_slice) { s1 2106 libavcodec/mpeg12dec.c Mpeg1Context *s1 = avctx->priv_data; s1 2107 libavcodec/mpeg12dec.c MpegEncContext *s = &s1->mpeg_enc_ctx; s1 2194 libavcodec/mpeg12dec.c Mpeg1Context *s1 = avctx->priv_data; s1 2195 libavcodec/mpeg12dec.c MpegEncContext *s = &s1->mpeg_enc_ctx; s1 2200 libavcodec/mpeg12dec.c if (s1->mpeg_enc_ctx_allocated) { s1 2202 libavcodec/mpeg12dec.c s1->mpeg_enc_ctx_allocated = 0; s1 2215 libavcodec/mpeg12dec.c s1->mpeg_enc_ctx_allocated = 1; s1 2240 libavcodec/mpeg12dec.c s1->save_width = s->width; s1 2241 libavcodec/mpeg12dec.c s1->save_height = s->height; s1 2242 libavcodec/mpeg12dec.c s1->save_progressive_seq = s->progressive_sequence; s1 2249 libavcodec/mpeg12dec.c Mpeg1Context *s1 = avctx->priv_data; s1 2257 libavcodec/mpeg12dec.c av_freep(&s1->a53_caption); s1 2258 libavcodec/mpeg12dec.c s1->a53_caption_size = cc_count * 3; s1 2259 libavcodec/mpeg12dec.c s1->a53_caption = av_malloc(s1->a53_caption_size); s1 2260 libavcodec/mpeg12dec.c if (s1->a53_caption) s1 2261 libavcodec/mpeg12dec.c memcpy(s1->a53_caption, p + 7, s1->a53_caption_size); s1 2275 libavcodec/mpeg12dec.c av_freep(&s1->a53_caption); s1 2276 libavcodec/mpeg12dec.c s1->a53_caption_size = cc_count * 6; s1 2277 libavcodec/mpeg12dec.c s1->a53_caption = av_malloc(s1->a53_caption_size); s1 2278 libavcodec/mpeg12dec.c if (s1->a53_caption) { s1 2280 libavcodec/mpeg12dec.c uint8_t *cap = s1->a53_caption; s1 2304 libavcodec/mpeg12dec.c Mpeg1Context *s1 = avctx->priv_data; s1 2338 libavcodec/mpeg12dec.c s1->has_afd = 1; s1 2339 libavcodec/mpeg12dec.c s1->afd = p[0] & 0x0f; s1 2352 libavcodec/mpeg12dec.c s1->has_stereo3d = 1; s1 2356 libavcodec/mpeg12dec.c s1->stereo3d.type = AV_STEREO3D_SIDEBYSIDE; s1 2359 libavcodec/mpeg12dec.c s1->stereo3d.type = AV_STEREO3D_TOPBOTTOM; s1 2362 libavcodec/mpeg12dec.c s1->stereo3d.type = AV_STEREO3D_2D; s1 2365 libavcodec/mpeg12dec.c s1->stereo3d.type = AV_STEREO3D_SIDEBYSIDE_QUINCUNX; s1 2377 libavcodec/mpeg12dec.c Mpeg1Context *s1 = avctx->priv_data; s1 2378 libavcodec/mpeg12dec.c MpegEncContext *s = &s1->mpeg_enc_ctx; s1 76 libavcodec/mpeg4video_parser.c static int mpeg4_decode_header(AVCodecParserContext *s1, AVCodecContext *avctx, s1 79 libavcodec/mpeg4video_parser.c struct Mp4vParseContext *pc = s1->priv_data; s1 103 libavcodec/mpeg4video_parser.c if((s1->flags & PARSER_FLAG_USE_CODEC_TS) && s->avctx->time_base.den>0 && ret>=0){ s1 104 libavcodec/mpeg4video_parser.c av_assert1(s1->pts == AV_NOPTS_VALUE); s1 105 libavcodec/mpeg4video_parser.c av_assert1(s1->dts == AV_NOPTS_VALUE); s1 107 libavcodec/mpeg4video_parser.c s1->pts = av_rescale_q(s->time, (AVRational){1, s->avctx->time_base.den}, (AVRational){1, 1200000}); s1 110 libavcodec/mpeg4video_parser.c s1->pict_type = s->pict_type; s1 2688 libavcodec/mpeg4videodec.c const Mpeg4DecContext *s1 = src->priv_data; s1 2696 libavcodec/mpeg4videodec.c memcpy(((uint8_t*)s) + sizeof(MpegEncContext), ((uint8_t*)s1) + sizeof(MpegEncContext), sizeof(Mpeg4DecContext) - sizeof(MpegEncContext)); s1 2698 libavcodec/mpeg4videodec.c if (CONFIG_MPEG4_DECODER && !init && s1->xvid_build >= 0) s1 42 libavcodec/mpegaudio_parser.c static int mpegaudio_parse(AVCodecParserContext *s1, s1 47 libavcodec/mpegaudio_parser.c MpegAudioParseContext *s = s1->priv_data; s1 86 libavcodec/mpegaudio_parser.c s1->duration = frame_size; s1 94 libavcodec/mpegaudio_parser.c if (s1->flags & PARSER_FLAG_COMPLETE_FRAMES) { s1 117 libavcodec/mpegaudiodecheader.c MPADecodeHeader s1, *s = &s1; s1 306 libavcodec/mpegaudiodsp_template.c INTFLOAT t0, t1, t2, t3, s0, s1, s2, s3; s1 354 libavcodec/mpegaudiodsp_template.c s1 = MULH3(t3 + t2, icos36h[ j], 2); s1 357 libavcodec/mpegaudiodsp_template.c t0 = s0 + s1; s1 358 libavcodec/mpegaudiodsp_template.c t1 = s0 - s1; s1 374 libavcodec/mpegaudiodsp_template.c s1 = MULH3(tmp[17], icos36h[4], 2); s1 375 libavcodec/mpegaudiodsp_template.c t0 = s0 + s1; s1 376 libavcodec/mpegaudiodsp_template.c t1 = s0 - s1; s1 949 libavcodec/mpegvideo.c MpegEncContext *s = dst->priv_data, *s1 = src->priv_data; s1 954 libavcodec/mpegvideo.c av_assert0(s != s1); s1 960 libavcodec/mpegvideo.c memcpy(s, s1, sizeof(MpegEncContext)); s1 966 libavcodec/mpegvideo.c if (s1->context_initialized){ s1 978 libavcodec/mpegvideo.c if (s->height != s1->height || s->width != s1->width || s->context_reinit) { s1 980 libavcodec/mpegvideo.c s->height = s1->height; s1 981 libavcodec/mpegvideo.c s->width = s1->width; s1 986 libavcodec/mpegvideo.c s->avctx->coded_height = s1->avctx->coded_height; s1 987 libavcodec/mpegvideo.c s->avctx->coded_width = s1->avctx->coded_width; s1 988 libavcodec/mpegvideo.c s->avctx->width = s1->avctx->width; s1 989 libavcodec/mpegvideo.c s->avctx->height = s1->avctx->height; s1 991 libavcodec/mpegvideo.c s->coded_picture_number = s1->coded_picture_number; s1 992 libavcodec/mpegvideo.c s->picture_number = s1->picture_number; s1 994 libavcodec/mpegvideo.c av_assert0(!s->picture || s->picture != s1->picture); s1 998 libavcodec/mpegvideo.c if (s1->picture[i].f->buf[0] && s1 999 libavcodec/mpegvideo.c (ret = ff_mpeg_ref_picture(s, &s->picture[i], &s1->picture[i])) < 0) s1 1006 libavcodec/mpegvideo.c if (s1->pic.f && s1->pic.f->buf[0])\ s1 1007 libavcodec/mpegvideo.c ret = ff_mpeg_ref_picture(s, &s->pic, &s1->pic);\ s1 1009 libavcodec/mpegvideo.c ret = update_picture_tables(&s->pic, &s1->pic);\ s1 1023 libavcodec/mpegvideo.c s->last_picture_ptr = REBASE_PICTURE(s1->last_picture_ptr, s, s1); s1 1024 libavcodec/mpegvideo.c s->current_picture_ptr = REBASE_PICTURE(s1->current_picture_ptr, s, s1); s1 1025 libavcodec/mpegvideo.c s->next_picture_ptr = REBASE_PICTURE(s1->next_picture_ptr, s, s1); s1 1028 libavcodec/mpegvideo.c s->next_p_frame_damaged = s1->next_p_frame_damaged; s1 1029 libavcodec/mpegvideo.c s->workaround_bugs = s1->workaround_bugs; s1 1030 libavcodec/mpegvideo.c s->padding_bug_score = s1->padding_bug_score; s1 1033 libavcodec/mpegvideo.c memcpy(&s->last_time_base, &s1->last_time_base, s1 1034 libavcodec/mpegvideo.c (char *) &s1->pb_field_time + sizeof(s1->pb_field_time) - s1 1035 libavcodec/mpegvideo.c (char *) &s1->last_time_base); s1 1038 libavcodec/mpegvideo.c s->max_b_frames = s1->max_b_frames; s1 1039 libavcodec/mpegvideo.c s->low_delay = s1->low_delay; s1 1040 libavcodec/mpegvideo.c s->droppable = s1->droppable; s1 1043 libavcodec/mpegvideo.c s->divx_packed = s1->divx_packed; s1 1045 libavcodec/mpegvideo.c if (s1->bitstream_buffer) { s1 1046 libavcodec/mpegvideo.c if (s1->bitstream_buffer_size + s1 1050 libavcodec/mpegvideo.c s1->allocated_bitstream_buffer_size); s1 1051 libavcodec/mpegvideo.c s->bitstream_buffer_size = s1->bitstream_buffer_size; s1 1052 libavcodec/mpegvideo.c memcpy(s->bitstream_buffer, s1->bitstream_buffer, s1 1053 libavcodec/mpegvideo.c s1->bitstream_buffer_size); s1 1060 libavcodec/mpegvideo.c if (s1->linesize) { s1 1061 libavcodec/mpegvideo.c if (frame_size_alloc(s, s1->linesize) < 0) { s1 1072 libavcodec/mpegvideo.c memcpy(&s->progressive_sequence, &s1->progressive_sequence, s1 1073 libavcodec/mpegvideo.c (char *) &s1->rtp_mode - (char *) &s1->progressive_sequence); s1 1075 libavcodec/mpegvideo.c if (!s1->first_field) { s1 1076 libavcodec/mpegvideo.c s->last_pict_type = s1->pict_type; s1 1077 libavcodec/mpegvideo.c if (s1->current_picture_ptr) s1 1078 libavcodec/mpegvideo.c s->last_lambda_for[s1->pict_type] = s1->current_picture_ptr->f->quality; s1 381 libavcodec/on2avc.c #define CMUL0(dst, id, s0, s1, s2, s3, t0, t1, t2, t3, is, it) \ s1 382 libavcodec/on2avc.c dst[id] = s0[is] * t0[it] + s1[is] * t1[it] \ s1 384 libavcodec/on2avc.c dst[id + 1] = s0[is] * t0[it + 1] + s1[is] * t1[it + 1] \ s1 387 libavcodec/on2avc.c #define CMUL1(dst, s0, s1, s2, s3, t0, t1, t2, t3, is, it) \ s1 389 libavcodec/on2avc.c + CMUL1_R(s1, t1, is, it) \ s1 393 libavcodec/on2avc.c + CMUL1_I(s1, t1, is, it) \ s1 397 libavcodec/on2avc.c #define CMUL2(dst, s0, s1, s2, s3, t0, t1, t2, t3, is, it) \ s1 399 libavcodec/on2avc.c + CMUL2_R(s1, t1, is, it) \ s1 403 libavcodec/on2avc.c + CMUL2_I(s1, t1, is, it) \ s1 407 libavcodec/on2avc.c static void combine_fft(float *s0, float *s1, float *s2, float *s3, float *dst, s1 426 libavcodec/on2avc.c CMUL0(dst, 0, s0, s1, s2, s3, t0, t1, t2, t3, 0, 0); s1 435 libavcodec/on2avc.c CMUL1(d1, s0, s1, s2, s3, t0, t1, t2, t3, j, k); s1 436 libavcodec/on2avc.c CMUL1(d2, s0, s1, s2, s3, h0, h1, h2, h3, j, k); s1 440 libavcodec/on2avc.c CMUL0(dst, len4, s0, s1, s2, s3, t0, t1, t2, t3, 1, hoff); s1 441 libavcodec/on2avc.c CMUL0(dst, len4 + len2, s0, s1, s2, s3, h0, h1, h2, h3, 1, hoff); s1 448 libavcodec/on2avc.c CMUL2(d1, s0, s1, s2, s3, t0, t1, t2, t3, j, k); s1 449 libavcodec/on2avc.c CMUL2(d2, s0, s1, s2, s3, h0, h1, h2, h3, j, k); s1 453 libavcodec/on2avc.c CMUL0(dst, len2 + 4, s0, s1, s2, s3, t0, t1, t2, t3, 0, k); s1 33 libavcodec/pixblockdsp.c static void diff_pixels_c(int16_t *av_restrict block, const uint8_t *s1, s1 40 libavcodec/pixblockdsp.c block[0] = s1[0] - s2[0]; s1 41 libavcodec/pixblockdsp.c block[1] = s1[1] - s2[1]; s1 42 libavcodec/pixblockdsp.c block[2] = s1[2] - s2[2]; s1 43 libavcodec/pixblockdsp.c block[3] = s1[3] - s2[3]; s1 44 libavcodec/pixblockdsp.c block[4] = s1[4] - s2[4]; s1 45 libavcodec/pixblockdsp.c block[5] = s1[5] - s2[5]; s1 46 libavcodec/pixblockdsp.c block[6] = s1[6] - s2[6]; s1 47 libavcodec/pixblockdsp.c block[7] = s1[7] - s2[7]; s1 48 libavcodec/pixblockdsp.c s1 += stride; s1 31 libavcodec/pixblockdsp.h const uint8_t *s1 /* align 8 */, s1 69 libavcodec/ppc/fft_init.c im = vec_perm(a, b, vcprm(s3,s1,3,1)); /* { z[-k-1].im, z[-k-2].im, z[k+1].im, z[k].im } */\ s1 80 libavcodec/ppc/fft_init.c b = vec_perm(r##p, i##p, vcprm(1,s1,1,s1));\ s1 123 libavcodec/ppc/fft_init.c pout[2*j+1] = vec_perm(a, d, vcprm(2,s1,3,s0)); s1 125 libavcodec/ppc/fft_init.c pout[2*k+1] = vec_perm(c, b, vcprm(2,s1,3,s0)); s1 102 libavcodec/ppc/fft_vsx.h y4 = vec_perm(y0, y1, vcprm(s1,1,s0,0)); s1 104 libavcodec/ppc/fft_vsx.h y2 = vec_perm(y0, y1, vcprm(0,s0,1,s1)); s1 123 libavcodec/ppc/fft_vsx.h x10 = vec_perm(x1, x8, vcprm(1,0,s3,s1)); s1 126 libavcodec/ppc/fft_vsx.h y17 = vec_perm(y10, y15, vcprm(3,1,s3,s1)); s1 138 libavcodec/ppc/fft_vsx.h x15 = vec_perm(x13, x14, vcprm(0,s1,2,s3)); s1 140 libavcodec/ppc/fft_vsx.h y22 = vec_perm(y20, y21, vcprm(0,s1,2,s3)); s1 182 libavcodec/ppc/fft_vsx.h x4 = vec_perm(x0, x1, vcprm(s1,1,s0,0)); s1 184 libavcodec/ppc/fft_vsx.h x2 = vec_perm(x0, x1, vcprm(0,s0,1,s1)); s1 187 libavcodec/ppc/fft_vsx.h y2 = vec_perm(y0, y1, vcprm(0,s0,1,s1)); s1 192 libavcodec/ppc/fft_vsx.h y4 = vec_perm(y0, y1, vcprm(s1,1,s0,0)); s1 215 libavcodec/ppc/fft_vsx.h x17 = vec_perm(x10, x15, vcprm(3,1,s3,s1)); s1 218 libavcodec/ppc/fft_vsx.h y17 = vec_perm(y10, y15, vcprm(3,1,s3,s1)); s1 230 libavcodec/ppc/fft_vsx.h x22 = vec_perm(x20, x21, vcprm(0,s1,2,s3)); s1 233 libavcodec/ppc/fft_vsx.h y22 = vec_perm(y20, y21, vcprm(0,s1,2,s3)); s1 267 libavcodec/ppc/fft_vsx.h c = vec_perm(a, b, vcprm(0,1,s2,s1)); s1 272 libavcodec/ppc/fft_vsx.h c = vec_perm(a, b, vcprm(0,1,s0,s1)); s1 302 libavcodec/ppc/fft_vsx.h x0 = vec_perm(vz0, vz1, vcprm(0,1,s2,s1)); s1 304 libavcodec/ppc/fft_vsx.h x2 = vec_perm(vz2, vz3, vcprm(2,1,s0,s1)); s1 312 libavcodec/ppc/fft_vsx.h x8 = vec_perm(x4, x5, vcprm(0,1,s0,s1)); s1 314 libavcodec/ppc/fft_vsx.h x10 = vec_perm(x6, x7, vcprm(2,1,s2,s1)); s1 321 libavcodec/ppc/fft_vsx.h x16 = vec_perm(x12, x13, vcprm(0,s0,1,s1)); s1 322 libavcodec/ppc/fft_vsx.h x17 = vec_perm(x14, x15, vcprm(0,s0,1,s1)); s1 323 libavcodec/ppc/fft_vsx.h x18 = vec_perm(x16, x17, vcprm(s0,s3,s2,s1)); s1 338 libavcodec/ppc/fft_vsx.h x30 = vec_perm(x19, x27, vcprm(1,3,s1,s3)); // z2.r z2.i z7.r z3.i s1 340 libavcodec/ppc/fft_vsx.h x32 = vec_perm(x20, x28, vcprm(1,3,s1,s3)); // z6.r z6.i z3.r z7.i s1 342 libavcodec/ppc/fft_vsx.h x34 = vec_perm(x30, x32, vcprm(s0,s1,2,s3)); // z6.r z6.i z7.r z7.i s1 390 libavcodec/ppc/fft_vsx.h x0 = vec_perm(vz0, vz1, vcprm(0,1,s2,s1)); s1 392 libavcodec/ppc/fft_vsx.h x2 = vec_perm(vz2, vz3, vcprm(0,1,s0,s1)); s1 395 libavcodec/ppc/fft_vsx.h x4 = vec_perm(vz4, vz5, vcprm(0,1,s2,s1)); s1 397 libavcodec/ppc/fft_vsx.h x6 = vec_perm(vz6, vz7, vcprm(0,1,s2,s1)); s1 410 libavcodec/ppc/fft_vsx.h x16 = vec_perm(x8, x9, vcprm(0,1,s0,s1)); s1 412 libavcodec/ppc/fft_vsx.h x18 = vec_perm(x10, x11, vcprm(2,1,s1,s2)); s1 414 libavcodec/ppc/fft_vsx.h x20 = vec_perm(x12, x14, vcprm(0,1,s0, s1)); s1 416 libavcodec/ppc/fft_vsx.h x22 = vec_perm(x13, x15, vcprm(0,1,s0,s1)); s1 430 libavcodec/ppc/fft_vsx.h x34 = vec_perm(x32, x33, vcprm(0,1,s0,s1)); s1 432 libavcodec/ppc/fft_vsx.h x35 = vec_perm(x28, x29, vcprm(2,1,s1,s2)); s1 436 libavcodec/ppc/fft_vsx.h x39 = vec_perm(x37, x38, vcprm(0,1,s1,s0)); s1 448 libavcodec/ppc/fft_vsx.h x48 = vec_perm(x30, x31, vcprm(2,1,s1,s2)); s1 458 libavcodec/ppc/fft_vsx.h x57 = vec_perm(x44, x45, vcprm(0,1,s1,s0)); s1 463 libavcodec/ppc/fft_vsx.h x61 = vec_perm(x54, x55, vcprm(s1,s0,s3,s2)); s1 469 libavcodec/ppc/fft_vsx.h x67 = vec_perm(x63, x65, vcprm(s0,s1,3,2)); s1 476 libavcodec/ppc/fft_vsx.h x72 = vec_perm(x25, x27, vcprm(s1,s0,s2,s3)); s1 479 libavcodec/ppc/fft_vsx.h x75 = vec_perm(x73, x74, vcprm(0,1,s0,s1)); s1 484 libavcodec/ppc/fft_vsx.h x79 = vec_perm(x46, x68, vcprm(0,1,s0,s1)); // z0.r z0.i z1.r z1.i s1 486 libavcodec/ppc/fft_vsx.h x81 = vec_perm(x46, x70, vcprm(2,3,s0,s1)); // z4.r z4.i z5.r z5.i s1 492 libavcodec/ppc/fft_vsx.h x83 = vec_perm(x47, x69, vcprm(0,1,s0,s1)); // z8.r z8.i z9.r z9.i s1 494 libavcodec/ppc/fft_vsx.h x85 = vec_perm(x47, x71, vcprm(2,3,s0,s1)); // z12.r z12.i z13.r z13.i s1 509 libavcodec/ppc/fft_vsx.h c = vec_perm(a, b, vcprm(0,1,s2,s1)); s1 514 libavcodec/ppc/fft_vsx.h c = vec_perm(a,b, vcprm(0,s0,1,s1)); s1 520 libavcodec/ppc/fft_vsx.h c = vec_perm(a, b, vcprm(0,1,s0,s1)); s1 543 libavcodec/ppc/fft_vsx.h vz6 = vec_perm(vz2, vz3, vcprm(0,s0,1,s1)); s1 545 libavcodec/ppc/fft_vsx.h vz4 = vec_perm(vz0, vz1, vcprm(0,1,s2,s1)); s1 558 libavcodec/ppc/fft_vsx.h vz4 = vec_perm(vz0, vz1, vcprm(0,s0,1,s1)); s1 561 libavcodec/ppc/fft_vsx.h vz7 = vec_perm(vz2, vz3, vcprm(0,3,s2,s1)); s1 568 libavcodec/ppc/fft_vsx.h vz4 = vec_perm(vz0, vz1, vcprm(0,1,s0,s1)); s1 570 libavcodec/ppc/fft_vsx.h vz6 = vec_perm(vz2, vz3, vcprm(0,2,s1,s3)); s1 607 libavcodec/ppc/fft_vsx.h vz4 = vec_perm(vz0, vz1, vcprm(0,1,s2,s1)); s1 609 libavcodec/ppc/fft_vsx.h vz6 = vec_perm(vz2, vz3, vcprm(0,1,s2,s1)); s1 617 libavcodec/ppc/fft_vsx.h vz4 = vec_perm(vz0, vz1, vcprm(0,s0,1,s1)); s1 619 libavcodec/ppc/fft_vsx.h vz6 = vec_perm(vz2, vz3, vcprm(0,s0,1,s1)); s1 627 libavcodec/ppc/fft_vsx.h vz4 = vec_perm(vz0, vz1, vcprm(0,1,s0,s1)); s1 630 libavcodec/ppc/fft_vsx.h vz6 = vec_perm(vz2, vz3, vcprm(0,1,s0,s1)); s1 637 libavcodec/ppc/fft_vsx.h vz10 = vec_perm(vz2, vz3, vcprm(0,s0,1,s1)); s1 639 libavcodec/ppc/fft_vsx.h vz8 = vec_perm(vz0, vz1, vcprm(0,1,s2,s1)); s1 650 libavcodec/ppc/fft_vsx.h vz8 = vec_perm(vz0, vz1, vcprm(0,s0,1,s1)); s1 653 libavcodec/ppc/fft_vsx.h vz11 = vec_perm(vz2, vz3, vcprm(0,3,s2,s1)); s1 660 libavcodec/ppc/fft_vsx.h vz8 = vec_perm(vz0, vz1, vcprm(0,1,s0,s1)); s1 662 libavcodec/ppc/fft_vsx.h vz10 = vec_perm(vz2, vz3, vcprm(0,2,s1,s3)); s1 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) {\ s1 143 libavcodec/ppc/h264dsp.c vec_s16 a3v = vec_sub( vec_add(s7, s1), vec_add(s3, vec_sra(s3, onev)) );\ s1 146 libavcodec/ppc/h264dsp.c vec_s16 a5v = vec_add( vec_sub(s7, s1), vec_add(s5, vec_sra(s5, onev)) );\ s1 148 libavcodec/ppc/h264dsp.c vec_s16 a7v = vec_add( vec_add(s5, s3), vec_add(s1, vec_sra(s1, onev)) );\ s1 215 libavcodec/ppc/h264dsp.c vec_s16 s0, s1, s2, s3, s4, s5, s6, s7; s1 232 libavcodec/ppc/h264dsp.c s1 = vec_ld(0x10, (int16_t*)dct); s1 241 libavcodec/ppc/h264dsp.c IDCT8_1D_ALTIVEC(s0, s1, s2, s3, s4, s5, s6, s7, s1 102 libavcodec/ppc/hpeldsp_altivec.c pixelsv = vec_perm(blockv, pixelsv, vcprm(0,1,s0,s1)); s1 104 libavcodec/ppc/hpeldsp_altivec.c pixelsv = vec_perm(blockv, pixelsv, vcprm(s0,s1,2,3)); s1 151 libavcodec/ppc/hpeldsp_altivec.c blockv = vec_perm(blockv, pixelsavg, vcprm(0, 1, s0, s1)); s1 153 libavcodec/ppc/hpeldsp_altivec.c blockv = vec_perm(blockv, pixelsavg, vcprm(s0, s1, 2, 3)); s1 198 libavcodec/ppc/hpeldsp_altivec.c blockv = vec_perm(blockv, pixelsavg, vcprm(0, 1, s0, s1)); s1 200 libavcodec/ppc/hpeldsp_altivec.c blockv = vec_perm(blockv, pixelsavg, vcprm(s0, s1, 2, 3)); s1 357 libavcodec/ppc/hpeldsp_altivec.c blocktemp = vec_perm(blockv, pixelsavg, vcprm(0, 1, s0, s1)); s1 359 libavcodec/ppc/hpeldsp_altivec.c blocktemp = vec_perm(blockv, pixelsavg, vcprm(s0, s1, 2, 3)); s1 116 libavcodec/ppc/mpegvideodsp.c dstv2 = vec_perm(dstv, dstv2, vcprm(0, 1, s0, s1)); s1 118 libavcodec/ppc/mpegvideodsp.c dstv2 = vec_perm(dstv, dstv2, vcprm(s0, s1, 2, 3)); s1 96 libavcodec/ppc/pixblockdsp.c static void diff_pixels_altivec(int16_t *restrict block, const uint8_t *s1, s1 108 libavcodec/ppc/pixblockdsp.c vector unsigned char bytes = vec_vsx_ld(0, s1); s1 125 libavcodec/ppc/pixblockdsp.c s1 += stride; s1 135 libavcodec/ppc/pixblockdsp.c bytes = vec_vsx_ld(0, s1); s1 152 libavcodec/ppc/pixblockdsp.c s1 += stride; s1 158 libavcodec/ppc/pixblockdsp.c static void diff_pixels_altivec(int16_t *restrict block, const uint8_t *s1, s1 162 libavcodec/ppc/pixblockdsp.c vector unsigned char perm1 = vec_lvsl(0, s1); s1 172 libavcodec/ppc/pixblockdsp.c vector unsigned char pixl = vec_ld(0, s1); s1 173 libavcodec/ppc/pixblockdsp.c vector unsigned char pixr = vec_ld(15, s1); s1 193 libavcodec/ppc/pixblockdsp.c s1 += stride; s1 203 libavcodec/ppc/pixblockdsp.c pixl = vec_ld(0, s1); s1 204 libavcodec/ppc/pixblockdsp.c pixr = vec_ld(15, s1); s1 224 libavcodec/ppc/pixblockdsp.c s1 += stride; s1 33 libavcodec/ppc/vc1dsp_altivec.c #define STEP8(s0, s1, s2, s3, s4, s5, s6, s7, vec_rnd) \ s1 50 libavcodec/ppc/vc1dsp_altivec.c t0 = vec_sl(vec_add(s1, s3), vec_4); \ s1 55 libavcodec/ppc/vc1dsp_altivec.c t1 = vec_sl(vec_sub(s1, s5), vec_4); \ s1 58 libavcodec/ppc/vc1dsp_altivec.c t1 = vec_sub(t1, vec_add(s1, s7)); \ s1 61 libavcodec/ppc/vc1dsp_altivec.c t2 = vec_add(t2, vec_sl(s1, vec_3)); \ s1 63 libavcodec/ppc/vc1dsp_altivec.c t2 = vec_add(t2, vec_sub(s1, s7)); \ s1 67 libavcodec/ppc/vc1dsp_altivec.c t3 = vec_add(t3, vec_sl(s1, vec_2)); \ s1 71 libavcodec/ppc/vc1dsp_altivec.c s1 = vec_add(t5, t1); \ s1 80 libavcodec/ppc/vc1dsp_altivec.c #define SHIFT_HOR8(s0, s1, s2, s3, s4, s5, s6, s7) \ s1 83 libavcodec/ppc/vc1dsp_altivec.c s1 = vec_sra(s1, vec_3); \ s1 92 libavcodec/ppc/vc1dsp_altivec.c #define SHIFT_VERT8(s0, s1, s2, s3, s4, s5, s6, s7) \ s1 95 libavcodec/ppc/vc1dsp_altivec.c s1 = vec_sra(s1, vec_7); \ s1 105 libavcodec/ppc/vc1dsp_altivec.c #define STEP4(s0, s1, s2, s3, vec_rnd) \ s1 112 libavcodec/ppc/vc1dsp_altivec.c t3 = vec_sl(vec_sub(s3, s1), vec_1); \ s1 114 libavcodec/ppc/vc1dsp_altivec.c t2 = vec_add(t3, vec_sl(s1, vec_5)); \ s1 118 libavcodec/ppc/vc1dsp_altivec.c s1 = vec_sub(t1, t3); \ s1 123 libavcodec/ppc/vc1dsp_altivec.c #define SHIFT_HOR4(s0, s1, s2, s3) \ s1 125 libavcodec/ppc/vc1dsp_altivec.c s1 = vec_sra(s1, vec_3); \ s1 129 libavcodec/ppc/vc1dsp_altivec.c #define SHIFT_VERT4(s0, s1, s2, s3) \ s1 131 libavcodec/ppc/vc1dsp_altivec.c s1 = vec_sra(s1, vec_7); \ s1 140 libavcodec/ppc/vc1dsp_altivec.c vector signed int s0, s1, s2, s3, s4, s5, s6, s7; s1 162 libavcodec/ppc/vc1dsp_altivec.c s1 = vec_unpackl(src1); s1 177 libavcodec/ppc/vc1dsp_altivec.c STEP8(s0, s1, s2, s3, s4, s5, s6, s7, vec_4s); s1 178 libavcodec/ppc/vc1dsp_altivec.c SHIFT_HOR8(s0, s1, s2, s3, s4, s5, s6, s7); s1 182 libavcodec/ppc/vc1dsp_altivec.c src1 = vec_pack(s9, s1); s1 192 libavcodec/ppc/vc1dsp_altivec.c s1 = vec_unpackl(src1); s1 207 libavcodec/ppc/vc1dsp_altivec.c STEP8(s0, s1, s2, s3, s4, s5, s6, s7, vec_64); s1 208 libavcodec/ppc/vc1dsp_altivec.c SHIFT_VERT8(s0, s1, s2, s3, s4, s5, s6, s7); s1 212 libavcodec/ppc/vc1dsp_altivec.c src1 = vec_pack(s9, s1); s1 235 libavcodec/ppc/vc1dsp_altivec.c vector signed int s0, s1, s2, s3, s4, s5, s6, s7; s1 261 libavcodec/ppc/vc1dsp_altivec.c s1 = vec_unpackl(src1); s1 276 libavcodec/ppc/vc1dsp_altivec.c STEP8(s0, s1, s2, s3, s4, s5, s6, s7, vec_4s); s1 277 libavcodec/ppc/vc1dsp_altivec.c SHIFT_HOR8(s0, s1, s2, s3, s4, s5, s6, s7); s1 281 libavcodec/ppc/vc1dsp_altivec.c src1 = vec_pack(s9, s1); s1 291 libavcodec/ppc/vc1dsp_altivec.c s1 = vec_unpackh(src1); s1 298 libavcodec/ppc/vc1dsp_altivec.c STEP4(s0, s1, s2, s3, vec_64); s1 299 libavcodec/ppc/vc1dsp_altivec.c SHIFT_VERT4(s0, s1, s2, s3); s1 303 libavcodec/ppc/vc1dsp_altivec.c src1 = vec_pack(s1, s9); s1 169 libavcodec/ppc/vp8dsp_altivec.c s1f = (vec_s16)vec_mul(s1, f1); \ s1 197 libavcodec/ppc/vp8dsp_altivec.c vec_u8 s0, s1, s2, s3, s4, s5, filt, align_vech, perm_vec, align_vecl; s1 215 libavcodec/ppc/vp8dsp_altivec.c s1 = LOAD_HL(-1*src_stride, src, perm_vec); s1 245 libavcodec/ppc/vp8dsp_altivec.c s0 = s1; s1 246 libavcodec/ppc/vp8dsp_altivec.c s1 = s2; s1 1508 libavcodec/ra144.c const int16_t *s1, const int8_t *s2, const int8_t *s3) s1 1519 libavcodec/ra144.c dest[i] = (s1[i]*v[0] + s2[i]*v[1] + s3[i]*v[2]) >> 12; s1 1552 libavcodec/rv34.c MpegEncContext * const s = &r->s, * const s1 = &r1->s; s1 1555 libavcodec/rv34.c if (dst == src || !s1->context_initialized) s1 1558 libavcodec/rv34.c if (s->height != s1->height || s->width != s1->width) { s1 1559 libavcodec/rv34.c s->height = s1->height; s1 1560 libavcodec/rv34.c s->width = s1->width; s1 1575 libavcodec/rv34.c if (!s1->linesize) s1 94 libavcodec/tscc2.c #define DCT1D(d0, d1, d2, d3, s0, s1, s2, s3, OP) \ s1 95 libavcodec/tscc2.c OP(d0, 5 * ((s0) + (s1) + (s2)) + 2 * (s3)); \ s1 96 libavcodec/tscc2.c OP(d1, 5 * ((s0) - (s2) - (s3)) + 2 * (s1)); \ s1 97 libavcodec/tscc2.c OP(d2, 5 * ((s0) - (s2) + (s3)) - 2 * (s1)); \ s1 98 libavcodec/tscc2.c OP(d3, 5 * ((s0) - (s1) + (s2)) - 2 * (s3)); \ s1 326 libavcodec/vorbis_parser.c static int vorbis_parse(AVCodecParserContext *s1, AVCodecContext *avctx, s1 330 libavcodec/vorbis_parser.c VorbisParseContext *s = s1->priv_data; s1 340 libavcodec/vorbis_parser.c s1->duration = duration; s1 1935 libavcodec/vp3.c Vp3DecodeContext *s = dst->priv_data, *s1 = src->priv_data; s1 1942 libavcodec/vp3.c if (!s1->current_frame.f->data[0] || s1 1943 libavcodec/vp3.c s->width != s1->width || s->height != s1->height) { s1 1944 libavcodec/vp3.c if (s != s1) s1 1945 libavcodec/vp3.c ref_frames(s, s1); s1 1949 libavcodec/vp3.c if (s != s1) { s1 1959 libavcodec/vp3.c memcpy(s->motion_val[0], s1->motion_val[0], s1 1961 libavcodec/vp3.c memcpy(s->motion_val[1], s1->motion_val[1], s1 1966 libavcodec/vp3.c if ((err = ref_frames(s, s1)) < 0) s1 1969 libavcodec/vp3.c s->keyframe = s1->keyframe; s1 1973 libavcodec/vp3.c if (s->qps[i] != s1->qps[1]) { s1 1975 libavcodec/vp3.c memcpy(&s->qmat[i], &s1->qmat[i], sizeof(s->qmat[i])); s1 1979 libavcodec/vp3.c if (s->qps[0] != s1->qps[0]) s1 1980 libavcodec/vp3.c memcpy(&s->bounding_values_array, &s1->bounding_values_array, s1 1984 libavcodec/vp3.c copy_fields(s, s1, qps, superblock_count); s1 32 libavcodec/vp56dsp.c int s2, s1 = v >> 31; s1 33 libavcodec/vp56dsp.c v ^= s1; s1 34 libavcodec/vp56dsp.c v -= s1; s1 41 libavcodec/vp56dsp.c v += s1; s1 42 libavcodec/vp56dsp.c v ^= s1; s1 37 libavcodec/wmv2dsp.c int s1, s2; s1 51 libavcodec/wmv2dsp.c s1 = (181 * (a1 - a5 + a7 - a3) + 128) >> 8; // 1, 3, 5, 7 s1 56 libavcodec/wmv2dsp.c b[1] = (a4 + a6 + s1 + (1 << 7)) >> 8; s1 61 libavcodec/wmv2dsp.c b[6] = (a4 + a6 - s1 + (1 << 7)) >> 8; s1 67 libavcodec/wmv2dsp.c int s1, s2; s1 81 libavcodec/wmv2dsp.c s1 = (181 * (a1 - a5 + a7 - a3) + 128) >> 8; s1 86 libavcodec/wmv2dsp.c b[8 * 1] = (a4 + a6 + s1 + (1 << 13)) >> 14; s1 92 libavcodec/wmv2dsp.c b[8 * 6] = (a4 + a6 - s1 + (1 << 13)) >> 14; s1 28 libavcodec/x86/pixblockdsp_init.c void ff_diff_pixels_mmx(int16_t *block, const uint8_t *s1, const uint8_t *s2, s1 30 libavcodec/x86/pixblockdsp_init.c void ff_diff_pixels_sse2(int16_t *block, const uint8_t *s1, const uint8_t *s2, s1 404 libavcodec/x86/snowdsp.c #define snow_vertical_compose_r2r_sub(s0,s1,s2,s3,t0,t1,t2,t3)\ s1 406 libavcodec/x86/snowdsp.c "psubw %%"s1", %%"t1" \n\t"\ s1 410 libavcodec/x86/snowdsp.c #define snow_vertical_compose_sse2_store(w,s0,s1,s2,s3)\ s1 412 libavcodec/x86/snowdsp.c "movdqa %%"s1", 16("w",%%"REG_d") \n\t"\ s1 422 libavcodec/x86/snowdsp.c #define snow_vertical_compose_r2r_add(s0,s1,s2,s3,t0,t1,t2,t3)\ s1 424 libavcodec/x86/snowdsp.c "paddw %%"s1", %%"t1" \n\t"\ s1 428 libavcodec/x86/snowdsp.c #define snow_vertical_compose_r2r_pmulhw(s0,s1,s2,s3,t0,t1,t2,t3)\ s1 430 libavcodec/x86/snowdsp.c "pmulhw %%"s1", %%"t1" \n\t"\ s1 434 libavcodec/x86/snowdsp.c #define snow_vertical_compose_sse2_move(s0,s1,s2,s3,t0,t1,t2,t3)\ s1 436 libavcodec/x86/snowdsp.c "movdqa %%"s1", %%"t1" \n\t"\ s1 525 libavcodec/x86/snowdsp.c #define snow_vertical_compose_mmx_store(w,s0,s1,s2,s3)\ s1 527 libavcodec/x86/snowdsp.c "movq %%"s1", 8("w",%%"REG_d") \n\t"\ s1 531 libavcodec/x86/snowdsp.c #define snow_vertical_compose_mmx_move(s0,s1,s2,s3,t0,t1,t2,t3)\ s1 533 libavcodec/x86/snowdsp.c "movq %%"s1", %%"t1" \n\t"\ s1 299 libavdevice/alsa-audio-common.c av_cold int ff_alsa_close(AVFormatContext *s1) s1 301 libavdevice/alsa-audio-common.c AlsaData *s = s1->priv_data; s1 310 libavdevice/alsa-audio-common.c int ff_alsa_xrun_recover(AVFormatContext *s1, int err) s1 312 libavdevice/alsa-audio-common.c AlsaData *s = s1->priv_data; s1 315 libavdevice/alsa-audio-common.c av_log(s1, AV_LOG_WARNING, "ALSA buffer xrun.\n"); s1 319 libavdevice/alsa-audio-common.c av_log(s1, AV_LOG_ERROR, "cannot recover from underrun (snd_pcm_prepare failed: %s)\n", snd_strerror(err)); s1 324 libavdevice/alsa-audio-common.c av_log(s1, AV_LOG_ERROR, "-ESTRPIPE... Unsupported!\n"); s1 57 libavdevice/alsa-audio-dec.c static av_cold int audio_read_header(AVFormatContext *s1) s1 59 libavdevice/alsa-audio-dec.c AlsaData *s = s1->priv_data; s1 64 libavdevice/alsa-audio-dec.c st = avformat_new_stream(s1, NULL); s1 66 libavdevice/alsa-audio-dec.c av_log(s1, AV_LOG_ERROR, "Cannot add stream\n"); s1 70 libavdevice/alsa-audio-dec.c codec_id = s1->audio_codec_id; s1 72 libavdevice/alsa-audio-dec.c ret = ff_alsa_open(s1, SND_PCM_STREAM_CAPTURE, &s->sample_rate, s->channels, s1 98 libavdevice/alsa-audio-dec.c static int audio_read_packet(AVFormatContext *s1, AVPacket *pkt) s1 100 libavdevice/alsa-audio-dec.c AlsaData *s = s1->priv_data; s1 115 libavdevice/alsa-audio-dec.c if (ff_alsa_xrun_recover(s1, res) < 0) { s1 116 libavdevice/alsa-audio-dec.c av_log(s1, AV_LOG_ERROR, "ALSA read error: %s\n", s1 47 libavdevice/alsa-audio-enc.c static av_cold int audio_write_header(AVFormatContext *s1) s1 49 libavdevice/alsa-audio-enc.c AlsaData *s = s1->priv_data; s1 55 libavdevice/alsa-audio-enc.c if (s1->nb_streams != 1 || s1->streams[0]->codec->codec_type != AVMEDIA_TYPE_AUDIO) { s1 56 libavdevice/alsa-audio-enc.c av_log(s1, AV_LOG_ERROR, "Only a single audio stream is supported.\n"); s1 59 libavdevice/alsa-audio-enc.c st = s1->streams[0]; s1 63 libavdevice/alsa-audio-enc.c res = ff_alsa_open(s1, SND_PCM_STREAM_PLAYBACK, &sample_rate, s1 66 libavdevice/alsa-audio-enc.c av_log(s1, AV_LOG_ERROR, s1 80 libavdevice/alsa-audio-enc.c static int audio_write_packet(AVFormatContext *s1, AVPacket *pkt) s1 82 libavdevice/alsa-audio-enc.c AlsaData *s = s1->priv_data; s1 105 libavdevice/alsa-audio-enc.c if (ff_alsa_xrun_recover(s1, res) < 0) { s1 106 libavdevice/alsa-audio-enc.c av_log(s1, AV_LOG_ERROR, "ALSA write error: %s\n", s1 116 libavdevice/alsa-audio-enc.c static int audio_write_frame(AVFormatContext *s1, int stream_index, s1 119 libavdevice/alsa-audio-enc.c AlsaData *s = s1->priv_data; s1 124 libavdevice/alsa-audio-enc.c return av_sample_fmt_is_planar(s1->streams[stream_index]->codec->sample_fmt) ? s1 131 libavdevice/alsa-audio-enc.c return audio_write_packet(s1, &pkt); s1 135 libavdevice/alsa-audio-enc.c audio_get_output_timestamp(AVFormatContext *s1, int stream, s1 138 libavdevice/alsa-audio-enc.c AlsaData *s = s1->priv_data; s1 88 libavdevice/alsa-audio.h int ff_alsa_close(AVFormatContext *s1); s1 98 libavdevice/alsa-audio.h int ff_alsa_xrun_recover(AVFormatContext *s1, int err); s1 243 libavdevice/bktr.c static int grab_read_packet(AVFormatContext *s1, AVPacket *pkt) s1 245 libavdevice/bktr.c VideoData *s = s1->priv_data; s1 258 libavdevice/bktr.c static int grab_read_header(AVFormatContext *s1) s1 260 libavdevice/bktr.c VideoData *s = s1->priv_data; s1 271 libavdevice/bktr.c av_log(s1, AV_LOG_ERROR, "Unknown standard.\n"); s1 276 libavdevice/bktr.c av_log(s1, AV_LOG_ERROR, "Could not parse framerate '%s'.\n", s->framerate); s1 280 libavdevice/bktr.c st = avformat_new_stream(s1, NULL); s1 298 libavdevice/bktr.c if (bktr_init(s1->filename, s->width, s->height, s->standard, s1 311 libavdevice/bktr.c static int grab_read_close(AVFormatContext *s1) s1 313 libavdevice/bktr.c VideoData *s = s1->priv_data; s1 70 libavdevice/gdigrab.c av_log(s1, AV_LOG_ERROR, str " (error %li)\n", GetLastError()) s1 121 libavdevice/gdigrab.c gdigrab_region_wnd_init(AVFormatContext *s1, struct gdigrab *gdigrab) s1 187 libavdevice/gdigrab.c gdigrab_region_wnd_destroy(AVFormatContext *s1, struct gdigrab *gdigrab) s1 205 libavdevice/gdigrab.c gdigrab_region_wnd_update(AVFormatContext *s1, struct gdigrab *gdigrab) s1 222 libavdevice/gdigrab.c gdigrab_read_header(AVFormatContext *s1) s1 224 libavdevice/gdigrab.c struct gdigrab *gdigrab = s1->priv_data; s1 233 libavdevice/gdigrab.c const char *filename = s1->filename; s1 247 libavdevice/gdigrab.c av_log(s1, AV_LOG_ERROR, s1 253 libavdevice/gdigrab.c av_log(s1, AV_LOG_WARNING, s1 260 libavdevice/gdigrab.c av_log(s1, AV_LOG_ERROR, s1 292 libavdevice/gdigrab.c av_log(s1, AV_LOG_ERROR, s1 313 libavdevice/gdigrab.c av_log(s1, AV_LOG_INFO, s1 320 libavdevice/gdigrab.c av_log(s1, AV_LOG_INFO, s1 329 libavdevice/gdigrab.c av_log(s1, AV_LOG_ERROR, "Invalid properties, aborting\n"); s1 370 libavdevice/gdigrab.c st = avformat_new_stream(s1, NULL); s1 394 libavdevice/gdigrab.c if (gdigrab_region_wnd_init(s1, gdigrab)) { s1 425 libavdevice/gdigrab.c static void paint_mouse_pointer(AVFormatContext *s1, struct gdigrab *gdigrab) s1 476 libavdevice/gdigrab.c av_log(s1, AV_LOG_DEBUG, "Cursor pos (%li,%li) -> (%li,%li)\n", s1 504 libavdevice/gdigrab.c static int gdigrab_read_packet(AVFormatContext *s1, AVPacket *pkt) s1 506 libavdevice/gdigrab.c struct gdigrab *gdigrab = s1->priv_data; s1 524 libavdevice/gdigrab.c gdigrab_region_wnd_update(s1, gdigrab); s1 536 libavdevice/gdigrab.c if (s1->flags & AVFMT_FLAG_NONBLOCK) { s1 557 libavdevice/gdigrab.c paint_mouse_pointer(s1, gdigrab); s1 588 libavdevice/gdigrab.c static int gdigrab_read_close(AVFormatContext *s1) s1 590 libavdevice/gdigrab.c struct gdigrab *s = s1->priv_data; s1 593 libavdevice/gdigrab.c gdigrab_region_wnd_destroy(s1, s); s1 45 libavdevice/oss_audio.c int ff_oss_audio_open(AVFormatContext *s1, int is_output, s1 48 libavdevice/oss_audio.c OSSAudioData *s = s1->priv_data; s1 58 libavdevice/oss_audio.c av_log(s1, AV_LOG_ERROR, "%s: %s\n", audio_device, av_err2str(AVERROR(errno))); s1 69 libavdevice/oss_audio.c av_log(s1, AV_LOG_WARNING, "%s: Could not enable non block mode (%s)\n", audio_device, av_err2str(AVERROR(errno))); s1 77 libavdevice/oss_audio.c av_log(s1, AV_LOG_ERROR, #event ": %s\n", av_err2str(AVERROR(errno)));\ s1 87 libavdevice/oss_audio.c av_log(s1, AV_LOG_WARNING, "SNDCTL_DSP_GETFMTS: %s\n", av_err2str(AVERROR(errno))); s1 116 libavdevice/oss_audio.c av_log(s1, AV_LOG_ERROR, "Soundcard does not support 16 bit sample format\n"); s1 40 libavdevice/oss_audio.h int ff_oss_audio_open(AVFormatContext *s1, int is_output, s1 49 libavdevice/oss_audio_dec.c static int audio_read_header(AVFormatContext *s1) s1 51 libavdevice/oss_audio_dec.c OSSAudioData *s = s1->priv_data; s1 55 libavdevice/oss_audio_dec.c st = avformat_new_stream(s1, NULL); s1 60 libavdevice/oss_audio_dec.c ret = ff_oss_audio_open(s1, 0, s1->filename); s1 75 libavdevice/oss_audio_dec.c static int audio_read_packet(AVFormatContext *s1, AVPacket *pkt) s1 77 libavdevice/oss_audio_dec.c OSSAudioData *s = s1->priv_data; s1 118 libavdevice/oss_audio_dec.c static int audio_read_close(AVFormatContext *s1) s1 120 libavdevice/oss_audio_dec.c OSSAudioData *s = s1->priv_data; s1 45 libavdevice/oss_audio_enc.c static int audio_write_header(AVFormatContext *s1) s1 47 libavdevice/oss_audio_enc.c OSSAudioData *s = s1->priv_data; s1 51 libavdevice/oss_audio_enc.c st = s1->streams[0]; s1 54 libavdevice/oss_audio_enc.c ret = ff_oss_audio_open(s1, 1, s1->filename); s1 62 libavdevice/oss_audio_enc.c static int audio_write_packet(AVFormatContext *s1, AVPacket *pkt) s1 64 libavdevice/oss_audio_enc.c OSSAudioData *s = s1->priv_data; s1 89 libavdevice/oss_audio_enc.c static int audio_write_trailer(AVFormatContext *s1) s1 91 libavdevice/oss_audio_enc.c OSSAudioData *s = s1->priv_data; s1 36 libavdevice/sndio_common.c av_cold int ff_sndio_open(AVFormatContext *s1, int is_output, s1 39 libavdevice/sndio_common.c SndioData *s = s1->priv_data; s1 45 libavdevice/sndio_common.c av_log(s1, AV_LOG_ERROR, "Could not open sndio device\n"); s1 62 libavdevice/sndio_common.c av_log(s1, AV_LOG_ERROR, "Impossible to set sndio parameters, " s1 71 libavdevice/sndio_common.c av_log(s1, AV_LOG_ERROR, "Could not set appropriate sndio parameters, " s1 82 libavdevice/sndio_common.c av_log(s1, AV_LOG_ERROR, "Could not allocate buffer\n"); s1 95 libavdevice/sndio_common.c av_log(s1, AV_LOG_ERROR, "Could not start sndio\n"); s1 45 libavdevice/sndio_common.h int ff_sndio_open(AVFormatContext *s1, int is_output, const char *audio_device); s1 32 libavdevice/sndio_dec.c static av_cold int audio_read_header(AVFormatContext *s1) s1 34 libavdevice/sndio_dec.c SndioData *s = s1->priv_data; s1 38 libavdevice/sndio_dec.c st = avformat_new_stream(s1, NULL); s1 42 libavdevice/sndio_dec.c ret = ff_sndio_open(s1, 0, s1->filename); s1 57 libavdevice/sndio_dec.c static int audio_read_packet(AVFormatContext *s1, AVPacket *pkt) s1 59 libavdevice/sndio_dec.c SndioData *s = s1->priv_data; s1 87 libavdevice/sndio_dec.c static av_cold int audio_read_close(AVFormatContext *s1) s1 89 libavdevice/sndio_dec.c SndioData *s = s1->priv_data; s1 28 libavdevice/sndio_enc.c static av_cold int audio_write_header(AVFormatContext *s1) s1 30 libavdevice/sndio_enc.c SndioData *s = s1->priv_data; s1 34 libavdevice/sndio_enc.c st = s1->streams[0]; s1 38 libavdevice/sndio_enc.c ret = ff_sndio_open(s1, 1, s1->filename); s1 43 libavdevice/sndio_enc.c static int audio_write_packet(AVFormatContext *s1, AVPacket *pkt) s1 45 libavdevice/sndio_enc.c SndioData *s = s1->priv_data; s1 68 libavdevice/sndio_enc.c static int audio_write_trailer(AVFormatContext *s1) s1 70 libavdevice/sndio_enc.c SndioData *s = s1->priv_data; s1 75 libavdevice/v4l.c static int grab_read_header(AVFormatContext *s1, AVFormatParameters *ap) s1 77 libavdevice/v4l.c VideoData *s = s1->priv_data; s1 87 libavdevice/v4l.c av_log(s1, AV_LOG_WARNING, "V4L input device is deprecated and will be removed in the next release."); s1 90 libavdevice/v4l.c av_log(s1, AV_LOG_ERROR, "Wrong time base (%d)\n", ap->time_base.den); s1 98 libavdevice/v4l.c st = avformat_new_stream(s1, NULL); s1 103 libavdevice/v4l.c video_fd = open(s1->filename, O_RDWR); s1 105 libavdevice/v4l.c av_log(s1, AV_LOG_ERROR, "%s: %s\n", s1->filename, strerror(errno)); s1 110 libavdevice/v4l.c av_log(s1, AV_LOG_ERROR, "VIDIOCGCAP: %s\n", strerror(errno)); s1 115 libavdevice/v4l.c av_log(s1, AV_LOG_ERROR, "Fatal: grab device does not handle capture\n"); s1 122 libavdevice/v4l.c av_log(s1, AV_LOG_ERROR, "VIDIOCGWIN: %s\n", strerror(errno)); s1 127 libavdevice/v4l.c if(av_image_check_size(s->video_win.width, s->video_win.height, 0, s1) < 0) s1 154 libavdevice/v4l.c av_dlog(s1, "v4l: colour=%d hue=%d brightness=%d constrast=%d whiteness=%d\n", s1 180 libavdevice/v4l.c av_log(s1, AV_LOG_ERROR, "VIDIOCSWIN: %s\n", strerror(errno)); s1 188 libavdevice/v4l.c av_log(s1, AV_LOG_ERROR, "VIDIOCCAPTURE: %s\n", strerror(errno)); s1 199 libavdevice/v4l.c av_log(s1, AV_LOG_ERROR, "mmap: %s\n", strerror(errno)); s1 215 libavdevice/v4l.c av_log(s1, AV_LOG_ERROR, "VIDIOCMCAPTURE: %s\n", strerror(errno)); s1 217 libavdevice/v4l.c av_log(s1, AV_LOG_ERROR, "Fatal: grab device does not receive any video signal\n"); s1 282 libavdevice/v4l.c static int grab_read_packet(AVFormatContext *s1, AVPacket *pkt) s1 284 libavdevice/v4l.c VideoData *s = s1->priv_data; s1 322 libavdevice/v4l.c static int grab_read_close(AVFormatContext *s1) s1 324 libavdevice/v4l.c VideoData *s = s1->priv_data; s1 29 libavdevice/v4l2enc.c static av_cold int write_header(AVFormatContext *s1) s1 35 libavdevice/v4l2enc.c V4L2Context *s = s1->priv_data; s1 39 libavdevice/v4l2enc.c if (s1->flags & AVFMT_FLAG_NONBLOCK) s1 42 libavdevice/v4l2enc.c s->fd = open(s1->filename, flags); s1 45 libavdevice/v4l2enc.c av_log(s1, AV_LOG_ERROR, "Unable to open V4L2 device '%s'\n", s1->filename); s1 49 libavdevice/v4l2enc.c if (s1->nb_streams != 1 || s1 50 libavdevice/v4l2enc.c s1->streams[0]->codec->codec_type != AVMEDIA_TYPE_VIDEO || s1 51 libavdevice/v4l2enc.c s1->streams[0]->codec->codec_id != AV_CODEC_ID_RAWVIDEO) { s1 52 libavdevice/v4l2enc.c av_log(s1, AV_LOG_ERROR, s1 57 libavdevice/v4l2enc.c enc_ctx = s1->streams[0]->codec; s1 61 libavdevice/v4l2enc.c av_log(s1, AV_LOG_ERROR, "Unknown V4L2 pixel format equivalent for %s\n", s1 68 libavdevice/v4l2enc.c av_log(s1, AV_LOG_ERROR, "ioctl(VIDIOC_G_FMT): %s\n", av_err2str(res)); s1 79 libavdevice/v4l2enc.c av_log(s1, AV_LOG_ERROR, "ioctl(VIDIOC_S_FMT): %s\n", av_err2str(res)); s1 86 libavdevice/v4l2enc.c static int write_packet(AVFormatContext *s1, AVPacket *pkt) s1 88 libavdevice/v4l2enc.c const V4L2Context *s = s1->priv_data; s1 94 libavdevice/v4l2enc.c static int write_trailer(AVFormatContext *s1) s1 96 libavdevice/v4l2enc.c const V4L2Context *s = s1->priv_data; s1 258 libavdevice/x11grab.c static int x11grab_read_header(AVFormatContext *s1) s1 260 libavdevice/x11grab.c X11GrabContext *x11grab = s1->priv_data; s1 270 libavdevice/x11grab.c dpyname = av_strdup(s1->filename); s1 278 libavdevice/x11grab.c av_log(s1, AV_LOG_WARNING, s1 286 libavdevice/x11grab.c av_log(s1, AV_LOG_INFO, s1 288 libavdevice/x11grab.c s1->filename, dpyname, x_off, y_off, x11grab->width, x11grab->height); s1 293 libavdevice/x11grab.c av_log(s1, AV_LOG_ERROR, "Could not open X display.\n"); s1 298 libavdevice/x11grab.c st = avformat_new_stream(s1, NULL); s1 319 libavdevice/x11grab.c av_log(s1, AV_LOG_INFO, s1 326 libavdevice/x11grab.c av_log(s1, AV_LOG_INFO, s1 330 libavdevice/x11grab.c if (use_shm && setup_shm(s1, dpy, &image) < 0) { s1 331 libavdevice/x11grab.c av_log(s1, AV_LOG_WARNING, "Falling back to XGetImage\n"); s1 343 libavdevice/x11grab.c av_log(s1, AV_LOG_WARNING, s1 357 libavdevice/x11grab.c ret = pixfmt_from_image(s1, image, &st->codec->pix_fmt); s1 393 libavdevice/x11grab.c static void paint_mouse_pointer(XImage *image, AVFormatContext *s1) s1 395 libavdevice/x11grab.c X11GrabContext *s = s1->priv_data; s1 426 libavdevice/x11grab.c av_log(s1, AV_LOG_WARNING, s1 515 libavdevice/x11grab.c static int x11grab_read_packet(AVFormatContext *s1, AVPacket *pkt) s1 517 libavdevice/x11grab.c X11GrabContext *s = s1->priv_data; s1 614 libavdevice/x11grab.c av_log(s1, AV_LOG_INFO, "XShmGetImage() failed\n"); s1 617 libavdevice/x11grab.c av_log(s1, AV_LOG_INFO, "XGetZPixmap() failed\n"); s1 621 libavdevice/x11grab.c paint_mouse_pointer(image, s1); s1 632 libavdevice/x11grab.c static int x11grab_read_close(AVFormatContext *s1) s1 634 libavdevice/x11grab.c X11GrabContext *x11grab = s1->priv_data; s1 222 libavfilter/vf_fieldmatch.c const int s1 = abs(srcp[x] - srcp[x + src_linesize]); s1 223 libavfilter/vf_fieldmatch.c if (s1 > cthresh && FILTER(2, 1, 1, 2)) s1 231 libavfilter/vf_fieldmatch.c const int s1 = abs(srcp[x] - srcp[x - src_linesize]); s1 233 libavfilter/vf_fieldmatch.c if (s1 > cthresh && s2 > cthresh && FILTER(2, -1, 1, 2)) s1 242 libavfilter/vf_fieldmatch.c const int s1 = abs(srcp[x] - srcp[x - src_linesize]); s1 244 libavfilter/vf_fieldmatch.c if (s1 > cthresh && s2 > cthresh && FILTER(-2, -1, 1, 2)) s1 253 libavfilter/vf_fieldmatch.c const int s1 = abs(srcp[x] - srcp[x - src_linesize]); s1 255 libavfilter/vf_fieldmatch.c if (s1 > cthresh && s2 > cthresh && FILTER(-2, -1, 1, -2)) s1 263 libavfilter/vf_fieldmatch.c const int s1 = abs(srcp[x] - srcp[x - src_linesize]); s1 264 libavfilter/vf_fieldmatch.c if (s1 > cthresh && FILTER(-2, -1, -1, -2)) s1 107 libavfilter/vf_pp7.c int s1 = src[1 * stride] + src[5 * stride]; s1 113 libavfilter/vf_pp7.c s = s2 + s1; s1 114 libavfilter/vf_pp7.c s2 = s2 - s1; s1 130 libavfilter/vf_pp7.c int s1 = src[1 * 4] + src[5 * 4]; s1 136 libavfilter/vf_pp7.c s = s2 + s1; s1 137 libavfilter/vf_pp7.c s2 = s2 - s1; s1 305 libavfilter/vf_rotate.c int s1 = (((1<<16) - frac_x)*s10 + frac_x*s11); s1 307 libavfilter/vf_rotate.c dst_color[i] = ((int64_t)((1<<16) - frac_y)*s0 + (int64_t)frac_y*s1) >> 32; s1 35 libavformat/g729dec.c G729DemuxerContext *s1 = s->priv_data; s1 46 libavformat/g729dec.c if (s1 && s1->bit_rate) { s1 47 libavformat/g729dec.c s->bit_rate = s1->bit_rate; s1 60 libavformat/img2.h int ff_img_read_header(AVFormatContext *s1); s1 62 libavformat/img2.h int ff_img_read_packet(AVFormatContext *s1, AVPacket *pkt); s1 177 libavformat/img2dec.c int ff_img_read_header(AVFormatContext *s1) s1 179 libavformat/img2dec.c VideoDemuxData *s = s1->priv_data; s1 184 libavformat/img2dec.c s1->ctx_flags |= AVFMTCTX_NOHEADER; s1 186 libavformat/img2dec.c st = avformat_new_stream(s1, NULL); s1 193 libavformat/img2dec.c av_log(s1, AV_LOG_ERROR, "No such pixel format: %s.\n", s1 198 libavformat/img2dec.c av_strlcpy(s->path, s1->filename, sizeof(s->path)); s1 203 libavformat/img2dec.c if (s1->iformat->flags & AVFMT_NOFILE) s1 212 libavformat/img2dec.c av_log(s1, AV_LOG_ERROR, "POSIX.1-2008 not supported, nanosecond file timestamps unavailable\n"); s1 235 libavformat/img2dec.c av_log(s1, AV_LOG_WARNING, "Pattern type 'glob_sequence' is deprecated: " s1 264 libavformat/img2dec.c av_log(s1, AV_LOG_ERROR, s1 280 libavformat/img2dec.c av_log(s1, AV_LOG_ERROR, s1 286 libavformat/img2dec.c av_log(s1, AV_LOG_ERROR, s1 300 libavformat/img2dec.c if (s1->video_codec_id) { s1 302 libavformat/img2dec.c st->codec->codec_id = s1->video_codec_id; s1 303 libavformat/img2dec.c } else if (s1->audio_codec_id) { s1 305 libavformat/img2dec.c st->codec->codec_id = s1->audio_codec_id; s1 306 libavformat/img2dec.c } else if (s1->iformat->raw_codec_id) { s1 308 libavformat/img2dec.c st->codec->codec_id = s1->iformat->raw_codec_id; s1 313 libavformat/img2dec.c if (s1->pb) { s1 322 libavformat/img2dec.c probe_buffer_size = avio_read(s1->pb, probe_buffer, probe_buffer_size); s1 331 libavformat/img2dec.c pd.filename = s1->filename; s1 344 libavformat/img2dec.c ffio_rewind_with_probe_data(s1->pb, &probe_buffer, probe_buffer_size); s1 360 libavformat/img2dec.c int ff_img_read_packet(AVFormatContext *s1, AVPacket *pkt) s1 362 libavformat/img2dec.c VideoDemuxData *s = s1->priv_data; s1 368 libavformat/img2dec.c AVCodecContext *codec = s1->streams[0]->codec; s1 389 libavformat/img2dec.c &s1->interrupt_callback, NULL) < 0) { s1 392 libavformat/img2dec.c av_log(s1, AV_LOG_ERROR, "Could not open file : %s\n", s1 427 libavformat/img2dec.c f[0] = s1->pb; s1 434 libavformat/img2dec.c } else if (!s1->streams[0]->parser) { s1 435 libavformat/img2dec.c size[0] = avio_size(s1->pb); s1 455 libavformat/img2dec.c av_add_index_entry(s1->streams[0], s->img_number, pkt->pts, 0, 0, AVINDEX_KEYFRAME); s1 497 libavformat/img2dec.c static int img_read_close(struct AVFormatContext* s1) s1 500 libavformat/img2dec.c VideoDemuxData *s = s1->priv_data; s1 510 libavformat/img2dec.c VideoDemuxData *s1 = s->priv_data; s1 513 libavformat/img2dec.c if (s1->ts_from_file) { s1 517 libavformat/img2dec.c s1->img_number = st->index_entries[index].pos; s1 521 libavformat/img2dec.c if (timestamp < 0 || !s1->loop && timestamp > s1->img_last - s1->img_first) s1 523 libavformat/img2dec.c s1->img_number = timestamp%(s1->img_last - s1->img_first + 1) + s1->img_first; s1 524 libavformat/img2dec.c s1->pts = timestamp; s1 37 libavformat/pcmdec.c PCMAudioDemuxerContext *s1 = s->priv_data; s1 47 libavformat/pcmdec.c st->codec->sample_rate = s1->sample_rate; s1 48 libavformat/pcmdec.c st->codec->channels = s1->channels; s1 73 libavformat/rawdec.c FFRawVideoDemuxerContext *s1 = s->priv_data; s1 87 libavformat/rawdec.c st->codec->framerate = s1->framerate; s1 88 libavformat/rawdec.c st->codec->time_base = av_inv_q(s1->framerate); s1 509 libavformat/rtpdec.c RTPDemuxContext *ff_rtp_parse_open(AVFormatContext *s1, AVStream *st, s1 520 libavformat/rtpdec.c s->ic = s1; s1 43 libavformat/rtpdec.h RTPDemuxContext *ff_rtp_parse_open(AVFormatContext *s1, AVStream *st, s1 89 libavformat/rtpenc.c static int rtp_write_header(AVFormatContext *s1) s1 91 libavformat/rtpenc.c RTPMuxContext *s = s1->priv_data; s1 95 libavformat/rtpenc.c if (s1->nb_streams != 1) { s1 96 libavformat/rtpenc.c av_log(s1, AV_LOG_ERROR, "Only one stream supported in the RTP muxer\n"); s1 99 libavformat/rtpenc.c st = s1->streams[0]; s1 101 libavformat/rtpenc.c av_log(s1, AV_LOG_ERROR, "Unsupported codec %s\n", avcodec_get_name(st->codec->codec_id)); s1 109 libavformat/rtpenc.c st->id = ff_rtp_get_payload_type(s1, st->codec, -1); s1 124 libavformat/rtpenc.c if (s1->start_time_realtime != 0 && s1->start_time_realtime != AV_NOPTS_VALUE) s1 126 libavformat/rtpenc.c s->first_rtcp_ntp_time = (s1->start_time_realtime / 1000) * 1000 + s1 132 libavformat/rtpenc.c if (s1->flags & AVFMT_FLAG_BITEXACT) { s1 139 libavformat/rtpenc.c if (s1->packet_size) { s1 140 libavformat/rtpenc.c if (s1->pb->max_packet_size) s1 141 libavformat/rtpenc.c s1->packet_size = FFMIN(s1->packet_size, s1 142 libavformat/rtpenc.c s1->pb->max_packet_size); s1 144 libavformat/rtpenc.c s1->packet_size = s1->pb->max_packet_size; s1 145 libavformat/rtpenc.c if (s1->packet_size <= 12) { s1 146 libavformat/rtpenc.c av_log(s1, AV_LOG_ERROR, "Max packet size %d too low\n", s1->packet_size); s1 149 libavformat/rtpenc.c s->buf = av_malloc(s1->packet_size); s1 153 libavformat/rtpenc.c s->max_payload_size = s1->packet_size - 12; s1 177 libavformat/rtpenc.c if (s1->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) { s1 213 libavformat/rtpenc.c av_log(s1, AV_LOG_ERROR, "Multistream opus not supported in RTP\n"); s1 223 libavformat/rtpenc.c av_log(s1, AV_LOG_ERROR, "Incorrect iLBC block size specified\n"); s1 237 libavformat/rtpenc.c av_log(s1, AV_LOG_ERROR, "RTP max payload size too small for AMR\n"); s1 241 libavformat/rtpenc.c av_log(s1, AV_LOG_ERROR, "Only mono is supported\n"); s1 260 libavformat/rtpenc.c static void rtcp_send_sr(AVFormatContext *s1, int64_t ntp_time, int bye) s1 262 libavformat/rtpenc.c RTPMuxContext *s = s1->priv_data; s1 265 libavformat/rtpenc.c av_dlog(s1, "RTCP: %02x %"PRIx64" %x\n", s->payload_type, ntp_time, s->timestamp); s1 269 libavformat/rtpenc.c s1->streams[0]->time_base) + s->base_timestamp; s1 270 libavformat/rtpenc.c avio_w8(s1->pb, RTP_VERSION << 6); s1 271 libavformat/rtpenc.c avio_w8(s1->pb, RTCP_SR); s1 272 libavformat/rtpenc.c avio_wb16(s1->pb, 6); /* length in words - 1 */ s1 273 libavformat/rtpenc.c avio_wb32(s1->pb, s->ssrc); s1 274 libavformat/rtpenc.c avio_wb64(s1->pb, NTP_TO_RTP_FORMAT(ntp_time)); s1 275 libavformat/rtpenc.c avio_wb32(s1->pb, rtp_ts); s1 276 libavformat/rtpenc.c avio_wb32(s1->pb, s->packet_count); s1 277 libavformat/rtpenc.c avio_wb32(s1->pb, s->octet_count); s1 281 libavformat/rtpenc.c avio_w8(s1->pb, (RTP_VERSION << 6) + 1); s1 282 libavformat/rtpenc.c avio_w8(s1->pb, RTCP_SDES); s1 283 libavformat/rtpenc.c avio_wb16(s1->pb, (7 + len + 3) / 4); /* length in words - 1 */ s1 285 libavformat/rtpenc.c avio_wb32(s1->pb, s->ssrc); s1 286 libavformat/rtpenc.c avio_w8(s1->pb, 0x01); /* CNAME */ s1 287 libavformat/rtpenc.c avio_w8(s1->pb, len); s1 288 libavformat/rtpenc.c avio_write(s1->pb, s->cname, len); s1 289 libavformat/rtpenc.c avio_w8(s1->pb, 0); /* END */ s1 291 libavformat/rtpenc.c avio_w8(s1->pb, 0); s1 295 libavformat/rtpenc.c avio_w8(s1->pb, (RTP_VERSION << 6) | 1); s1 296 libavformat/rtpenc.c avio_w8(s1->pb, RTCP_BYE); s1 297 libavformat/rtpenc.c avio_wb16(s1->pb, 1); /* length in words - 1 */ s1 298 libavformat/rtpenc.c avio_wb32(s1->pb, s->ssrc); s1 301 libavformat/rtpenc.c avio_flush(s1->pb); s1 306 libavformat/rtpenc.c void ff_rtp_send_data(AVFormatContext *s1, const uint8_t *buf1, int len, int m) s1 308 libavformat/rtpenc.c RTPMuxContext *s = s1->priv_data; s1 310 libavformat/rtpenc.c av_dlog(s1, "rtp_send_data size=%d\n", len); s1 313 libavformat/rtpenc.c avio_w8(s1->pb, RTP_VERSION << 6); s1 314 libavformat/rtpenc.c avio_w8(s1->pb, (s->payload_type & 0x7f) | ((m & 0x01) << 7)); s1 315 libavformat/rtpenc.c avio_wb16(s1->pb, s->seq); s1 316 libavformat/rtpenc.c avio_wb32(s1->pb, s->timestamp); s1 317 libavformat/rtpenc.c avio_wb32(s1->pb, s->ssrc); s1 319 libavformat/rtpenc.c avio_write(s1->pb, buf1, len); s1 320 libavformat/rtpenc.c avio_flush(s1->pb); s1 329 libavformat/rtpenc.c static int rtp_send_samples(AVFormatContext *s1, s1 332 libavformat/rtpenc.c RTPMuxContext *s = s1->priv_data; s1 352 libavformat/rtpenc.c ff_rtp_send_data(s1, s->buf, s->buf_ptr - s->buf, 0); s1 358 libavformat/rtpenc.c static void rtp_send_mpegaudio(AVFormatContext *s1, s1 361 libavformat/rtpenc.c RTPMuxContext *s = s1->priv_data; s1 370 libavformat/rtpenc.c ff_rtp_send_data(s1, s->buf, s->buf_ptr - s->buf, 0); s1 392 libavformat/rtpenc.c ff_rtp_send_data(s1, s->buf, len + 4, 0); s1 410 libavformat/rtpenc.c static void rtp_send_raw(AVFormatContext *s1, s1 413 libavformat/rtpenc.c RTPMuxContext *s = s1->priv_data; s1 424 libavformat/rtpenc.c ff_rtp_send_data(s1, buf1, len, (len == size)); s1 432 libavformat/rtpenc.c static void rtp_send_mpegts_raw(AVFormatContext *s1, s1 435 libavformat/rtpenc.c RTPMuxContext *s = s1->priv_data; s1 450 libavformat/rtpenc.c ff_rtp_send_data(s1, s->buf, out_len, 0); s1 456 libavformat/rtpenc.c static int rtp_send_ilbc(AVFormatContext *s1, const uint8_t *buf, int size) s1 458 libavformat/rtpenc.c RTPMuxContext *s = s1->priv_data; s1 459 libavformat/rtpenc.c AVStream *st = s1->streams[0]; s1 467 libavformat/rtpenc.c s1->max_delay, AV_TIME_BASE_Q) >= 0) { s1 468 libavformat/rtpenc.c ff_rtp_send_data(s1, s->buf, s->buf_ptr - s->buf, 1); s1 484 libavformat/rtpenc.c ff_rtp_send_data(s1, s->buf, s->buf_ptr - s->buf, 1); s1 491 libavformat/rtpenc.c static int rtp_write_packet(AVFormatContext *s1, AVPacket *pkt) s1 493 libavformat/rtpenc.c RTPMuxContext *s = s1->priv_data; s1 494 libavformat/rtpenc.c AVStream *st = s1->streams[0]; s1 498 libavformat/rtpenc.c av_dlog(s1, "%d: write len=%d\n", pkt->stream_index, size); s1 505 libavformat/rtpenc.c rtcp_send_sr(s1, ff_ntp_time(), 0); s1 516 libavformat/rtpenc.c return rtp_send_samples(s1, pkt->data, size, 8 * st->codec->channels); s1 521 libavformat/rtpenc.c return rtp_send_samples(s1, pkt->data, size, 16 * st->codec->channels); s1 527 libavformat/rtpenc.c return rtp_send_samples(s1, pkt->data, size, 8 * st->codec->channels); s1 529 libavformat/rtpenc.c return rtp_send_samples(s1, pkt->data, size, s1 533 libavformat/rtpenc.c rtp_send_mpegaudio(s1, pkt->data, size); s1 537 libavformat/rtpenc.c ff_rtp_send_mpegvideo(s1, pkt->data, size); s1 541 libavformat/rtpenc.c ff_rtp_send_latm(s1, pkt->data, size); s1 543 libavformat/rtpenc.c ff_rtp_send_aac(s1, pkt->data, size); s1 547 libavformat/rtpenc.c ff_rtp_send_amr(s1, pkt->data, size); s1 550 libavformat/rtpenc.c rtp_send_mpegts_raw(s1, pkt->data, size); s1 553 libavformat/rtpenc.c ff_rtp_send_h264_hevc(s1, pkt->data, size); s1 556 libavformat/rtpenc.c ff_rtp_send_h261(s1, pkt->data, size); s1 565 libavformat/rtpenc.c av_log(s1, AV_LOG_ERROR, "failed to allocate side data\n"); s1 568 libavformat/rtpenc.c ff_rtp_send_h263_rfc2190(s1, pkt->data, size, mb_info, mb_info_size); s1 573 libavformat/rtpenc.c ff_rtp_send_h263(s1, pkt->data, size); s1 576 libavformat/rtpenc.c ff_rtp_send_h264_hevc(s1, pkt->data, size); s1 580 libavformat/rtpenc.c ff_rtp_send_xiph(s1, pkt->data, size); s1 583 libavformat/rtpenc.c ff_rtp_send_vp8(s1, pkt->data, size); s1 586 libavformat/rtpenc.c rtp_send_ilbc(s1, pkt->data, size); s1 589 libavformat/rtpenc.c ff_rtp_send_jpeg(s1, pkt->data, size); s1 593 libavformat/rtpenc.c av_log(s1, AV_LOG_ERROR, s1 601 libavformat/rtpenc.c rtp_send_raw(s1, pkt->data, size); s1 607 libavformat/rtpenc.c static int rtp_write_trailer(AVFormatContext *s1) s1 609 libavformat/rtpenc.c RTPMuxContext *s = s1->priv_data; s1 613 libavformat/rtpenc.c if (s1->pb && (s->flags & FF_RTP_FLAG_SEND_BYE)) s1 614 libavformat/rtpenc.c rtcp_send_sr(s1, ff_ntp_time(), 1); s1 82 libavformat/rtpenc.h void ff_rtp_send_data(AVFormatContext *s1, const uint8_t *buf1, int len, int m); s1 84 libavformat/rtpenc.h void ff_rtp_send_h264_hevc(AVFormatContext *s1, const uint8_t *buf1, int size); s1 85 libavformat/rtpenc.h void ff_rtp_send_h261(AVFormatContext *s1, const uint8_t *buf1, int size); s1 86 libavformat/rtpenc.h void ff_rtp_send_h263(AVFormatContext *s1, const uint8_t *buf1, int size); s1 87 libavformat/rtpenc.h void ff_rtp_send_h263_rfc2190(AVFormatContext *s1, const uint8_t *buf1, int size, s1 89 libavformat/rtpenc.h void ff_rtp_send_aac(AVFormatContext *s1, const uint8_t *buff, int size); s1 90 libavformat/rtpenc.h void ff_rtp_send_latm(AVFormatContext *s1, const uint8_t *buff, int size); s1 91 libavformat/rtpenc.h void ff_rtp_send_amr(AVFormatContext *s1, const uint8_t *buff, int size); s1 92 libavformat/rtpenc.h void ff_rtp_send_mpegvideo(AVFormatContext *s1, const uint8_t *buf1, int size); s1 93 libavformat/rtpenc.h void ff_rtp_send_xiph(AVFormatContext *s1, const uint8_t *buff, int size); s1 94 libavformat/rtpenc.h void ff_rtp_send_vp8(AVFormatContext *s1, const uint8_t *buff, int size); s1 95 libavformat/rtpenc.h void ff_rtp_send_jpeg(AVFormatContext *s1, const uint8_t *buff, int size); s1 27 libavformat/rtpenc_aac.c void ff_rtp_send_aac(AVFormatContext *s1, const uint8_t *buff, int size) s1 29 libavformat/rtpenc_aac.c RTPMuxContext *s = s1->priv_data; s1 30 libavformat/rtpenc_aac.c AVStream *st = s1->streams[0]; s1 36 libavformat/rtpenc_aac.c if ((s1->streams[0]->codec->extradata_size) == 0) { s1 47 libavformat/rtpenc_aac.c s1->max_delay, AV_TIME_BASE_Q) >= 0)) { s1 57 libavformat/rtpenc_aac.c ff_rtp_send_data(s1, p, s->buf_ptr - p, 1); s1 81 libavformat/rtpenc_aac.c ff_rtp_send_data(s1, p, len + 4, len == size); s1 30 libavformat/rtpenc_amr.c void ff_rtp_send_amr(AVFormatContext *s1, const uint8_t *buff, int size) s1 32 libavformat/rtpenc_amr.c RTPMuxContext *s = s1->priv_data; s1 33 libavformat/rtpenc_amr.c AVStream *st = s1->streams[0]; s1 44 libavformat/rtpenc_amr.c s1->max_delay, AV_TIME_BASE_Q) >= 0)) { s1 50 libavformat/rtpenc_amr.c ff_rtp_send_data(s1, p, s->buf_ptr - p, 1); s1 43 libavformat/rtpenc_h263.c void ff_rtp_send_h263(AVFormatContext *s1, const uint8_t *buf1, int size) s1 45 libavformat/rtpenc_h263.c RTPMuxContext *s = s1->priv_data; s1 76 libavformat/rtpenc_h263.c ff_rtp_send_data(s1, s->buf, q - s->buf, (len == size)); s1 44 libavformat/rtpenc_h263_rfc2190.c static void send_mode_a(AVFormatContext *s1, const struct H263Info *info, s1 47 libavformat/rtpenc_h263_rfc2190.c RTPMuxContext *s = s1->priv_data; s1 67 libavformat/rtpenc_h263_rfc2190.c ff_rtp_send_data(s1, s->buf, len + 4, m); s1 70 libavformat/rtpenc_h263_rfc2190.c static void send_mode_b(AVFormatContext *s1, const struct H263Info *info, s1 74 libavformat/rtpenc_h263_rfc2190.c RTPMuxContext *s = s1->priv_data; s1 98 libavformat/rtpenc_h263_rfc2190.c ff_rtp_send_data(s1, s->buf, len + 8, m); s1 101 libavformat/rtpenc_h263_rfc2190.c void ff_rtp_send_h263_rfc2190(AVFormatContext *s1, const uint8_t *buf, int size, s1 104 libavformat/rtpenc_h263_rfc2190.c RTPMuxContext *s = s1->priv_data; s1 171 libavformat/rtpenc_h263_rfc2190.c av_log(s1, AV_LOG_ERROR, "Unable to split H263 packet, " s1 179 libavformat/rtpenc_h263_rfc2190.c send_mode_a(s1, &info, buf, len, ebits, len == size); s1 181 libavformat/rtpenc_h263_rfc2190.c send_mode_b(s1, &info, &packet_start_state, buf, len, sbits, s1 36 libavformat/rtpenc_h264_hevc.c static void flush_buffered(AVFormatContext *s1, int last) s1 38 libavformat/rtpenc_h264_hevc.c RTPMuxContext *s = s1->priv_data; s1 43 libavformat/rtpenc_h264_hevc.c enum AVCodecID codec = s1->streams[0]->codec->codec_id; s1 45 libavformat/rtpenc_h264_hevc.c ff_rtp_send_data(s1, s->buf + 3, s->buf_ptr - s->buf - 3, last); s1 47 libavformat/rtpenc_h264_hevc.c ff_rtp_send_data(s1, s->buf + 4, s->buf_ptr - s->buf - 4, last); s1 49 libavformat/rtpenc_h264_hevc.c ff_rtp_send_data(s1, s->buf, s->buf_ptr - s->buf, last); s1 55 libavformat/rtpenc_h264_hevc.c static void nal_send(AVFormatContext *s1, const uint8_t *buf, int size, int last) s1 57 libavformat/rtpenc_h264_hevc.c RTPMuxContext *s = s1->priv_data; s1 58 libavformat/rtpenc_h264_hevc.c enum AVCodecID codec = s1->streams[0]->codec->codec_id; s1 60 libavformat/rtpenc_h264_hevc.c av_log(s1, AV_LOG_DEBUG, "Sending NAL %x of len %d M=%d\n", buf[0] & 0x1F, size, last); s1 75 libavformat/rtpenc_h264_hevc.c flush_buffered(s1, 0); s1 98 libavformat/rtpenc_h264_hevc.c flush_buffered(s1, 0); s1 99 libavformat/rtpenc_h264_hevc.c ff_rtp_send_data(s1, buf, size, last); s1 103 libavformat/rtpenc_h264_hevc.c flush_buffered(s1, 0); s1 105 libavformat/rtpenc_h264_hevc.c av_log(s1, AV_LOG_ERROR, s1 110 libavformat/rtpenc_h264_hevc.c av_log(s1, AV_LOG_DEBUG, "NAL size %d > %d\n", size, s->max_payload_size); s1 169 libavformat/rtpenc_h264_hevc.c ff_rtp_send_data(s1, s->buf, s->max_payload_size, 0); s1 176 libavformat/rtpenc_h264_hevc.c ff_rtp_send_data(s1, s->buf, size + header_size, last); s1 180 libavformat/rtpenc_h264_hevc.c void ff_rtp_send_h264_hevc(AVFormatContext *s1, const uint8_t *buf1, int size) s1 183 libavformat/rtpenc_h264_hevc.c RTPMuxContext *s = s1->priv_data; s1 203 libavformat/rtpenc_h264_hevc.c nal_send(s1, r, r1 - r, r1 == end); s1 206 libavformat/rtpenc_h264_hevc.c flush_buffered(s1, 1); s1 27 libavformat/rtpenc_jpeg.c void ff_rtp_send_jpeg(AVFormatContext *s1, const uint8_t *buf, int size) s1 29 libavformat/rtpenc_jpeg.c RTPMuxContext *s = s1->priv_data; s1 43 libavformat/rtpenc_jpeg.c w = s1->streams[0]->codec->width >> 3; s1 44 libavformat/rtpenc_jpeg.c h = s1->streams[0]->codec->height >> 3; s1 47 libavformat/rtpenc_jpeg.c if (s1->streams[0]->codec->pix_fmt == AV_PIX_FMT_YUVJ422P || s1 48 libavformat/rtpenc_jpeg.c (s1->streams[0]->codec->color_range == AVCOL_RANGE_JPEG && s1 49 libavformat/rtpenc_jpeg.c s1->streams[0]->codec->pix_fmt == AV_PIX_FMT_YUV422P)) { s1 51 libavformat/rtpenc_jpeg.c } else if (s1->streams[0]->codec->pix_fmt == AV_PIX_FMT_YUVJ420P || s1 52 libavformat/rtpenc_jpeg.c (s1->streams[0]->codec->color_range == AVCOL_RANGE_JPEG && s1 53 libavformat/rtpenc_jpeg.c s1->streams[0]->codec->pix_fmt == AV_PIX_FMT_YUV420P)) { s1 56 libavformat/rtpenc_jpeg.c av_log(s1, AV_LOG_ERROR, "Unsupported pixel format\n"); s1 67 libavformat/rtpenc_jpeg.c av_log(s1, AV_LOG_WARNING, s1 73 libavformat/rtpenc_jpeg.c av_log(s1, AV_LOG_ERROR, "Too short JPEG header. Aborted!\n"); s1 80 libavformat/rtpenc_jpeg.c av_log(s1, AV_LOG_ERROR, s1 135 libavformat/rtpenc_jpeg.c ff_rtp_send_data(s1, s->buf, len + hdr_size, size == len); s1 25 libavformat/rtpenc_latm.c void ff_rtp_send_latm(AVFormatContext *s1, const uint8_t *buff, int size) s1 31 libavformat/rtpenc_latm.c RTPMuxContext *s = s1->priv_data; s1 37 libavformat/rtpenc_latm.c if ((s1->streams[0]->codec->extradata_size) == 0) { s1 55 libavformat/rtpenc_latm.c ff_rtp_send_data(s1, s->buf, header_size + len, !size); s1 57 libavformat/rtpenc_latm.c ff_rtp_send_data(s1, buff + offset, len, !size); s1 29 libavformat/rtpenc_mpv.c void ff_rtp_send_mpegvideo(AVFormatContext *s1, const uint8_t *buf1, int size) s1 31 libavformat/rtpenc_mpv.c RTPMuxContext *s = s1->priv_data; s1 110 libavformat/rtpenc_mpv.c ff_rtp_send_data(s1, s->buf, q - s->buf, (len == size)); s1 26 libavformat/rtpenc_vp8.c void ff_rtp_send_vp8(AVFormatContext *s1, const uint8_t *buf, int size) s1 28 libavformat/rtpenc_vp8.c RTPMuxContext *s = s1->priv_data; s1 48 libavformat/rtpenc_vp8.c ff_rtp_send_data(s1, s->buf, len + header_size, size == len); s1 33 libavformat/rtpenc_xiph.c void ff_rtp_send_xiph(AVFormatContext *s1, const uint8_t *buff, int size) s1 35 libavformat/rtpenc_xiph.c RTPMuxContext *s = s1->priv_data; s1 36 libavformat/rtpenc_xiph.c AVStream *st = s1->streams[0]; s1 84 libavformat/rtpenc_xiph.c s1->max_delay, AV_TIME_BASE_Q) >= 0)) { s1 86 libavformat/rtpenc_xiph.c ff_rtp_send_data(s1, s->buf, s->buf_ptr - s->buf, 0); s1 111 libavformat/rtpenc_xiph.c ff_rtp_send_data(s1, s->buf, s->buf_ptr - s->buf, 0); s1 131 libavformat/rtpenc_xiph.c ff_rtp_send_data(s1, s->buf, q - s->buf, 0); s1 356 libavformat/rtsp.c static void sdp_parse_line(AVFormatContext *s, SDPParseState *s1, s1 373 libavformat/rtsp.c if (s1->skip_media && letter != 'm') s1 393 libavformat/rtsp.c s1->default_ip = sdp_ip; s1 394 libavformat/rtsp.c s1->default_ttl = ttl; s1 412 libavformat/rtsp.c s1->skip_media = 0; s1 413 libavformat/rtsp.c s1->seen_fmtp = 0; s1 414 libavformat/rtsp.c s1->seen_rtpmap = 0; s1 427 libavformat/rtsp.c s1->skip_media = 1; s1 436 libavformat/rtsp.c rtsp_st->sdp_ip = s1->default_ip; s1 437 libavformat/rtsp.c rtsp_st->sdp_ttl = s1->default_ttl; s1 439 libavformat/rtsp.c copy_default_source_addrs(s1->default_include_source_addrs, s1 440 libavformat/rtsp.c s1->nb_default_include_source_addrs, s1 443 libavformat/rtsp.c copy_default_source_addrs(s1->default_exclude_source_addrs, s1 444 libavformat/rtsp.c s1->nb_default_exclude_source_addrs, s1 538 libavformat/rtsp.c s1->seen_rtpmap = 1; s1 539 libavformat/rtsp.c if (s1->seen_fmtp) { s1 540 libavformat/rtsp.c parse_fmtp(s, rt, payload_type, s1->delayed_fmtp); s1 547 libavformat/rtsp.c if (s1->seen_rtpmap) { s1 550 libavformat/rtsp.c s1->seen_fmtp = 1; s1 551 libavformat/rtsp.c av_strlcpy(s1->delayed_fmtp, buf, sizeof(s1->delayed_fmtp)); s1 610 libavformat/rtsp.c dynarray_add(&s1->default_exclude_source_addrs, &s1->nb_default_exclude_source_addrs, rtsp_src); s1 617 libavformat/rtsp.c dynarray_add(&s1->default_include_source_addrs, &s1->nb_default_include_source_addrs, rtsp_src); s1 658 libavformat/rtsp.c SDPParseState sdp_parse_state = { { 0 } }, *s1 = &sdp_parse_state; s1 678 libavformat/rtsp.c sdp_parse_line(s, s1, letter, buf); s1 686 libavformat/rtsp.c for (i = 0; i < s1->nb_default_include_source_addrs; i++) s1 687 libavformat/rtsp.c av_freep(&s1->default_include_source_addrs[i]); s1 688 libavformat/rtsp.c av_freep(&s1->default_include_source_addrs); s1 689 libavformat/rtsp.c for (i = 0; i < s1->nb_default_exclude_source_addrs; i++) s1 690 libavformat/rtsp.c av_freep(&s1->default_exclude_source_addrs[i]); s1 691 libavformat/rtsp.c av_freep(&s1->default_exclude_source_addrs); s1 1069 libavformat/sbgdec.c struct sbg_script_synth *s1, s1 1075 libavformat/sbgdec.c if (ts2 <= ts1 || (s1->vol == 0 && s2->vol == 0)) s1 1077 libavformat/sbgdec.c switch (s1->type) { s1 1081 libavformat/sbgdec.c if (s1->beat == 0 && s2->beat == 0) { s1 1082 libavformat/sbgdec.c r = add_interval(inter, WS_SINE, 3, s1->ref.l, s1 1083 libavformat/sbgdec.c ts1, s1->carrier, s1->vol, s1 1089 libavformat/sbgdec.c r = add_interval(inter, WS_SINE, 1, s1->ref.l, s1 1090 libavformat/sbgdec.c ts1, s1->carrier + s1->beat / 2, s1->vol, s1 1095 libavformat/sbgdec.c r = add_interval(inter, WS_SINE, 2, s1->ref.r, s1 1096 libavformat/sbgdec.c ts1, s1->carrier - s1->beat / 2, s1->vol, s1 1106 libavformat/sbgdec.c r = add_bell(inter, s, ts1, ts2, s1->carrier, s2->vol); s1 1127 libavformat/sbgdec.c r = add_interval(inter, WS_NOISE, 3, s1->ref.l, s1 1128 libavformat/sbgdec.c ts1, 0, s1->vol - s1->vol / 4, s1 1139 libavformat/sbgdec.c "Type %d is not implemented\n", s1->type); s1 1151 libavformat/sbgdec.c struct sbg_script_synth *s1; s1 1154 libavformat/sbgdec.c s1 = &s->synth[ev1->elements + i]; s1 1155 libavformat/sbgdec.c r = generate_interval(log, s, inter, ts1, ts2, s1, s1, 0); s1 1184 libavformat/sbgdec.c struct sbg_script_synth *s1, *s2, s1mod, s2mod, smid; s1 1196 libavformat/sbgdec.c s1 = i < ev1->nb_elements ? &s->synth[ev1->elements + i] : &s1mod; s1 1198 libavformat/sbgdec.c s1mod = s1 != &s1mod ? *s1 : (struct sbg_script_synth){ 0 }; s1 147 libavformat/subtitles.c const AVPacket *s1 = a; s1 149 libavformat/subtitles.c if (s1->pts == s2->pts) { s1 150 libavformat/subtitles.c if (s1->pos == s2->pos) s1 152 libavformat/subtitles.c return s1->pos > s2->pos ? 1 : -1; s1 154 libavformat/subtitles.c return s1->pts > s2->pts ? 1 : -1; s1 159 libavformat/subtitles.c const AVPacket *s1 = a; s1 161 libavformat/subtitles.c if (s1->pos == s2->pos) { s1 162 libavformat/subtitles.c if (s1->pts == s2->pts) s1 164 libavformat/subtitles.c return s1->pts > s2->pts ? 1 : -1; s1 166 libavformat/subtitles.c return s1->pos > s2->pos ? 1 : -1; s1 198 libavformat/subtitles.c int s1 = 0, s2 = q->nb_subs - 1; s1 200 libavformat/subtitles.c if (s2 < s1) s1 206 libavformat/subtitles.c if (s1 == s2) s1 207 libavformat/subtitles.c return s1; s1 208 libavformat/subtitles.c if (s1 == s2 - 1) s1 209 libavformat/subtitles.c return q->subs[s1].pts <= q->subs[s2].pts ? s1 : s2; s1 210 libavformat/subtitles.c mid = (s1 + s2) / 2; s1 212 libavformat/subtitles.c s1 = mid; s1 40 libavutil/adler32.c #define DO1(buf) { s1 += *buf++; s2 += s1; } s1 47 libavutil/adler32.c unsigned long s1 = adler & 0xffff; s1 59 libavutil/adler32.c s2 += s1*len2; s1 74 libavutil/adler32.c s1 += ((a1+b1)*0x1000100010001)>>48; s1 93 libavutil/adler32.c s1 %= BASE; s1 96 libavutil/adler32.c return (s2 << 16) | s1; s1 93 libavutil/aes.c av_aes_block *s1 = (av_aes_block *) (s0[0].u8 - s); s1 100 libavutil/aes.c s1[0].u8[ 3] = box[s1[1].u8[ 7]]; s1 101 libavutil/aes.c s1[0].u8[ 7] = box[s1[1].u8[11]]; s1 102 libavutil/aes.c s1[0].u8[11] = box[s1[1].u8[15]]; s1 103 libavutil/aes.c s1[0].u8[15] = box[s1[1].u8[ 3]]; s1 122 libavutil/aes.c static inline void mix(av_aes_block state[2], uint32_t multbl[][256], int s1, int s3){ s1 124 libavutil/aes.c state[0].u32[0] = mix_core(multbl, src[0][0], src[s1 ][1], src[2][2], src[s3 ][3]); s1 125 libavutil/aes.c state[0].u32[1] = mix_core(multbl, src[1][0], src[s3-1][1], src[3][2], src[s1-1][3]); s1 126 libavutil/aes.c state[0].u32[2] = mix_core(multbl, src[2][0], src[s3 ][1], src[0][2], src[s1 ][3]); s1 127 libavutil/aes.c state[0].u32[3] = mix_core(multbl, src[3][0], src[s1-1][1], src[1][2], src[s3-1][3]); s1 56 libavutil/avstring.c char *av_stristr(const char *s1, const char *s2) s1 59 libavutil/avstring.c return (char*)(intptr_t)s1; s1 62 libavutil/avstring.c if (av_stristart(s1, s2, NULL)) s1 63 libavutil/avstring.c return (char*)(intptr_t)s1; s1 64 libavutil/avstring.c while (*s1++); s1 54 libavutil/fixed_dsp.c int32_t s0, s1, wi, wj, i,j, round; s1 63 libavutil/fixed_dsp.c s1 = src1[j]; s1 66 libavutil/fixed_dsp.c dst[i] = av_clip_int16(((((int64_t)s0*wj - (int64_t)s1*wi + 0x40000000) >> 31) + round) >> bits); s1 67 libavutil/fixed_dsp.c dst[j] = av_clip_int16(((((int64_t)s0*wi + (int64_t)s1*wj + 0x40000000) >> 31) + round) >> bits); s1 75 libavutil/fixed_dsp.c int32_t s0, s1, wi, wj, i, j; s1 83 libavutil/fixed_dsp.c s1 = src1[j]; s1 86 libavutil/fixed_dsp.c dst[i] = ((int64_t)s0*wj - (int64_t)s1*wi + 0x40000000) >> 31; s1 87 libavutil/fixed_dsp.c dst[j] = ((int64_t)s0*wi + (int64_t)s1*wj + 0x40000000) >> 31; s1 70 libavutil/float_dsp.c float s1 = src1[j]; s1 73 libavutil/float_dsp.c dst[i] = s0 * wj - s1 * wi; s1 74 libavutil/float_dsp.c dst[j] = s0 * wi + s1 * wj; s1 71 libavutil/mips/float_dsp_mips.c float *s1 = (float *)src1; s1 103 libavutil/mips/float_dsp_mips.c [d]"+r"(d), [s0]"+r"(s0), [s1]"+r"(s1) s1 152 libavutil/mips/float_dsp_mips.c float s0, s01, s1, s11; s1 217 libavutil/mips/float_dsp_mips.c [dst_j]"+r"(dst_j), [s0] "=&f"(s0), [s01]"=&f"(s01), [s1] "=&f"(s1), s1 43 libavutil/ppc/float_dsp_altivec.c vector float zero, t0, t1, s0, s1, wi, wj; s1 55 libavutil/ppc/float_dsp_altivec.c s1 = vec_ld(j, src1); s1 59 libavutil/ppc/float_dsp_altivec.c s1 = vec_perm(s1, s1, reverse); s1 63 libavutil/ppc/float_dsp_altivec.c t0 = vec_nmsub(s1, wi, t0); s1 65 libavutil/ppc/float_dsp_altivec.c t1 = vec_madd(s1, wj, t1); s1 88 libavutil/ppc/float_dsp_altivec.c t1 = vec_perm(d, edges, vcprm(s0,s1,s2,s3)); s1 89 libavutil/ppc/float_dsp_altivec.c t0 = vec_perm(edges, d, vcprm(s0,s1,s2,s3)); s1 99 libavutil/ppc/float_dsp_altivec.c vector float d, s0, s1, h0, l0, s1 104 libavutil/ppc/float_dsp_altivec.c s1 = vec_ld(0, src1 - i); // [a,b,c,d] s1 106 libavutil/ppc/float_dsp_altivec.c l0 = vec_mergel(s1, s1); // [c,c,d,d] s1 108 libavutil/ppc/float_dsp_altivec.c h0 = vec_mergeh(s1, s1); // [a,a,b,b] s1 110 libavutil/ppc/float_dsp_altivec.c s1 = vec_mergeh(vec_mergel(l0, h0), // [d,b,d,b] s1 114 libavutil/ppc/float_dsp_altivec.c d = vec_madd(s0, s1, zero); s1 179 libswscale/ppc/swscale_altivec.c #define UPDATE_PTR(s0, d0, s1, d1) {\ s1 181 libswscale/ppc/swscale_altivec.c d1 = s1;\ s1 203 libswscale/ppc/swscale_altivec.c #define UPDATE_PTR(s0, d0, s1, d1) {} s1 725 libswscale/rgb2rgb_template.c const uint8_t *s1 = src1 + srcStride1 * (y >> 1); s1 728 libswscale/rgb2rgb_template.c d[2 * x] = d[2 * x + 1] = s1[x]; s1 1998 libswscale/x86/rgb2rgb_template.c const uint8_t* s1=src1+srcStride1*(y>>1); s1 2028 libswscale/x86/rgb2rgb_template.c :: "r"(d), "r"(s1), "r"(x) s1 2031 libswscale/x86/rgb2rgb_template.c for (;x<w;x++) d[2*x]=d[2*x+1]=s1[x]; s1 76 tests/rotozoom.c int s1 = (((1 << 16) - frac_x) * s10 + frac_x * s11) >> 8; s1 78 tests/rotozoom.c return (((1 << 16) - frac_y) * s0 + frac_y * s1) >> 24; s1 177 tests/tiny_psnr.c int s1 = fread(buf[1], 1, SIZE, f[1]); s1 179 tests/tiny_psnr.c for (j = 0; j < FFMIN(s0, s1); j += len) { s1 217 tests/tiny_psnr.c size1 += s1; s1 218 tests/tiny_psnr.c if (s0 + s1 <= 0) s1 55 tests/tiny_ssim.c uint32_t s1 = 0, s2 = 0, ss = 0, s12 = 0; s1 61 tests/tiny_ssim.c s1 += a; s1 67 tests/tiny_ssim.c sums[z][0] = s1; s1 76 tests/tiny_ssim.c static float ssim_end1( int s1, int s2, int ss, int s12 ) s1 90 tests/tiny_ssim.c type fs1 = s1;