• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/ffmpeg-0.5.1/

Lines Matching defs:av

3260     AVCodecContext *av, *av1;
3263 av = st->codec;
3267 if (av1->codec_id == av->codec_id &&
3268 av1->codec_type == av->codec_type &&
3269 av1->bit_rate == av->bit_rate) {
3271 switch(av->codec_type) {
3273 if (av1->channels == av->channels &&
3274 av1->sample_rate == av->sample_rate)
3278 if (av1->width == av->width &&
3279 av1->height == av->height &&
3280 av1->time_base.den == av->time_base.den &&
3281 av1->time_base.num == av->time_base.num &&
3282 av1->gop_size == av->gop_size)
3291 fst = add_av_stream1(feed, av);
3621 static void add_codec(FFStream *stream, AVCodecContext *av)
3626 switch(av->codec_type) {
3628 if (av->bit_rate == 0)
3629 av->bit_rate = 64000;
3630 if (av->sample_rate == 0)
3631 av->sample_rate = 22050;
3632 if (av->channels == 0)
3633 av->channels = 1;
3636 if (av->bit_rate == 0)
3637 av->bit_rate = 64000;
3638 if (av->time_base.num == 0){
3639 av->time_base.den = 5;
3640 av->time_base.num = 1;
3642 if (av->width == 0 || av->height == 0) {
3643 av->width = 160;
3644 av->height = 128;
3647 if (av->bit_rate_tolerance == 0)
3648 av->bit_rate_tolerance = FFMAX(av->bit_rate / 4,
3649 (int64_t)av->bit_rate*av->time_base.num/av->time_base.den);
3650 if (av->qmin == 0)
3651 av->qmin = 3;
3652 if (av->qmax == 0)
3653 av->qmax = 31;
3654 if (av->max_qdiff == 0)
3655 av->max_qdiff = 3;
3656 av->qcompress = 0.5;
3657 av->qblur = 0.5;
3659 if (!av->nsse_weight)
3660 av->nsse_weight = 8;
3662 av->frame_skip_cmp = FF_CMP_DCTMAX;
3663 av->me_method = ME_EPZS;
3664 av->rc_buffer_aggressivity = 1.0;
3666 if (!av->rc_eq)
3667 av->rc_eq = "tex^qComp";
3668 if (!av->i_quant_factor)
3669 av->i_quant_factor = -0.8;
3670 if (!av->b_quant_factor)
3671 av->b_quant_factor = 1.25;
3672 if (!av->b_quant_offset)
3673 av->b_quant_offset = 1.25;
3674 if (!av->rc_max_rate)
3675 av->rc_max_rate = av->bit_rate * 2;
3677 if (av->rc_max_rate && !av->rc_buffer_size) {
3678 av->rc_buffer_size = av->rc_max_rate;
3692 memcpy(st->codec, av, sizeof(AVCodecContext));