scale            1714 fftools/ffmpeg.c                 double scale, scale_sum = 0;
scale            1721 fftools/ffmpeg.c                         scale = enc->width * enc->height * 255.0 * 255.0 * frame_number;
scale            1724 fftools/ffmpeg.c                         scale = enc->width * enc->height * 255.0 * 255.0;
scale            1727 fftools/ffmpeg.c                         scale /= 4;
scale            1729 fftools/ffmpeg.c                     scale_sum += scale;
scale            1730 fftools/ffmpeg.c                     p = psnr(error / scale);
scale             278 libavcodec/4xm.c #define LE_CENTRIC_MUL(dst, src, scale, dc)             \
scale             282 libavcodec/4xm.c         tmpval = tmpval * (scale) + (dc);               \
scale             287 libavcodec/4xm.c #define LE_CENTRIC_MUL(dst, src, scale, dc)              \
scale             289 libavcodec/4xm.c         unsigned tmpval = AV_RN32(src) * (scale) + (dc); \
scale             295 libavcodec/4xm.c                         int h, int stride, int scale, unsigned dc)
scale             303 libavcodec/4xm.c             dst[0] = scale * src[0] + dc;
scale             304 libavcodec/4xm.c             if (scale)
scale             311 libavcodec/4xm.c             LE_CENTRIC_MUL(dst, src, scale, dc);
scale             312 libavcodec/4xm.c             if (scale)
scale             319 libavcodec/4xm.c             LE_CENTRIC_MUL(dst, src, scale, dc);
scale             320 libavcodec/4xm.c             LE_CENTRIC_MUL(dst + 2, src + 2, scale, dc);
scale             321 libavcodec/4xm.c             if (scale)
scale             328 libavcodec/4xm.c             LE_CENTRIC_MUL(dst,     src,     scale, dc);
scale             329 libavcodec/4xm.c             LE_CENTRIC_MUL(dst + 2, src + 2, scale, dc);
scale             330 libavcodec/4xm.c             LE_CENTRIC_MUL(dst + 4, src + 4, scale, dc);
scale             331 libavcodec/4xm.c             LE_CENTRIC_MUL(dst + 6, src + 6, scale, dc);
scale             332 libavcodec/4xm.c             if (scale)
scale             345 libavcodec/4xm.c     int index, h, code, ret, scale = 1;
scale             415 libavcodec/4xm.c         scale = 0;
scale             424 libavcodec/4xm.c     mcdc(dst, src, log2w, h, stride, scale, dc);
scale             371 libavcodec/aac.h     void (*subband_scale)(int *dst, int *src, int scale, int offset, int len, void *log_context);
scale             643 libavcodec/aaccoder.c                 float band_energy, scale, pns_senergy;
scale             651 libavcodec/aaccoder.c                 scale = noise_amp/sqrtf(band_energy);
scale             652 libavcodec/aaccoder.c                 s->fdsp->vector_fmul_scalar(PNS, PNS, scale, sce->ics.swb_sizes[g]);
scale              84 libavcodec/aacdec.c                            const float *scale)
scale              86 libavcodec/aacdec.c     float s = *scale;
scale              95 libavcodec/aacdec.c                            const float *scale)
scale              97 libavcodec/aacdec.c     float s = *scale;
scale             108 libavcodec/aacdec.c                             unsigned sign, const float *scale)
scale             112 libavcodec/aacdec.c     s0.f = s1.f = *scale;
scale             125 libavcodec/aacdec.c                             unsigned sign, const float *scale)
scale             128 libavcodec/aacdec.c     union av_intfloat32 s = { .f = *scale };
scale             165 libavcodec/aacdec_fixed.c static void subband_scale(int *dst, int *src, int scale, int offset, int len, void *log_context)
scale             167 libavcodec/aacdec_fixed.c     int ssign = scale < 0 ? -1 : 1;
scale             168 libavcodec/aacdec_fixed.c     int s = FFABS(scale);
scale             196 libavcodec/aacdec_fixed.c static void noise_scale(int *coefs, int scale, int band_energy, int len)
scale             198 libavcodec/aacdec_fixed.c     int s = -scale;
scale            1690 libavcodec/aacdec_template.c                     float scale;
scale            1698 libavcodec/aacdec_template.c                     scale = sf[idx] / sqrtf(band_energy);
scale            1699 libavcodec/aacdec_template.c                     ac->fdsp->vector_fmul_scalar(cfo, cfo, scale, off_len);
scale            2146 libavcodec/aacdec_template.c     INTFLOAT scale;
scale            2156 libavcodec/aacdec_template.c                     scale = c * sce1->sf[idx];
scale            2161 libavcodec/aacdec_template.c                                       scale,
scale            2167 libavcodec/aacdec_template.c                                                     scale,
scale            2245 libavcodec/aacdec_template.c     INTFLOAT scale;
scale            2266 libavcodec/aacdec_template.c     scale = get_bits(gb, 2);
scale            2268 libavcodec/aacdec_template.c     scale = cce_scale[get_bits(gb, 2)];
scale            2282 libavcodec/aacdec_template.c             gain_cache = GET_GAIN(scale, gain);
scale            2303 libavcodec/aacdec_template.c                                 gain_cache = GET_GAIN(scale, t) * s;
scale             318 libavcodec/aacenc.c                 float scale = cpe->ch[0].is_ener[w*16+g];
scale             326 libavcodec/aacenc.c                     float sum = (cpe->ch[0].coeffs[start+i] + p*cpe->ch[1].coeffs[start+i])*scale;
scale              39 libavcodec/aarch64/synth_filter_init.c                                 float scale);
scale              92 libavcodec/ac3dsp.c     const float scale = 1 << 24;
scale              94 libavcodec/ac3dsp.c         *dst++ = lrintf(*src++ * scale);
scale              95 libavcodec/ac3dsp.c         *dst++ = lrintf(*src++ * scale);
scale              96 libavcodec/ac3dsp.c         *dst++ = lrintf(*src++ * scale);
scale              97 libavcodec/ac3dsp.c         *dst++ = lrintf(*src++ * scale);
scale              98 libavcodec/ac3dsp.c         *dst++ = lrintf(*src++ * scale);
scale              99 libavcodec/ac3dsp.c         *dst++ = lrintf(*src++ * scale);
scale             100 libavcodec/ac3dsp.c         *dst++ = lrintf(*src++ * scale);
scale             101 libavcodec/ac3dsp.c         *dst++ = lrintf(*src++ * scale);
scale             235 libavcodec/acelp_vectors.c void ff_set_fixed_vector(float *out, const AMRFixed *in, float scale, int size)
scale             241 libavcodec/acelp_vectors.c         float y = in->y[i] * scale;
scale             277 libavcodec/acelp_vectors.h void ff_set_fixed_vector(float *out, const AMRFixed *in, float scale, int size);
scale            1785 libavcodec/adpcm.c                 int scale = 1 << (byte >> 4);
scale            1802 libavcodec/adpcm.c                                 sampledat * scale;
scale            1953 libavcodec/adpcm.c                     int sample = 0, scale;
scale            1957 libavcodec/adpcm.c                             scale = sign_extend(byte >> 4, 4);
scale            1960 libavcodec/adpcm.c                             scale = sign_extend(byte, 4);
scale            1963 libavcodec/adpcm.c                         scale  = scale * (1 << 12);
scale            1964 libavcodec/adpcm.c                         sample = (int)((scale >> shift) + (c->status[channel].sample1 * xa_adpcm_table[filter][0] + c->status[channel].sample2 * xa_adpcm_table[filter][1]) / 64);
scale              70 libavcodec/adxdec.c     int scale = AV_RB16(in);
scale              75 libavcodec/adxdec.c     if (scale & 0x8000)
scale              84 libavcodec/adxdec.c         s0 = d * scale + ((c->coeff[0] * s1 + c->coeff[1] * s2) >> COEFF_BITS);
scale              41 libavcodec/adxenc.c     int scale;
scale              68 libavcodec/adxenc.c         scale = max / 7;
scale              70 libavcodec/adxenc.c         scale = -min / 8;
scale              72 libavcodec/adxenc.c     if (scale == 0)
scale              73 libavcodec/adxenc.c         scale = 1;
scale              75 libavcodec/adxenc.c     AV_WB16(adx, scale);
scale              84 libavcodec/adxenc.c         d = av_clip_intp2(ROUNDED_DIV(d, scale), 3);
scale              88 libavcodec/adxenc.c         s0 = d * scale + ((c->coeff[0] * s1 + c->coeff[1] * s2) >> COEFF_BITS);
scale            1453 libavcodec/alsdec.c     SoftFloat_IEEE754 scale = av_int2sf_ieee754(0x1u, 23);
scale            1592 libavcodec/alsdec.c             pcm_sf = av_div_sf_ieee754(pcm_sf, scale);
scale             932 libavcodec/amrwbdec.c     float est, scale;
scale             961 libavcodec/amrwbdec.c     scale = 0.5 * (FFMIN(est, 7600) - isf[LP_ORDER - 2]) /
scale             965 libavcodec/amrwbdec.c         diff_isf[j] = scale * (isf[i] - isf[i - 1]);
scale              30 libavcodec/arm/aac.h                            const float *scale)
scale              42 libavcodec/arm/aac.h              : "r"(v), "r"(idx), "r"(scale)
scale              49 libavcodec/arm/aac.h                            const float *scale)
scale              67 libavcodec/arm/aac.h              : "r"(v), "r"(idx), "r"(scale)
scale              74 libavcodec/arm/aac.h                             unsigned sign, const float *scale)
scale              92 libavcodec/arm/aac.h              : "r"(v), "r"(idx), "r"(scale), "r"(sign)
scale              99 libavcodec/arm/aac.h                             unsigned sign, const float *scale)
scale             136 libavcodec/arm/aac.h              : "r"(v), "r"(idx), "r"(scale)
scale              33 libavcodec/arm/synth_filter_init_arm.c                                float scale);
scale              39 libavcodec/arm/synth_filter_init_arm.c                                 float scale);
scale             276 libavcodec/asvdec.c     const int scale      = avctx->codec_id == AV_CODEC_ID_ASV1 ? 1 : 2;
scale             301 libavcodec/asvdec.c         a->intra_matrix[i] = 64 * scale * ff_mpeg1_default_intra_matrix[index] /
scale             320 libavcodec/asvenc.c     const int scale = avctx->codec_id == AV_CODEC_ID_ASV1 ? 1 : 2;
scale             329 libavcodec/asvenc.c     a->inv_qscale = (32 * scale * FF_QUALITY_SCALE +
scale             341 libavcodec/asvenc.c             int q = 32LL * scale * ff_mpeg1_default_intra_matrix[i] * ff_aanscales[i];
scale             344 libavcodec/asvenc.c             int q = 32 * scale * ff_mpeg1_default_intra_matrix[i];
scale             108 libavcodec/atrac9dec.c     float scale;
scale             133 libavcodec/atrac9dec.c     scale     = (FFABS(values) - 1) / 31.0f;
scale             140 libavcodec/atrac9dec.c         b->gradient[i] = base + sign*((int)(scale*curve[i - grad_range[0]]));
scale             498 libavcodec/atrac9dec.c             const float scale = at9_scalefactor_c[scalefactor];
scale             500 libavcodec/atrac9dec.c                 coeffs[k] *= scale;
scale             612 libavcodec/atrac9dec.c             float scale = at9_band_ext_scales_m3[c->band_ext_data[0]][0];
scale             616 libavcodec/atrac9dec.c                 scale *= rate;
scale             617 libavcodec/atrac9dec.c                 c->coeffs[i] *= scale;
scale              58 libavcodec/avfft.c FFTContext *av_mdct_init(int nbits, int inverse, double scale)
scale              62 libavcodec/avfft.c     if (s && ff_mdct_init(s, nbits, inverse, scale))
scale              63 libavcodec/avfft.h FFTContext *av_mdct_init(int nbits, int inverse, double scale);
scale              50 libavcodec/bmvaudio.c     int scale[2];
scale              68 libavcodec/bmvaudio.c         scale[0] = bmv_aud_mults[code & 0xF];
scale              69 libavcodec/bmvaudio.c         scale[1] = bmv_aud_mults[code >> 4];
scale              71 libavcodec/bmvaudio.c             *output_samples++ = av_clip_int16((scale[0] * (int8_t)*buf++) >> 5);
scale              72 libavcodec/bmvaudio.c             *output_samples++ = av_clip_int16((scale[1] * (int8_t)*buf++) >> 5);
scale              75 libavcodec/cbs_h264_syntax_template.c     int err, i, scale;
scale              77 libavcodec/cbs_h264_syntax_template.c     scale = 8;
scale              80 libavcodec/cbs_h264_syntax_template.c         scale = (scale + current->delta_scale[i] + 256) % 256;
scale              81 libavcodec/cbs_h264_syntax_template.c         if (scale == 0)
scale             624 libavcodec/dca_core.c     int32_t audio[16], scale;
scale             672 libavcodec/dca_core.c         scale = ff_dca_scale_factor_quant7[index];
scale             675 libavcodec/dca_core.c         scale = mul23(4697620 /* 0.035 * (1 << 27) */, scale);
scale             679 libavcodec/dca_core.c             s->lfe_samples[ofs] = clip23(audio[n] * scale >> 4);
scale             712 libavcodec/dca_core.c                     scale = s->scale_factors[ch][band][0];
scale             714 libavcodec/dca_core.c                     scale = s->scale_factors[ch][band][1];
scale             719 libavcodec/dca_core.c                     scale = clip23(adj * scale >> 22);
scale             723 libavcodec/dca_core.c                            audio, step_size, scale, 0, DCA_SUBBAND_SAMPLES);
scale            1021 libavcodec/dca_core.c                 int32_t audio[DCA_SUBBAND_SAMPLES], step_size, scale;
scale            1047 libavcodec/dca_core.c                     scale = xbr_scale_factors[ch][band][0];
scale            1049 libavcodec/dca_core.c                     scale = xbr_scale_factors[ch][band][1];
scale            1052 libavcodec/dca_core.c                            audio, step_size, scale, 1, DCA_SUBBAND_SAMPLES);
scale            1178 libavcodec/dca_core.c             int32_t scale    = s->scale_factors[ch][band >> 1][band & 1];
scale            1182 libavcodec/dca_core.c                 if (scale <= 1)
scale            1186 libavcodec/dca_core.c                     samples[n] = mul31(rand_x96(s), scale);
scale            1196 libavcodec/dca_core.c                         *samples++ = clip23(vq_samples[n] * scale + (1 << 3) >> 4);
scale            1211 libavcodec/dca_core.c                 int32_t audio[DCA_SUBBAND_SAMPLES], step_size, scale;
scale            1229 libavcodec/dca_core.c                 scale = s->scale_factors[ch][band >> 1][band & 1];
scale            1232 libavcodec/dca_core.c                            audio, step_size, scale, 0, DCA_SUBBAND_SAMPLES);
scale             228 libavcodec/dca_core.h                                           int32_t step_size, int32_t scale, int residual, int len)
scale             231 libavcodec/dca_core.h     int64_t step_scale = (int64_t)step_size * scale;
scale             955 libavcodec/dca_lbr.c     double scale = (-1.0 / (1 << 17)) * sqrt(1 << (2 - s->limited_range));
scale             961 libavcodec/dca_lbr.c     ret = ff_mdct_init(&s->imdct, s->freq_range + 6, 1, scale);
scale             969 libavcodec/dca_lbr.c         scale = 0.85;
scale             971 libavcodec/dca_lbr.c         scale = (br_per_ch - 14000) * (1.0 / 120000) + 0.85;
scale             973 libavcodec/dca_lbr.c         scale = 1.0;
scale             975 libavcodec/dca_lbr.c     scale *= 1.0 / INT_MAX;
scale             981 libavcodec/dca_lbr.c             s->sb_scf[i] = (i - 1) * 0.25 * 0.785 * scale;
scale             983 libavcodec/dca_lbr.c             s->sb_scf[i] = 0.785 * scale;
scale              78 libavcodec/dca_xll.c         int code, sign, coeff, scale, scale_inv = 0;
scale              90 libavcodec/dca_xll.c             scale = ff_dca_dmixtable[index + FF_DCA_DMIXTABLE_OFFSET];
scale              92 libavcodec/dca_xll.c             c->dmix_scale[i] = (scale ^ sign) - sign;
scale             892 libavcodec/dca_xll.c         int scale = o->dmix_scale[i];
scale             894 libavcodec/dca_xll.c         c->dmix_scale[i] = mul15(c->dmix_scale[i], scale);
scale            1220 libavcodec/dca_xll.c             int scale = o->dmix_scale[nchannels++];
scale            1221 libavcodec/dca_xll.c             if (scale != (1 << 15)) {
scale            1223 libavcodec/dca_xll.c                                       scale, s->nframesamples);
scale            1226 libavcodec/dca_xll.c                                           scale, DCA_XLL_DECI_HISTORY_MAX);
scale             115 libavcodec/dcadec.c     const float scale = 1.0f / (1 << 15);
scale             122 libavcodec/dcadec.c                              coeff_l[pos    ] * scale, nsamples);
scale             124 libavcodec/dcadec.c                              coeff_r[pos + 1] * scale, nsamples);
scale             133 libavcodec/dcadec.c                                      *coeff_l * scale, nsamples);
scale             137 libavcodec/dcadec.c                                      *coeff_r * scale, nsamples);
scale              37 libavcodec/dcadsp.c         int32_t scale = scale_factors[i][0];
scale              39 libavcodec/dcadsp.c             dst[i][j + ofs] = clip23(coeff[j] * scale + (1 << 3) >> 4);
scale              51 libavcodec/dcadsp.c         int32_t scale = scale_factors[i];
scale              53 libavcodec/dcadsp.c             dst[i][j + ofs] = clip23(mul17(src[i][j + ofs], scale));
scale             123 libavcodec/dcadsp.c                               float scale)
scale             140 libavcodec/dcadsp.c                                   pcm_samples, input, scale);
scale             152 libavcodec/dcadsp.c                               float scale)
scale             189 libavcodec/dcadsp.c                                      pcm_samples, input, scale);
scale             334 libavcodec/dcadsp.c static void dmix_scale_c(int32_t *dst, int scale, ptrdiff_t len)
scale             339 libavcodec/dcadsp.c         dst[i] = mul15(dst[i], scale);
scale              56 libavcodec/dcadsp.h                              float scale);
scale              81 libavcodec/dcadsp.h     void (*dmix_scale)(int32_t *dst, int scale, ptrdiff_t len);
scale             350 libavcodec/dnxhddec.c     const int *scale;
scale             363 libavcodec/dnxhddec.c             scale = row->chroma_scale;
scale             367 libavcodec/dnxhddec.c             scale = row->luma_scale;
scale             373 libavcodec/dnxhddec.c             scale = row->chroma_scale;
scale             376 libavcodec/dnxhddec.c             scale = row->luma_scale;
scale             428 libavcodec/dnxhddec.c         level *= scale[i];
scale             429 libavcodec/dnxhddec.c         level += scale[i] >> 1;
scale             372 libavcodec/dolby_e.c             float scale = mantissa_tab1[size1][idx] * exp;
scale             385 libavcodec/dolby_e.c                         mnt[k] = values[k] * scale;
scale             399 libavcodec/dolby_e.c                     mnt[k] = get_sbits(&s->gb, size1) * scale;
scale             407 libavcodec/dxva2_hevc.c     int scale = ctx_pic->pp.dwCodingParamToolFlags & 1;
scale             415 libavcodec/dxva2_hevc.c                                     scale ? &ctx_pic->qm : NULL, scale ? sizeof(ctx_pic->qm) : 0,
scale             172 libavcodec/fft.h int ff_mdct_init(FFTContext *s, int nbits, int inverse, double scale);
scale             365 libavcodec/ffv1dec.c static int read_quant_table(RangeCoder *c, int16_t *quant_table, int scale)
scale             380 libavcodec/ffv1dec.c             quant_table[i] = scale * v;
scale             267 libavcodec/fitsdec.c         double scale = header.data_max - header.data_min;
scale             269 libavcodec/fitsdec.c         if (scale <= 0 || !isfinite(scale)) {
scale             270 libavcodec/fitsdec.c             scale = 1;
scale             272 libavcodec/fitsdec.c         scale = 1/scale;
scale             282 libavcodec/fitsdec.c                     *dst++ = lrint(((t - header.data_min) * ((1 << (sizeof(type) * 8)) - 1)) * scale); \
scale             361 libavcodec/g723_1dec.c     int16_t scale;
scale             405 libavcodec/g723_1dec.c     scale = ff_g723_1_normalize_bits(temp1, 31);
scale             407 libavcodec/g723_1dec.c         energy[i] = (energy[i] << scale) >> 16;
scale             444 libavcodec/g723_1dec.c                              int *exc_eng, int *scale)
scale             451 libavcodec/g723_1dec.c     *scale = ff_g723_1_scale_vector(buf, p->excitation, FRAME_LEN + PITCH_MAX);
scale             614 libavcodec/g723_1dec.c         int scale, energy;
scale             617 libavcodec/g723_1dec.c         scale = ff_g723_1_scale_vector(dst, buf, SUBFRAME_LEN);
scale             638 libavcodec/g723_1dec.c         temp = 2 * scale + 4;
scale              99 libavcodec/g723_1enc.c     int i, scale, temp;
scale             115 libavcodec/g723_1enc.c     scale       = ff_g723_1_normalize_bits(temp, 31);
scale             116 libavcodec/g723_1enc.c     autocorr[0] = av_clipl_int32((int64_t) (temp << scale) +
scale             125 libavcodec/g723_1enc.c             temp        = MULL2((temp << scale), binomial_window[i - 1]);
scale             599 libavcodec/g723_1enc.c                                  const int16_t *src, int16_t *dest, int scale)
scale             625 libavcodec/g723_1enc.c         dest[i] = av_clipl_int32(((buf[i] + (fir << 3)) << scale) + (iir << 3) +
scale             787 libavcodec/g723_1enc.c     int amp, err, max, max_amp_index, min, scale, i, j, k, l;
scale             805 libavcodec/g723_1enc.c     scale           = ff_g723_1_normalize_bits(temp, 31);
scale             806 libavcodec/g723_1enc.c     impulse_corr[0] = av_clipl_int32((temp << scale) + (1 << 15)) >> 16;
scale             811 libavcodec/g723_1enc.c         impulse_corr[i] = av_clipl_int32((temp << scale) + (1 << 15)) >> 16;
scale             815 libavcodec/g723_1enc.c     scale -= 4;
scale             818 libavcodec/g723_1enc.c         if (scale < 0)
scale             819 libavcodec/g723_1enc.c             ccr1[i] = temp >> -scale;
scale             821 libavcodec/g723_1enc.c             ccr1[i] = av_clipl_int32(temp << scale);
scale             222 libavcodec/h263.c     int x, y, wrap, a, c, pred_dc, scale, i;
scale             232 libavcodec/h263.c         scale = s->y_dc_scale;
scale             239 libavcodec/h263.c         scale = s->c_dc_scale;
scale             289 libavcodec/h263.c     block[0]=block[0]*scale + pred_dc;
scale             602 libavcodec/h264_direct.c                 int ref0, scale;
scale             625 libavcodec/h264_direct.c                 scale = dist_scale_factor[ref0];
scale             632 libavcodec/h264_direct.c                     int mx                = (scale * mv_col[0] + 128) >> 8;
scale             633 libavcodec/h264_direct.c                     int my                = (scale * my_col    + 128) >> 8;
scale             654 libavcodec/h264_direct.c                 const int scale = dist_scale_factor[ref0];
scale             657 libavcodec/h264_direct.c                 mv_l0[0] = (scale * mv_col[0] + 128) >> 8;
scale             658 libavcodec/h264_direct.c                 mv_l0[1] = (scale * mv_col[1] + 128) >> 8;
scale             670 libavcodec/h264_direct.c                 int ref0, scale;
scale             692 libavcodec/h264_direct.c                 scale = dist_scale_factor[ref0];
scale             698 libavcodec/h264_direct.c                     int mx                = (scale * mv_col[0] + 128) >> 8;
scale             699 libavcodec/h264_direct.c                     int my                = (scale * mv_col[1] + 128) >> 8;
scale             709 libavcodec/h264_direct.c                         mv_l0[0] = (scale * mv_col[0] + 128) >> 8;
scale             710 libavcodec/h264_direct.c                         mv_l0[1] = (scale * mv_col[1] + 128) >> 8;
scale              35 libavcodec/hcadec.c     uint8_t  scale[128];
scale             109 libavcodec/hcadec.c     float scale = 1.f / 8.f;
scale             253 libavcodec/hcadec.c     return av_tx_init(&c->tx_ctx, &c->tx_fn, AV_TX_FLOAT_MDCT, 1, 128, &scale, 0);
scale             306 libavcodec/hcadec.c         unsigned scale = ch->scale[i];
scale             307 libavcodec/hcadec.c         int nb_bits = max_bits_table[scale];
scale             311 libavcodec/hcadec.c         if (scale > 7) {
scale             317 libavcodec/hcadec.c             value += scale << 4;
scale             372 libavcodec/hcadec.c         int scale = ch->scale_factors[i];
scale             374 libavcodec/hcadec.c         if (scale) {
scale             375 libavcodec/hcadec.c             scale = c->ath[i] + ((packed_noise_level + i) >> 8) - ((scale * 5) >> 1) + 2;
scale             376 libavcodec/hcadec.c             scale = scale_table[av_clip(scale, 0, 58)];
scale             378 libavcodec/hcadec.c         ch->scale[i] = scale;
scale             381 libavcodec/hcadec.c     memset(ch->scale + ch->count, 0, sizeof(ch->scale) - ch->count);
scale             384 libavcodec/hcadec.c         ch->base[i] = dequantizer_scaling_table[ch->scale_factors[i]] * quant_step_size[ch->scale[i]];
scale            1059 libavcodec/hevc_cabac.c     int qp,shift,add,scale,scale_m;
scale            1123 libavcodec/hevc_cabac.c         scale    = level_scale[rem6[qp]] << (div6[qp]);
scale            1141 libavcodec/hevc_cabac.c         scale        = 0;
scale            1466 libavcodec/hevc_cabac.c                     trans_coeff_level = (trans_coeff_level * (int64_t)scale * (int64_t)scale_m + add) >> shift;
scale             602 libavcodec/ilbcdec.c     int16_t scale = FFMAX(1638, FFABS(max_in));
scale             604 libavcodec/ilbcdec.c     return ((scale * ilbc_gain[stage][index]) + 8192) >> 14;
scale             913 libavcodec/ilbcdec.c                         int16_t lag, int16_t blen, int16_t srange, int16_t scale)
scale             919 libavcodec/ilbcdec.c     *corr = scale_dot_product(&buffer[blen - srange], w16ptr, srange, scale);
scale             920 libavcodec/ilbcdec.c     *ener = scale_dot_product(w16ptr, w16ptr, srange, scale);
scale             130 libavcodec/imc.c     double scale = sampling_rate / (256.0 * 2.0 * 2.0);
scale             136 libavcodec/imc.c         freq = (band_tab[i] + band_tab[i + 1] - 1) * scale;
scale             549 libavcodec/ituh263enc.c                 int scale;
scale             551 libavcodec/ituh263enc.c                 if(i<4) scale= s->y_dc_scale;
scale             552 libavcodec/ituh263enc.c                 else    scale= s->c_dc_scale;
scale             558 libavcodec/ituh263enc.c                     level = (level + (scale>>1))/scale;
scale             560 libavcodec/ituh263enc.c                     level = (level - (scale>>1))/scale;
scale             571 libavcodec/ituh263enc.c                 rec_intradc[i] = scale*level + pred_dc;
scale             232 libavcodec/lagarith.c     rac->scale = scale_factor;
scale              48 libavcodec/lagarithrac.c     l->hash_shift   = FFMAX(l->scale, 10) - 10;
scale              43 libavcodec/lagarithrac.h     unsigned scale;             /**< Number of bits of precision in range. */
scale              85 libavcodec/lagarithrac.h     range_scaled = l->range >> l->scale;
scale             703 libavcodec/libx264.c         int scale = X264_BUILD < 129 ? 384 : 1;
scale             707 libavcodec/libx264.c                 x4->params.i_frame_reference = av_clip(x264_levels[i].dpb / mbn / scale, 1, x4->params.i_frame_reference);
scale             129 libavcodec/lpc.c         double scale = ((double)qmax) / cmax;
scale             131 libavcodec/lpc.c             lpc_in[i] *= scale;
scale             247 libavcodec/mdct15.c av_cold int ff_mdct15_init(MDCT15Context **ps, int inverse, int N, double scale)
scale             286 libavcodec/mdct15.c     theta = 0.125f + (scale < 0 ? s->len4 : 0);
scale             287 libavcodec/mdct15.c     scale = sqrt(fabs(scale));
scale             290 libavcodec/mdct15.c         s->twiddle_exptab[i].re = cosf(alpha) * scale;
scale             291 libavcodec/mdct15.c         s->twiddle_exptab[i].im = sinf(alpha) * scale;
scale              57 libavcodec/mdct15.h int ff_mdct15_init(MDCT15Context **ps, int inverse, int N, double scale);
scale              48 libavcodec/mdct_template.c av_cold int ff_mdct_init(FFTContext *s, int nbits, int inverse, double scale)
scale              81 libavcodec/mdct_template.c     theta = 1.0 / 8.0 + (scale < 0 ? n4 : 0);
scale              82 libavcodec/mdct_template.c     scale = sqrt(fabs(scale));
scale              89 libavcodec/mdct_template.c         s->tcos[i*tstep] = FIX15(-cos(alpha) * scale);
scale              90 libavcodec/mdct_template.c         s->tsin[i*tstep] = FIX15(-sin(alpha) * scale);
scale              66 libavcodec/mips/aacdec_mips.h                            const float *scale)
scale              89 libavcodec/mips/aacdec_mips.h         : [idx]"r"(idx), [scale]"r"(scale), [v]"r"(v),
scale              97 libavcodec/mips/aacdec_mips.h                            const float *scale)
scale             131 libavcodec/mips/aacdec_mips.h         : [idx]"r"(idx), [scale]"r"(scale), [v]"r"(v),
scale             139 libavcodec/mips/aacdec_mips.h                             unsigned sign, const float *scale)
scale             172 libavcodec/mips/aacdec_mips.h         : [idx]"r"(idx), [scale]"r"(scale), [v]"r"(v),
scale             180 libavcodec/mips/aacdec_mips.h                             unsigned sign, const float *scale)
scale             239 libavcodec/mips/aacdec_mips.h         : [idx]"r"(idx), [scale]"r"(scale), [v]"r"(v),
scale             207 libavcodec/mips/ac3dsp_mips.c     const float scale = 1 << 24;
scale             263 libavcodec/mips/ac3dsp_mips.c             : [scale] "f" (scale)
scale             205 libavcodec/mpeg4video.h     int a, b, c, wrap, pred, scale, ret;
scale             210 libavcodec/mpeg4video.h         scale = s->y_dc_scale;
scale             212 libavcodec/mpeg4video.h         scale = s->c_dc_scale;
scale             214 libavcodec/mpeg4video.h         scale = 8;
scale             247 libavcodec/mpeg4video.h     pred = FASTDIV((pred + (scale >> 1)), scale);
scale             255 libavcodec/mpeg4video.h     level *= scale;
scale             263 libavcodec/mpeg4video.h             if (level > 2048 + scale) {
scale             577 libavcodec/mpegaudiodec_template.c     int scale, qindex, bits, steps, k, l, m, b;
scale             661 libavcodec/mpegaudiodec_template.c                         scale = scale_factors[ch][i][k];
scale             672 libavcodec/mpegaudiodec_template.c                                 l2_unscale_group(steps,  v2       & 15, scale);
scale             674 libavcodec/mpegaudiodec_template.c                                 l2_unscale_group(steps, (v2 >> 4) & 15, scale);
scale             676 libavcodec/mpegaudiodec_template.c                                 l2_unscale_group(steps,  v2 >> 8      , scale);
scale             680 libavcodec/mpegaudiodec_template.c                                 v = l1_unscale(bits - 1, v, scale);
scale             110 libavcodec/mpegutils.c         const int scale = 1 << shift;
scale             136 libavcodec/mpegutils.c                             mbcount += add_mb(mvs + mbcount, mb_type, sx, sy, mx, my, scale, direction);
scale             149 libavcodec/mpegutils.c                             mbcount += add_mb(mvs + mbcount, mb_type, sx, sy, mx, my, scale, direction);
scale             162 libavcodec/mpegutils.c                             mbcount += add_mb(mvs + mbcount, mb_type, sx, sy, mx, my, scale, direction);
scale             170 libavcodec/mpegutils.c                           mbcount += add_mb(mvs + mbcount, mb_type, sx, sy, mx, my, scale, direction);
scale            1369 libavcodec/mpegvideo_enc.c     const int scale = s->brd_scale;
scale            1370 libavcodec/mpegvideo_enc.c     int width  = s->width  >> scale;
scale            1371 libavcodec/mpegvideo_enc.c     int height = s->height >> scale;
scale            1377 libavcodec/mpegvideo_enc.c     av_assert0(scale >= 0 && scale <= 3);
scale            1404 libavcodec/mpegvideo_enc.c             s->mpvencdsp.shrink[scale](s->tmp_frames[i]->data[0],
scale            1409 libavcodec/mpegvideo_enc.c             s->mpvencdsp.shrink[scale](s->tmp_frames[i]->data[1],
scale            1414 libavcodec/mpegvideo_enc.c             s->mpvencdsp.shrink[scale](s->tmp_frames[i]->data[2],
scale              32 libavcodec/mpegvideoencdsp.c                           int16_t basis[64], int scale)
scale              38 libavcodec/mpegvideoencdsp.c         int b = rem[i] + ((basis[i] * scale +
scale              50 libavcodec/mpegvideoencdsp.c static void add_8x8basis_c(int16_t rem[64], int16_t basis[64], int scale)
scale              55 libavcodec/mpegvideoencdsp.c         rem[i] += (basis[i] * scale +
scale              34 libavcodec/mpegvideoencdsp.h                         int16_t basis[64], int scale);
scale              35 libavcodec/mpegvideoencdsp.h     void (*add_8x8basis)(int16_t rem[64], int16_t basis[64], int scale);
scale             179 libavcodec/msmpeg4.c static int get_dc(uint8_t *src, int stride, int scale, int block_size)
scale             189 libavcodec/msmpeg4.c     return FASTDIV((sum + (scale>>1)), scale);
scale             196 libavcodec/msmpeg4.c     int a, b, c, wrap, pred, scale;
scale             201 libavcodec/msmpeg4.c         scale = s->y_dc_scale;
scale             203 libavcodec/msmpeg4.c         scale = s->c_dc_scale;
scale             240 libavcodec/msmpeg4.c         : "g" (scale), "S" (ff_inverse[scale])
scale             245 libavcodec/msmpeg4.c     if (scale == 8) {
scale             250 libavcodec/msmpeg4.c         a = FASTDIV((a + (scale >> 1)), scale);
scale             251 libavcodec/msmpeg4.c         b = FASTDIV((b + (scale >> 1)), scale);
scale             252 libavcodec/msmpeg4.c         c = FASTDIV((c + (scale >> 1)), scale);
scale             285 libavcodec/msmpeg4.c                 if(s->mb_x==0) a= (1024 + (scale>>1))/scale;
scale             286 libavcodec/msmpeg4.c                 else           a= get_dc(dest-bs, wrap, scale*8>>(2*s->avctx->lowres), bs);
scale             287 libavcodec/msmpeg4.c                 if(s->mb_y==0) c= (1024 + (scale>>1))/scale;
scale             288 libavcodec/msmpeg4.c                 else           c= get_dc(dest-bs*wrap, wrap, scale*8>>(2*s->avctx->lowres), bs);
scale              97 libavcodec/mss2.c     int scale = av_log2(range) - av_log2(n);
scale             100 libavcodec/mss2.c     if (n << scale > range)
scale             101 libavcodec/mss2.c         scale--;
scale             103 libavcodec/mss2.c     n <<= scale;
scale             105 libavcodec/mss2.c     val = arith2_get_scaled_value(c->value - c->low, n, range) >> scale;
scale             107 libavcodec/mss2.c     arith2_rescale_interval(c, range, val << scale, (val + 1) << scale, n);
scale             117 libavcodec/mss2.c     int scale = av_log2(range) - av_log2(n);
scale             120 libavcodec/mss2.c     if (n << scale > range)
scale             121 libavcodec/mss2.c         scale--;
scale             123 libavcodec/mss2.c     n <<= scale;
scale             125 libavcodec/mss2.c     val = arith2_get_scaled_value(c->value - c->low, n, range) >> scale;
scale             129 libavcodec/mss2.c                             probs[i] << scale, probs[i - 1] << scale, n);
scale             104 libavcodec/mss3.c     int      quality, scale;
scale             138 libavcodec/mss3.c     unsigned scale;
scale             156 libavcodec/mss3.c     scale = 0x80000000u / m->total_weight;
scale             157 libavcodec/mss3.c     m->zero_freq    = m->zero_weight  * scale >> 18;
scale             158 libavcodec/mss3.c     m->total_freq   = m->total_weight * scale >> 18;
scale             165 libavcodec/mss3.c     unsigned scale;
scale             180 libavcodec/mss3.c     scale = 0x80000000u / m->tot_weight;
scale             182 libavcodec/mss3.c         m->freqs[i] = sum * scale >> 16;
scale             219 libavcodec/mss3.c     unsigned scale;
scale             235 libavcodec/mss3.c     scale = 0x80000000u / m->tot_weight;
scale             238 libavcodec/mss3.c         m->freqs[i] = sum * scale >> 16;
scale             602 libavcodec/mss3.c             block[i] *= hc->scale;
scale             657 libavcodec/mss3.c             ctx->haar_coder[i].scale   = 17 - 7 * quality / 50;
scale              54 libavcodec/mss34dsp.c         int scale = 200 - 2 * quality;
scale              57 libavcodec/mss34dsp.c             qmat[i] = (qsrc[i] * scale + 50) / 100;
scale             141 libavcodec/on2avc.c     int w, w2, b, scale, first = 1;
scale             169 libavcodec/on2avc.c                 scale = get_bits(gb, 7);
scale             172 libavcodec/on2avc.c                 scale += get_vlc2(gb, c->scale_diff.table, 9, 3) - 60;
scale             174 libavcodec/on2avc.c             if (scale < 0 || scale > 127) {
scale             176 libavcodec/on2avc.c                        scale);
scale             179 libavcodec/on2avc.c             c->band_scales[band_off++] = c->scale_tab[scale];
scale             186 libavcodec/on2avc.c static inline float on2avc_scale(int v, float scale)
scale             188 libavcodec/on2avc.c     return v * sqrtf(abs(v)) * scale;
scale             655 libavcodec/opus.c         int scale    = duration + f->channels - 1;
scale             662 libavcodec/opus.c         trim_offset[i] = trim * (band << scale) >> 6;
scale              66 libavcodec/opus_rc.c static av_always_inline void opus_rc_dec_update(OpusRangeCoder *rc, uint32_t scale,
scale              70 libavcodec/opus_rc.c     rc->value -= scale * (total - high);
scale              71 libavcodec/opus_rc.c     rc->range  = low ? scale * (high - low)
scale              72 libavcodec/opus_rc.c                       : rc->range - scale * (total - high);
scale              92 libavcodec/opus_rc.c     unsigned int k, scale, total, symbol, low, high;
scale              96 libavcodec/opus_rc.c     scale   = rc->range / total;
scale              97 libavcodec/opus_rc.c     symbol = rc->value / scale + 1;
scale             104 libavcodec/opus_rc.c     opus_rc_dec_update(rc, scale, low, high, total);
scale             116 libavcodec/opus_rc.c     uint32_t k, scale;
scale             117 libavcodec/opus_rc.c     scale = rc->range >> bits; // in this case, scale = symbol
scale             119 libavcodec/opus_rc.c     if (rc->value >= scale) {
scale             120 libavcodec/opus_rc.c         rc->value -= scale;
scale             121 libavcodec/opus_rc.c         rc->range -= scale;
scale             124 libavcodec/opus_rc.c         rc->range = scale;
scale             184 libavcodec/opus_rc.c     uint32_t bits, k, scale, total;
scale             189 libavcodec/opus_rc.c     scale  = rc->range / total;
scale             190 libavcodec/opus_rc.c     k      = rc->value / scale + 1;
scale             192 libavcodec/opus_rc.c     opus_rc_dec_update(rc, scale, k, k + 1, total);
scale             214 libavcodec/opus_rc.c     uint32_t k, scale, symbol, total = (k0+1)*3 + k0;
scale             215 libavcodec/opus_rc.c     scale  = rc->range / total;
scale             216 libavcodec/opus_rc.c     symbol = rc->value / scale + 1;
scale             221 libavcodec/opus_rc.c     opus_rc_dec_update(rc, scale, (k <= k0) ? 3*(k+0) : (k-1-k0) + 3*(k0+1),
scale             236 libavcodec/opus_rc.c     uint32_t k, scale, symbol, total, low, center;
scale             239 libavcodec/opus_rc.c     scale   = rc->range / total;
scale             240 libavcodec/opus_rc.c     center = rc->value / scale + 1;
scale             253 libavcodec/opus_rc.c     opus_rc_dec_update(rc, scale, low, low + symbol, total);
scale             279 libavcodec/opus_rc.c     uint32_t scale, low = 0, center;
scale             281 libavcodec/opus_rc.c     scale  = rc->range >> 15;
scale             282 libavcodec/opus_rc.c     center = rc->value / scale + 1;
scale             309 libavcodec/opus_rc.c     opus_rc_dec_update(rc, scale, low, FFMIN(low + symbol, 32768), 32768);
scale             683 libavcodec/opus_silk.c             float scale;
scale             687 libavcodec/opus_silk.c                 scale   = ltpscale;
scale             690 libavcodec/opus_silk.c                 scale   = 1.0f;
scale             699 libavcodec/opus_silk.c                 resptr[j] = av_clipf(sum, -1.0f, 1.0f) * scale / sf[i].gain;
scale             239 libavcodec/pcm.c     float   scale;
scale             270 libavcodec/pcm.c         s->scale = 1. / (1 << (avctx->bits_per_coded_sample - 1));
scale             534 libavcodec/pcm.c                                     s->scale, FFALIGN(frame->nb_samples * avctx->channels, 4));
scale             110 libavcodec/pixlet.c             unsigned scale = ctx->levels - (i / 3);
scale             112 libavcodec/pixlet.c             ctx->band[plane][i + 1].width  =  w >> scale;
scale             113 libavcodec/pixlet.c             ctx->band[plane][i + 1].height =  h >> scale;
scale             114 libavcodec/pixlet.c             ctx->band[plane][i + 1].size   = (w >> scale) * (h >> scale);
scale             116 libavcodec/pixlet.c             ctx->band[plane][i + 1].x = (w >> scale) * (((i + 1) % 3) != 2);
scale             117 libavcodec/pixlet.c             ctx->band[plane][i + 1].y = (h >> scale) * (((i + 1) % 3) != 1);
scale             377 libavcodec/pixlet.c static void filterfn(int16_t *dest, int16_t *tmp, unsigned size, int64_t scale)
scale             407 libavcodec/pixlet.c         dest[i * 2] = av_clip_int16(((value >> 32) * scale) >> 32);
scale             418 libavcodec/pixlet.c         dest[i * 2 + 1] = av_clip_int16(((value >> 32) * scale) >> 32);
scale             182 libavcodec/pnm.c         if (av_sscanf(buf1, "%f", &s->scale) != 1 || s->scale == 0.0 || !isfinite(s->scale)) {
scale             186 libavcodec/pnm.c         s->endian = s->scale < 0.f;
scale             187 libavcodec/pnm.c         s->scale = fabsf(s->scale);
scale              34 libavcodec/pnm.h     float scale;
scale              49 libavcodec/pnmdec.c     float scale;
scale             261 libavcodec/pnmdec.c         scale = 1.f / s->scale;
scale             270 libavcodec/pnmdec.c                     r[j] = av_int2float(AV_RL32(s->bytestream+0)) * scale;
scale             271 libavcodec/pnmdec.c                     g[j] = av_int2float(AV_RL32(s->bytestream+4)) * scale;
scale             272 libavcodec/pnmdec.c                     b[j] = av_int2float(AV_RL32(s->bytestream+8)) * scale;
scale             288 libavcodec/pnmdec.c                     r[j] = av_int2float(AV_RB32(s->bytestream+0)) * scale;
scale             289 libavcodec/pnmdec.c                     g[j] = av_int2float(AV_RB32(s->bytestream+4)) * scale;
scale             290 libavcodec/pnmdec.c                     b[j] = av_int2float(AV_RB32(s->bytestream+8)) * scale;
scale              35 libavcodec/ppc/hevcdsp_template.c     scale(res, res_packed, shift);
scale              41 libavcodec/ppc/hevcdsp_template.c     scale(res, res_packed, shift2);
scale             802 libavcodec/proresenc_anatoliy.c static void scale_mat(const uint8_t* src, int* dst, int scale)
scale             806 libavcodec/proresenc_anatoliy.c         dst[i] = src[i] * scale;
scale             407 libavcodec/proresenc_kostya.c                        int blocks_per_slice, int scale)
scale             412 libavcodec/proresenc_kostya.c     prev_dc = (blocks[0] - 0x4000) / scale;
scale             419 libavcodec/proresenc_kostya.c         dc       = (blocks[0] - 0x4000) / scale;
scale             663 libavcodec/proresenc_kostya.c                         int scale)
scale             669 libavcodec/proresenc_kostya.c     prev_dc  = (blocks[0] - 0x4000) / scale;
scale             674 libavcodec/proresenc_kostya.c     *error  += FFABS(blocks[0] - 0x4000) % scale;
scale             677 libavcodec/proresenc_kostya.c         dc       = (blocks[0] - 0x4000) / scale;
scale             678 libavcodec/proresenc_kostya.c         *error  += FFABS(blocks[0] - 0x4000) % scale;
scale             536 libavcodec/qdmc.c     float scale, *noise_ptr;
scale             538 libavcodec/qdmc.c     scale = 0.5 * amplitude;
scale             547 libavcodec/qdmc.c         s->noise2_buffer[j    ] += scale * noise_ptr[0];
scale             548 libavcodec/qdmc.c         s->noise2_buffer[j + 1] += scale * noise_ptr[1];
scale             549 libavcodec/qdmc.c         s->noise2_buffer[j + 2] += scale * noise_ptr[2];
scale             550 libavcodec/qdmc.c         s->noise2_buffer[j + 3] += scale * noise_ptr[3];
scale             556 libavcodec/qdmc.c         s->noise2_buffer[k] += scale * noise_ptr[0];
scale             388 libavcodec/siren.c     const float scale = 1.0f / (22.f * 32768.f);
scale             423 libavcodec/siren.c     return av_tx_init(&s->tx_ctx, &s->tx_fn, AV_TX_FLOAT_MDCT, 1, FRAME_SIZE, &scale, 0);
scale             368 libavcodec/snow.c         const int scale= plane_index ?  (2*s->mv_scale)>>s->chroma_h_shift : 2*s->mv_scale;
scale             369 libavcodec/snow.c         int mx= block->mx*scale;
scale             370 libavcodec/snow.c         int my= block->my*scale;
scale             260 libavcodec/snow.h         const int *scale = ff_scale_mv_ref[ref];
scale             261 libavcodec/snow.h         *mx = mid_pred((left->mx * scale[left->ref] + 128) >>8,
scale             262 libavcodec/snow.h                        (top ->mx * scale[top ->ref] + 128) >>8,
scale             263 libavcodec/snow.h                        (tr  ->mx * scale[tr  ->ref] + 128) >>8);
scale             264 libavcodec/snow.h         *my = mid_pred((left->my * scale[left->ref] + 128) >>8,
scale             265 libavcodec/snow.h                        (top ->my * scale[top ->ref] + 128) >>8,
scale             266 libavcodec/snow.h                        (tr  ->my * scale[tr  ->ref] + 128) >>8);
scale             750 libavcodec/snow_dwt.c     static const int scale[2][2][4][4] = {
scale             804 libavcodec/snow_dwt.c                             scale[type][dec_count - 3][level][ori];
scale              30 libavcodec/synth_filter.c                                float out[32], const float in[32], float scale)
scale              54 libavcodec/synth_filter.c         out[i     ] = a * scale;
scale              55 libavcodec/synth_filter.c         out[i + 16] = b * scale;
scale              66 libavcodec/synth_filter.c                                   float out[64], const float in[64], float scale)
scale              90 libavcodec/synth_filter.c         out[i     ] = a * scale;
scale              91 libavcodec/synth_filter.c         out[i + 32] = b * scale;
scale              32 libavcodec/synth_filter.h                                float scale);
scale              36 libavcodec/synth_filter.h                                   float out[64], const float in[64], float scale);
scale              88 libavcodec/takdec.c     int scale;
scale             274 libavcodec/takdec.c                 unsigned scale = get_unary(gb, 1, 9);
scale             275 libavcodec/takdec.c                 if (scale == 9) {
scale             283 libavcodec/takdec.c                         scale = get_bits_long(gb, scale_bits) + 1;
scale             284 libavcodec/takdec.c                         x    += code.scale * scale;
scale             288 libavcodec/takdec.c                     x += code.scale * scale - code.escape;
scale             181 libavcodec/tests/dct.c     int it, i, scale;
scale             208 libavcodec/tests/dct.c                 scale = 8 * (1 << (AANSCALE_BITS + 11)) / ff_aanscales[i];
scale             209 libavcodec/tests/dct.c                 block[i] = (block[i] * scale) >> AANSCALE_BITS;
scale             203 libavcodec/tests/fft.c static int check_diff(FFTSample *tab1, FFTSample *tab2, int n, double scale)
scale             209 libavcodec/tests/fft.c         double e = fabs(tab1[i] - (tab2[i] / scale)) / RANGE;
scale             232 libavcodec/tests/fft.c static inline void mdct_init(FFTContext **s, int nbits, int inverse, double scale)
scale             235 libavcodec/tests/fft.c     *s = av_mdct_init(nbits, inverse, scale);
scale             237 libavcodec/tests/fft.c     ff_mdct_init(*s, nbits, inverse, scale);
scale             389 libavcodec/tests/fft.c     double scale = 1.0;
scale             431 libavcodec/tests/fft.c             scale = atof(optarg);
scale             458 libavcodec/tests/fft.c         av_log(NULL, AV_LOG_INFO, "Scale factor is set to %f\n", scale);
scale             463 libavcodec/tests/fft.c         mdct_init(&m, fft_nbits, do_inverse, scale);
scale             519 libavcodec/tests/fft.c             err = check_diff(&tab_ref->re, tab2, fft_size, scale);
scale             523 libavcodec/tests/fft.c             err = check_diff(&tab_ref->re, tab2, fft_size / 2, scale);
scale             570 libavcodec/vc1.c         int scale, shift, i;                                                  \
scale             572 libavcodec/vc1.c             scale = -64;                                                      \
scale             577 libavcodec/vc1.c             scale = lumscale + 32;                                            \
scale             586 libavcodec/vc1.c             luty[i]  = av_clip_uint8((scale * iy + shift + 32) >> 6);         \
scale             587 libavcodec/vc1.c             lutuv[i] = av_clip_uint8((scale * (iu - 128) + 128*64 + 32) >> 6);\
scale             342 libavcodec/vc1_block.c     int a, b, c, wrap, pred, scale;
scale             352 libavcodec/vc1_block.c     if (n < 4) scale = s->y_dc_scale;
scale             353 libavcodec/vc1_block.c     else       scale = s->c_dc_scale;
scale             368 libavcodec/vc1_block.c             b = a = dcpred[scale];
scale             370 libavcodec/vc1_block.c             b = c = dcpred[scale];
scale             587 libavcodec/vc1_block.c     int dcdiff, scale;
scale             617 libavcodec/vc1_block.c         scale = s->y_dc_scale;
scale             619 libavcodec/vc1_block.c         scale = s->c_dc_scale;
scale             620 libavcodec/vc1_block.c     block[0] = dcdiff * scale;
scale             629 libavcodec/vc1_block.c     scale = v->pq * 2 + v->halfpq;
scale             678 libavcodec/vc1_block.c                 block[k] *= scale;
scale             700 libavcodec/vc1_block.c                 block[k << sh] = ac_val[k] * scale;
scale             732 libavcodec/vc1_block.c     int scale;
scale             765 libavcodec/vc1_block.c         scale = s->y_dc_scale;
scale             767 libavcodec/vc1_block.c         scale = s->c_dc_scale;
scale             768 libavcodec/vc1_block.c     block[0] = dcdiff * scale;
scale             774 libavcodec/vc1_block.c     scale = quant * 2 + ((mquant < 0) ? 0 : v->halfpq);
scale             864 libavcodec/vc1_block.c                 block[k] *= scale;
scale             895 libavcodec/vc1_block.c                 block[k << sh] = ac_val2[k] * scale;
scale             928 libavcodec/vc1_block.c     int scale;
scale             985 libavcodec/vc1_block.c     scale = quant * 2 + ((mquant < 0) ? 0 : v->halfpq);
scale            1063 libavcodec/vc1_block.c                 block[k] *= scale;
scale            1105 libavcodec/vc1_block.c                     block[k << v->left_blk_sh] = ac_val2[k] * scale;
scale            1111 libavcodec/vc1_block.c                     block[k << v->top_blk_sh] = ac_val2[k + 8] * scale;
scale            1135 libavcodec/vc1_block.c     int scale, off, idx, last, skip, value;
scale            1159 libavcodec/vc1_block.c     scale = quant * 2 + ((mquant < 0) ? 0 : v->halfpq);
scale            1186 libavcodec/vc1_block.c             block[idx] = value * scale;
scale            1216 libavcodec/vc1_block.c                 block[idx + off] = value * scale;
scale            1245 libavcodec/vc1_block.c                 block[idx] = value * scale;
scale            1274 libavcodec/vc1_block.c                 block[idx] = value * scale;
scale             185 libavcodec/vp9mvs.c #define RETURN_SCALE_MV(mv, scale)              \
scale             187 libavcodec/vp9mvs.c         if (scale) {                            \
scale             414 libavcodec/vp9recon.c                                             const uint16_t *scale, const uint8_t *step)
scale             422 libavcodec/vp9recon.c #define scale_mv(n, dim) (((int64_t)(n) * scale[dim]) >> 14)
scale             474 libavcodec/vp9recon.c                                               const uint16_t *scale, const uint8_t *step)
scale              35 libavcodec/x86/mpegvideoenc_qns_template.c static int DEF(try_8x8basis)(int16_t rem[64], int16_t weight[64], int16_t basis[64], int scale)
scale              39 libavcodec/x86/mpegvideoenc_qns_template.c     av_assert2(FFABS(scale) < MAX_ABS);
scale              40 libavcodec/x86/mpegvideoenc_qns_template.c     scale<<= 16 + SCALE_OFFSET - BASIS_SHIFT + RECON_SHIFT;
scale              72 libavcodec/x86/mpegvideoenc_qns_template.c         : "r"(basis), "r"(rem), "r"(weight), "g"(scale)
scale              77 libavcodec/x86/mpegvideoenc_qns_template.c static void DEF(add_8x8basis)(int16_t rem[64], int16_t basis[64], int scale)
scale              81 libavcodec/x86/mpegvideoenc_qns_template.c     if(FFABS(scale) < MAX_ABS){
scale              82 libavcodec/x86/mpegvideoenc_qns_template.c         scale<<= 16 + SCALE_OFFSET - BASIS_SHIFT + RECON_SHIFT;
scale             102 libavcodec/x86/mpegvideoenc_qns_template.c                 : "r"(basis), "r"(rem), "g"(scale)
scale             106 libavcodec/x86/mpegvideoenc_qns_template.c             rem[i] += (basis[i]*scale + (1<<(BASIS_SHIFT - RECON_SHIFT-1)))>>(BASIS_SHIFT - RECON_SHIFT);
scale              29 libavcodec/x86/synth_filter_init.c                                  float out[32], intptr_t offset, float scale); \
scale              33 libavcodec/x86/synth_filter_init.c                                float out[32], const float in[32], float scale) \
scale              40 libavcodec/x86/synth_filter_init.c                                 out, *synth_buf_offset, scale);                \
scale             209 libavfilter/af_adeclick.c                             double *output, double scale)
scale             219 libavfilter/af_adeclick.c         output[i] = value * scale;
scale             562 libavfilter/af_afir.c                 const float scale = 1.f / seg->part_size;
scale             580 libavfilter/af_afir.c                 coeff[coffset].re = block[0] * scale;
scale             583 libavfilter/af_afir.c                     coeff[coffset + n].re = block[2 * n] * scale;
scale             584 libavfilter/af_afir.c                     coeff[coffset + n].im = block[2 * n + 1] * scale;
scale             586 libavfilter/af_afir.c                 coeff[coffset + seg->part_size].re = block[1] * scale;
scale             102 libavfilter/af_firequalizer.c     int           scale;
scale             136 libavfilter/af_firequalizer.c     { "scale", "set gain scale", OFFSET(scale), AV_OPT_TYPE_INT, { .i64 = SCALE_LINLOG }, 0, NB_SCALE-1, FLAGS, "scale" },
scale             613 libavfilter/af_firequalizer.c     int xlog = s->scale == SCALE_LOGLIN || s->scale == SCALE_LOGLOG;
scale             614 libavfilter/af_firequalizer.c     int ylog = s->scale == SCALE_LINLOG || s->scale == SCALE_LOGLOG;
scale             214 libavfilter/asrc_afirsrc.c     float overlap, scale = 1.f, compensation;
scale             258 libavfilter/asrc_afirsrc.c     ret = av_tx_init(&s->tx_ctx, &s->tx_fn, AV_TX_FLOAT_FFT, 1, fft_size, &scale, 0);
scale             116 libavfilter/asrc_sinc.c                        float scale, int dc_norm)
scale             120 libavfilter/asrc_sinc.c     float mult = scale / bessel_I_0(beta), mult1 = 1.f / (.5f * m + rho);
scale             135 libavfilter/asrc_sinc.c         h[i] *= scale / sum;
scale              45 libavfilter/avf_ahistogram.c     int scale;
scale              72 libavfilter/avf_ahistogram.c     { "scale", "set display scale", OFFSET(scale), AV_OPT_TYPE_INT, {.i64=LOG}, LINEAR, NB_SCALES-1, FLAGS, "scale" },
scale             280 libavfilter/avf_ahistogram.c             switch (s->scale) {
scale              65 libavfilter/avf_avectorscope.c     int scale;
scale             101 libavfilter/avf_avectorscope.c     { "scale", "set amplitude scale mode", OFFSET(scale), AV_OPT_TYPE_INT, {.i64=LIN}, 0, SCALE_NB-1, FLAGS, "scale" },
scale             311 libavfilter/avf_avectorscope.c         switch (s->scale) {
scale              64 libavfilter/avf_showfreqs.c     float scale;
scale             221 libavfilter/avf_showfreqs.c     for (s->scale = 0, i = 0; i < s->win_size; i++) {
scale             222 libavfilter/avf_showfreqs.c         s->scale += s->window_func_lut[i] * s->window_func_lut[i];
scale             416 libavfilter/avf_showfreqs.c         a = av_clipd(M(RE(0, ch), 0) / s->scale, 0, 1);
scale             420 libavfilter/avf_showfreqs.c             a = av_clipd(M(RE(f, ch), IM(f, ch)) / s->scale, 0, 1);
scale              68 libavfilter/avf_showspectrum.c     int scale;
scale             133 libavfilter/avf_showspectrum.c     { "scale", "set display scale", OFFSET(scale), AV_OPT_TYPE_INT, {.i64=SQRT}, LINEAR, NB_SCALES-1, FLAGS, "scale" },
scale             901 libavfilter/avf_showspectrum.c     switch (s->scale) {
scale            1214 libavfilter/avf_showspectrum.c     const double w = s->win_scale * (s->scale == LOG ? s->win_scale : 1);
scale            1242 libavfilter/avf_showspectrum.c     const double w = s->win_scale * (s->scale == LOG ? s->win_scale : 1);
scale            1254 libavfilter/avf_showspectrum.c static void scale_magnitudes(ShowSpectrumContext *s, float scale)
scale            1262 libavfilter/avf_showspectrum.c             magnitudes[y] *= scale;
scale            1567 libavfilter/avf_showspectrum.c     { "scale", "set display scale", OFFSET(scale), AV_OPT_TYPE_INT, {.i64=LOG}, 0, NB_SCALES-1, FLAGS, "scale" },
scale              77 libavfilter/avf_showwaves.c     int scale;                  ///< ShowWavesScale
scale             110 libavfilter/avf_showwaves.c     { "scale", "set amplitude scale", OFFSET(scale), AV_OPT_TYPE_INT, {.i64 = 0 }, 0, SCALE_NB-1, FLAGS, .unit="scale" },
scale             462 libavfilter/avf_showwaves.c     switch (showwaves->scale) {
scale             787 libavfilter/avf_showwaves.c     { "scale", "set amplitude scale", OFFSET(scale), AV_OPT_TYPE_INT, {.i64 = 0 }, 0, SCALE_NB-1, FLAGS, .unit="scale" },
scale              39 libavfilter/convolution.h     float scale;
scale             149 libavfilter/f_ebur128.c     int scale;                      ///< display scale type of statistics
scale             192 libavfilter/f_ebur128.c     { "scale", "sets display method for the stats", OFFSET(scale), AV_OPT_TYPE_INT, {.i64 = 0}, SCALE_TYPE_ABSOLUTE, SCALE_TYPE_RELATIVE, V|F, "scaletype" },
scale             813 libavfilter/f_ebur128.c                 if (ebur128->scale == SCALE_TYPE_ABSOLUTE) {
scale             866 libavfilter/f_ebur128.c             if (ebur128->scale == SCALE_TYPE_ABSOLUTE) {
scale             220 libavfilter/opencl/deshake.cl     float scale = 1.0f / ((1 << 2) * HARRIS_RADIUS * 255.0f);
scale             256 libavfilter/opencl/deshake.cl     float r = (sumdx2 * sumdy2 - sumdxdy * sumdxdy) - 0.04f * (trace * trace) * pown(scale, 4);
scale             341 libavfilter/opencl/deshake.cl         float scale = 1.0f / det;
scale             342 libavfilter/opencl/deshake.cl         feature_tmp.x = (float)(feature.x + (c * scale * bb1) - (b * scale * bb2));
scale             343 libavfilter/opencl/deshake.cl         feature_tmp.y = (float)(feature.y - (b * scale * bb1) + (a * scale * bb2));
scale              78 libavfilter/phase_template.c         double scale;
scale             157 libavfilter/phase_template.c         scale = 1.0 / (w * (h - 3)) * factor;
scale             158 libavfilter/phase_template.c         pdiff *= scale;
scale             159 libavfilter/phase_template.c         tdiff *= scale;
scale             160 libavfilter/phase_template.c         bdiff *= scale;
scale              48 libavfilter/vaf_spectrumsynth.c     int scale;
scale              78 libavfilter/vaf_spectrumsynth.c     { "scale",       "set input amplitude scale", OFFSET(scale), AV_OPT_TYPE_INT, {.i64 = LOG}, 0, NB_SCALES-1, V, "scale" },
scale             253 libavfilter/vaf_spectrumsynth.c     switch (s->scale) {
scale             278 libavfilter/vaf_spectrumsynth.c     switch (s->scale) {
scale             104 libavfilter/vf_colorbalance.c     const float a = 4.f, b = 0.333f, scale = 0.7f;
scale             106 libavfilter/vf_colorbalance.c     s *= av_clipf((b - l) * a + 0.5f, 0, 1) * scale;
scale             107 libavfilter/vf_colorbalance.c     m *= av_clipf((l - b) * a + 0.5f, 0, 1) * av_clipf((1.0 - l - b) * a + 0.5f, 0, 1) * scale;
scale             108 libavfilter/vf_colorbalance.c     h *= av_clipf((l + b - 1) * a + 0.5f, 0, 1) * scale;
scale             111 libavfilter/vf_convolution.c                              float scale, float delta, const int *const matrix,
scale             124 libavfilter/vf_convolution.c         dst[x] = av_clip(sqrtf(suma*suma + sumb*sumb) * scale + delta, 0, peak);
scale             129 libavfilter/vf_convolution.c                              float scale, float delta, const int *const matrix,
scale             140 libavfilter/vf_convolution.c         dst[x] = av_clip(sqrtf(suma*suma + sumb*sumb) * scale + delta, 0, peak);
scale             145 libavfilter/vf_convolution.c                            float scale, float delta, const int *const matrix,
scale             158 libavfilter/vf_convolution.c         dst[x] = av_clip(sqrtf(suma*suma + sumb*sumb) * scale + delta, 0, peak);
scale             163 libavfilter/vf_convolution.c                            float scale, float delta, const int *const matrix,
scale             178 libavfilter/vf_convolution.c         dst[x] = av_clip_uint8(sqrtf(suma*suma + sumb*sumb) * scale + delta);
scale             183 libavfilter/vf_convolution.c                            float scale, float delta, const int *const matrix,
scale             193 libavfilter/vf_convolution.c         dst[x] = av_clip_uint8(sqrtf(suma*suma + sumb*sumb) * scale + delta);
scale             198 libavfilter/vf_convolution.c                          float scale, float delta, const int *const matrix,
scale             213 libavfilter/vf_convolution.c         dst[x] = av_clip_uint8(sqrtf(suma*suma + sumb*sumb) * scale + delta);
scale             710 libavfilter/vf_convolution.c             s->rdiv[i] = s->scale;
scale             721 libavfilter/vf_convolution.c             s->rdiv[i] = s->scale;
scale             732 libavfilter/vf_convolution.c             s->rdiv[i] = s->scale;
scale             778 libavfilter/vf_convolution.c     { "scale",  "set scale",            OFFSET(scale), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, 0.0,  65535, FLAGS},
scale             803 libavfilter/vf_convolution.c     { "scale",  "set scale",            OFFSET(scale), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, 0.0,  65535, FLAGS},
scale             828 libavfilter/vf_convolution.c     { "scale",  "set scale",            OFFSET(scale), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, 0.0,  65535, FLAGS},
scale              51 libavfilter/vf_convolution_opencl.c     cl_float scale;
scale             254 libavfilter/vf_convolution_opencl.c                 CL_SET_KERNEL_ARG(ctx->kernel, 2, cl_float, &ctx->scale);
scale             384 libavfilter/vf_convolution_opencl.c     { "scale",  "set scale",            OFFSET(scale), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, 0.0,  65535, FLAGS},
scale             410 libavfilter/vf_convolution_opencl.c     { "scale",  "set scale",            OFFSET(scale), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, 0.0,  65535, FLAGS},
scale             436 libavfilter/vf_convolution_opencl.c     { "scale",  "set scale",            OFFSET(scale), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, 0.0,  65535, FLAGS},
scale             186 libavfilter/vf_convolve.c                       AVFrame *in, int w, int h, int n, int plane, float scale)
scale             196 libavfilter/vf_convolve.c                 fft_hdata[(y + ih) * n + iw + x].re = src[x] * scale;
scale             229 libavfilter/vf_convolve.c                 fft_hdata[(y + ih) * n + iw + x].re = src[x] * scale;
scale             330 libavfilter/vf_convolve.c                        int w, int h, int n, int plane, float scale)
scale             341 libavfilter/vf_convolve.c                 dst[x] = av_clip_uint8(input[y * n + x].re * scale);
scale             346 libavfilter/vf_convolve.c                 dst[x] = av_clip_uint8(input[y * n + n - hw + x].re * scale);
scale             351 libavfilter/vf_convolve.c                 dst[x] = av_clip_uint8(input[(n - hh + y) * n + x].re * scale);
scale             356 libavfilter/vf_convolve.c                 dst[x] = av_clip_uint8(input[(n - hh + y) * n + n - hw + x].re * scale);
scale             362 libavfilter/vf_convolve.c                 dst[x] = av_clip(input[y * n + x].re * scale, 0, max);
scale             367 libavfilter/vf_convolve.c                 dst[x] = av_clip(input[y * n + n - hw + x].re * scale, 0, max);
scale             372 libavfilter/vf_convolve.c                 dst[x] = av_clip(input[(n - hh + y) * n + x].re * scale, 0, max);
scale             377 libavfilter/vf_convolve.c                 dst[x] = av_clip(input[(n - hh + y) * n + n - hw + x].re * scale, 0, max);
scale             110 libavfilter/vf_cover_rect.c                     int scale = 65536 / (x + 1);
scale             111 libavfilter/vf_cover_rect.c                     s += data[-1 + y*stride] * scale;
scale             112 libavfilter/vf_cover_rect.c                     c += scale;
scale             115 libavfilter/vf_cover_rect.c                     int scale = 65536 / (y + 1);
scale             116 libavfilter/vf_cover_rect.c                     s += data[x - stride] * scale;
scale             117 libavfilter/vf_cover_rect.c                     c += scale;
scale             120 libavfilter/vf_cover_rect.c                     int scale = 65536 / (w - x);
scale             121 libavfilter/vf_cover_rect.c                     s += data[w + y*stride] * scale;
scale             122 libavfilter/vf_cover_rect.c                     c += scale;
scale             125 libavfilter/vf_cover_rect.c                     int scale = 65536 / (h - y);
scale             126 libavfilter/vf_cover_rect.c                     s += data[x + h*stride] * scale;
scale             127 libavfilter/vf_cover_rect.c                     c += scale;
scale             160 libavfilter/vf_curves.c     const int scale = lut_size - 1;
scale             177 libavfilter/vf_curves.c             if ((int)(last->x * scale) >= (int)(point->x * scale)) {
scale             224 libavfilter/vf_curves.c     const int scale = lut_size - 1;
scale             238 libavfilter/vf_curves.c             y[i] = CLIP(point->y * scale);
scale             295 libavfilter/vf_curves.c     for (i = 0; i < (int)(point->x * scale); i++)
scale             296 libavfilter/vf_curves.c         y[i] = CLIP(point->y * scale);
scale             311 libavfilter/vf_curves.c         const int x_start = point->x       * scale;
scale             312 libavfilter/vf_curves.c         const int x_end   = point->next->x * scale;
scale             318 libavfilter/vf_curves.c             const double xx = (x - x_start) * 1./scale;
scale             320 libavfilter/vf_curves.c             y[x] = CLIP(yy * scale);
scale             329 libavfilter/vf_curves.c     for (i = (int)(point->x * scale); i < lut_size; i++)
scale             330 libavfilter/vf_curves.c         y[i] = CLIP(point->y * scale);
scale             415 libavfilter/vf_curves.c     const double scale = 1. / (lut_size - 1);
scale             449 libavfilter/vf_curves.c             av_bprintf(&buf, "%f %f\n", x * scale, graph[i][x] * scale);
scale             177 libavfilter/vf_deshake_opencl.c     cl_float2 scale;
scale             769 libavfilter/vf_deshake_opencl.c         ret.scale.s[0] = r;
scale             770 libavfilter/vf_deshake_opencl.c         ret.scale.s[1] = delta / r;
scale             777 libavfilter/vf_deshake_opencl.c         ret.scale.s[0] = delta / s;
scale             778 libavfilter/vf_deshake_opencl.c         ret.scale.s[1] = s;
scale            1949 libavfilter/vf_deshake_opencl.c     new_vals[RingbufScaleX] = prev_vals[RingbufScaleX] / relative.scale.s[0];
scale            1950 libavfilter/vf_deshake_opencl.c     new_vals[RingbufScaleY] = prev_vals[RingbufScaleY] / relative.scale.s[1];
scale              69 libavfilter/vf_fftdnoiz.c     void (*export_row)(FFTComplex *src, uint8_t *dst, int rw, float scale, int depth);
scale             159 libavfilter/vf_fftdnoiz.c static void export_row8(FFTComplex *src, uint8_t *dst, int rw, float scale, int depth)
scale             164 libavfilter/vf_fftdnoiz.c         dst[j] = av_clip_uint8(src[j].re * scale + 0.5f);
scale             178 libavfilter/vf_fftdnoiz.c static void export_row16(FFTComplex *src, uint8_t *dstp, int rw, float scale, int depth)
scale             184 libavfilter/vf_fftdnoiz.c         dst[j] = av_clip_uintp2_c(src[j].re * scale + 0.5f, depth);
scale             330 libavfilter/vf_fftdnoiz.c     const float scale = 1.f / (block * block);
scale             363 libavfilter/vf_fftdnoiz.c                 s->export_row(hdst + woff, dst, rw, scale, depth);
scale             383 libavfilter/vf_fftdnoiz.c     const float scale = 1.f / 3.f;
scale             419 libavfilter/vf_fftdnoiz.c                     cbuff[2 * j    ] = (sumr + mpr + mnr) * scale;
scale             420 libavfilter/vf_fftdnoiz.c                     cbuff[2 * j + 1] = (sumi + mpi + mni) * scale;
scale              82 libavfilter/vf_lensfun.c     float scale;
scale             112 libavfilter/vf_lensfun.c     { "scale", "scale factor applied after corrections (0.0 means automatic scaling)", OFFSET(scale), AV_OPT_TYPE_FLOAT, {.dbl=0.0}, 0.0, DBL_MAX, FLAGS },
scale             233 libavfilter/vf_lensfun.c                                    lensfun->scale,
scale              68 libavfilter/vf_lut3d.c     float scale[3];
scale              79 libavfilter/vf_lut3d.c     struct rgbvec scale;
scale             251 libavfilter/vf_lut3d.c     const float scaled = (s - prelut->min[idx]) * prelut->scale[idx];
scale             297 libavfilter/vf_lut3d.c     const float scale_r = lut3d->scale.r * lut_max;                                                    \
scale             298 libavfilter/vf_lut3d.c     const float scale_g = lut3d->scale.g * lut_max;                                                    \
scale             299 libavfilter/vf_lut3d.c     const float scale_b = lut3d->scale.b * lut_max;                                                    \
scale             382 libavfilter/vf_lut3d.c     const float scale_r = lut3d->scale.r * lut_max;                                                    \
scale             383 libavfilter/vf_lut3d.c     const float scale_g = lut3d->scale.g * lut_max;                                                    \
scale             384 libavfilter/vf_lut3d.c     const float scale_b = lut3d->scale.b * lut_max;                                                    \
scale             447 libavfilter/vf_lut3d.c     const float scale_r = lut3d->scale.r * lut_max;                                                 \
scale             448 libavfilter/vf_lut3d.c     const float scale_g = lut3d->scale.g * lut_max;                                                 \
scale             449 libavfilter/vf_lut3d.c     const float scale_b = lut3d->scale.b * lut_max;                                                 \
scale             659 libavfilter/vf_lut3d.c     lut3d->scale.r = av_clipf(1. / (max[0] - min[0]), 0.f, 1.f);
scale             660 libavfilter/vf_lut3d.c     lut3d->scale.g = av_clipf(1. / (max[1] - min[1]), 0.f, 1.f);
scale             661 libavfilter/vf_lut3d.c     lut3d->scale.b = av_clipf(1. / (max[2] - min[2]), 0.f, 1.f);
scale             675 libavfilter/vf_lut3d.c     const float scale = 16*16*16;
scale             693 libavfilter/vf_lut3d.c                 vec->r = r / scale;
scale             694 libavfilter/vf_lut3d.c                 vec->g = g / scale;
scale             695 libavfilter/vf_lut3d.c                 vec->b = b / scale;
scale             706 libavfilter/vf_lut3d.c     float scale;
scale             752 libavfilter/vf_lut3d.c     scale = 1. / (out - 1);
scale             763 libavfilter/vf_lut3d.c                 vec->r = val[rgb_map[0]] * scale;
scale             764 libavfilter/vf_lut3d.c                 vec->g = val[rgb_map[1]] * scale;
scale             765 libavfilter/vf_lut3d.c                 vec->b = val[rgb_map[2]] * scale;
scale             975 libavfilter/vf_lut3d.c             lut3d->prelut.scale[c] =  (1.0f / (float)(in_max[c] - in_min[c])) * (lut3d->prelut.size - 1);
scale             991 libavfilter/vf_lut3d.c         lut3d->scale.r = 1.00f;
scale             992 libavfilter/vf_lut3d.c         lut3d->scale.g = 1.00f;
scale             993 libavfilter/vf_lut3d.c         lut3d->scale.b = 1.00f;
scale             996 libavfilter/vf_lut3d.c         lut3d->scale.r = av_clipf(1. / (in_max[0] - in_min[0]), 0.f, 1.f);
scale             997 libavfilter/vf_lut3d.c         lut3d->scale.g = av_clipf(1. / (in_max[1] - in_min[1]), 0.f, 1.f);
scale             998 libavfilter/vf_lut3d.c         lut3d->scale.b = av_clipf(1. / (in_max[2] - in_min[2]), 0.f, 1.f);
scale            1151 libavfilter/vf_lut3d.c     lut3d->scale.r = lut3d->scale.g = lut3d->scale.b = 1.f;
scale            1452 libavfilter/vf_lut3d.c     lut3d->scale.r = lut3d->scale.g = lut3d->scale.b = 1.f;
scale            1525 libavfilter/vf_lut3d.c     struct rgbvec scale;
scale            1622 libavfilter/vf_lut3d.c     lut1d->scale.r = av_clipf(1. / (in_max[0] - in_min[0]), 0.f, 1.f);
scale            1623 libavfilter/vf_lut3d.c     lut1d->scale.g = av_clipf(1. / (in_max[1] - in_min[1]), 0.f, 1.f);
scale            1624 libavfilter/vf_lut3d.c     lut1d->scale.b = av_clipf(1. / (in_max[2] - in_min[2]), 0.f, 1.f);
scale            1676 libavfilter/vf_lut3d.c     lut1d->scale.r = av_clipf(1. / (max[0] - min[0]), 0.f, 1.f);
scale            1677 libavfilter/vf_lut3d.c     lut1d->scale.g = av_clipf(1. / (max[1] - min[1]), 0.f, 1.f);
scale            1678 libavfilter/vf_lut3d.c     lut1d->scale.b = av_clipf(1. / (max[2] - min[2]), 0.f, 1.f);
scale            1795 libavfilter/vf_lut3d.c     const float scale_r = (lut1d->scale.r / factor) * (lut1d->lutsize - 1);  \
scale            1796 libavfilter/vf_lut3d.c     const float scale_g = (lut1d->scale.g / factor) * (lut1d->lutsize - 1);  \
scale            1797 libavfilter/vf_lut3d.c     const float scale_b = (lut1d->scale.b / factor) * (lut1d->lutsize - 1);  \
scale            1891 libavfilter/vf_lut3d.c     const float scale_r = lut1d->scale.r * lutsize;                          \
scale            1892 libavfilter/vf_lut3d.c     const float scale_g = lut1d->scale.g * lutsize;                          \
scale            1893 libavfilter/vf_lut3d.c     const float scale_b = lut1d->scale.b * lutsize;                          \
scale            1955 libavfilter/vf_lut3d.c     const float scale_r = (lut1d->scale.r / factor) * (lut1d->lutsize - 1);  \
scale            1956 libavfilter/vf_lut3d.c     const float scale_g = (lut1d->scale.g / factor) * (lut1d->lutsize - 1);  \
scale            1957 libavfilter/vf_lut3d.c     const float scale_b = (lut1d->scale.b / factor) * (lut1d->lutsize - 1);  \
scale            2041 libavfilter/vf_lut3d.c     lut1d->scale.r = lut1d->scale.g = lut1d->scale.b = 1.f;
scale              40 libavfilter/vf_mix.c     float scale;
scale             122 libavfilter/vf_mix.c     if (s->scale == 0) {
scale             125 libavfilter/vf_mix.c         s->wfactor = s->scale;
scale             313 libavfilter/vf_mix.c     { "scale", "set scale", OFFSET(scale), AV_OPT_TYPE_FLOAT, {.dbl=0}, 0, INT16_MAX, .flags = FLAGS },
scale             393 libavfilter/vf_mix.c     { "scale", "set scale", OFFSET(scale), AV_OPT_TYPE_FLOAT, {.dbl=0}, 0, INT16_MAX, .flags = FLAGS },
scale             268 libavfilter/vf_nnedi.c static void dot_prod(NNEDIContext *s, const float *data, const float *weights, float *vals, const int n, const int len, const float *scale)
scale             277 libavfilter/vf_nnedi.c         vals[i] = sum * scale[0] + weights[n * len + i];
scale             281 libavfilter/vf_nnedi.c static void dot_prods(NNEDIContext *s, const float *dataf, const float *weightsf, float *vals, const int n, const int len, const float *scale)
scale             293 libavfilter/vf_nnedi.c         vals[i] = sum * wf[off] * scale[0] + wf[off + 4];
scale             299 libavfilter/vf_nnedi.c     float t, temp[12], scale = 1.0f;
scale             301 libavfilter/vf_nnedi.c     dot_prod(s, input, weights, temp, 4, 48, &scale);
scale             305 libavfilter/vf_nnedi.c     dot_prod(s, temp, weights + 4 * 49, temp + 4, 4, 4, &scale);
scale             307 libavfilter/vf_nnedi.c     dot_prod(s, temp, weights + 4 * 49 + 4 * 5, temp + 8, 4, 8, &scale);
scale             317 libavfilter/vf_nnedi.c     float t, temp[12], scale = 1.0f;
scale             319 libavfilter/vf_nnedi.c     dot_prods(s, inputf, weightsf, temp, 4, 48, &scale);
scale             323 libavfilter/vf_nnedi.c     dot_prod(s, temp, wf + 8, temp + 4, 4, 4, &scale);
scale             325 libavfilter/vf_nnedi.c     dot_prod(s, temp, wf + 8 + 4 * 5, temp + 8, 4, 8, &scale);
scale             491 libavfilter/vf_nnedi.c     float scale;
scale             508 libavfilter/vf_nnedi.c     scale = 1.0f / (xdia * ydia);
scale             509 libavfilter/vf_nnedi.c     mstd[0] = sum * scale;
scale             510 libavfilter/vf_nnedi.c     tmp = (double)sumsq * scale - (double)mstd[0] * mstd[0];
scale             523 libavfilter/vf_nnedi.c     float scale;
scale             536 libavfilter/vf_nnedi.c     scale = 1.0f / (float)(xdia * ydia);
scale             537 libavfilter/vf_nnedi.c     mstd[0] = sum * scale;
scale             538 libavfilter/vf_nnedi.c     mstd[1] = sumsq * scale - mstd[0] * mstd[0];
scale             589 libavfilter/vf_nnedi.c     const float scale = 1.0f / (float)qual;
scale             627 libavfilter/vf_nnedi.c                 dstp[x] = FFMIN(FFMAX((int)(mstd[3] * scale + 0.5f), 0), s->max_value);
scale            1024 libavfilter/vf_nnedi.c             double scale, mval = 0.0;
scale            1028 libavfilter/vf_nnedi.c             scale = 32767.0 / mval;
scale            1030 libavfilter/vf_nnedi.c                 ws[offt[j * 64 + k]] = roundds(((bdw[offt[j * 64 + k]] - mean[j]) / 127.5) * scale);
scale            1050 libavfilter/vf_nnedi.c                 double scale, mval = 0.0;
scale            1053 libavfilter/vf_nnedi.c                 scale = 32767.0 / mval;
scale            1055 libavfilter/vf_nnedi.c                     ws[j * 48 + k] = roundds(((bdata[j * 48 + k] - mean[j]) / 127.5) * scale);
scale            1108 libavfilter/vf_nnedi.c                 double scale, mval = 0.0;
scale            1111 libavfilter/vf_nnedi.c                 scale = 32767.0 / mval;
scale            1113 libavfilter/vf_nnedi.c                     ws[j * asize + k] = roundds((bdataT[j * asize + k] - mean[asize + 1 + j] - mean[k]) * scale);
scale            1118 libavfilter/vf_nnedi.c                 double scale, mval = 0.0;
scale            1121 libavfilter/vf_nnedi.c                 scale = 32767.0 / mval;
scale            1123 libavfilter/vf_nnedi.c                     ws[j * asize + k] = roundds((bdataT[j * asize + k] - mean[asize + 1 + j]) * scale);
scale             369 libavfilter/vf_normalize.c             float scale = (max[c].out - min[c].out) / (max[c].smoothed - min[c].smoothed);
scale             371 libavfilter/vf_normalize.c                 int out_val = (in_val - min[c].smoothed) * scale + min[c].out + 0.5f;
scale             428 libavfilter/vf_normalize.c     int c, planar, scale;
scale             432 libavfilter/vf_normalize.c     scale = 1 << (s->depth - 8);
scale             451 libavfilter/vf_normalize.c         s->sblackpt[c] = scale * s->blackpt[c] + (s->blackpt[c] >> (s->depth - 8));
scale             452 libavfilter/vf_normalize.c         s->swhitept[c] = scale * s->whitept[c] + (s->whitept[c] >> (s->depth - 8));
scale             161 libavfilter/vf_paletteuse.c static av_always_inline int dither_color(uint32_t px, int er, int eg, int eb, int scale, int shift)
scale             164 libavfilter/vf_paletteuse.c          | av_clip_uint8((px >> 16 & 0xff) + ((er * scale) / (1<<shift))) << 16
scale             165 libavfilter/vf_paletteuse.c          | av_clip_uint8((px >>  8 & 0xff) + ((eg * scale) / (1<<shift))) <<  8
scale             166 libavfilter/vf_paletteuse.c          | av_clip_uint8((px       & 0xff) + ((eb * scale) / (1<<shift)));
scale             164 libavfilter/vf_scale.c     ScaleContext *scale = ctx->priv;
scale             167 libavfilter/vf_scale.c     if (!scale->w_pexpr && !scale->h_pexpr)
scale             170 libavfilter/vf_scale.c     if (scale->w_pexpr)
scale             171 libavfilter/vf_scale.c         av_expr_count_vars(scale->w_pexpr, vars_w, VARS_NB);
scale             172 libavfilter/vf_scale.c     if (scale->h_pexpr)
scale             173 libavfilter/vf_scale.c         av_expr_count_vars(scale->h_pexpr, vars_h, VARS_NB);
scale             176 libavfilter/vf_scale.c         av_log(ctx, AV_LOG_ERROR, "Width expression cannot be self-referencing: '%s'.\n", scale->w_expr);
scale             181 libavfilter/vf_scale.c         av_log(ctx, AV_LOG_ERROR, "Height expression cannot be self-referencing: '%s'.\n", scale->h_expr);
scale             187 libavfilter/vf_scale.c         av_log(ctx, AV_LOG_WARNING, "Circular references detected for width '%s' and height '%s' - possibly invalid.\n", scale->w_expr, scale->h_expr);
scale             206 libavfilter/vf_scale.c     if (scale->eval_mode == EVAL_MODE_INIT &&
scale             222 libavfilter/vf_scale.c     ScaleContext *scale = ctx->priv;
scale             231 libavfilter/vf_scale.c         av_opt_set(scale, var, args, 0);
scale             264 libavfilter/vf_scale.c         av_opt_set(scale, var, old_str_expr, 0);
scale             275 libavfilter/vf_scale.c     ScaleContext *scale = ctx->priv;
scale             278 libavfilter/vf_scale.c     if (scale->size_str && (scale->w_expr || scale->h_expr)) {
scale             284 libavfilter/vf_scale.c     if (scale->w_expr && !scale->h_expr)
scale             285 libavfilter/vf_scale.c         FFSWAP(char *, scale->w_expr, scale->size_str);
scale             287 libavfilter/vf_scale.c     if (scale->size_str) {
scale             289 libavfilter/vf_scale.c         if ((ret = av_parse_video_size(&scale->w, &scale->h, scale->size_str)) < 0) {
scale             291 libavfilter/vf_scale.c                    "Invalid size '%s'\n", scale->size_str);
scale             294 libavfilter/vf_scale.c         snprintf(buf, sizeof(buf)-1, "%d", scale->w);
scale             295 libavfilter/vf_scale.c         av_opt_set(scale, "w", buf, 0);
scale             296 libavfilter/vf_scale.c         snprintf(buf, sizeof(buf)-1, "%d", scale->h);
scale             297 libavfilter/vf_scale.c         av_opt_set(scale, "h", buf, 0);
scale             299 libavfilter/vf_scale.c     if (!scale->w_expr)
scale             300 libavfilter/vf_scale.c         av_opt_set(scale, "w", "iw", 0);
scale             301 libavfilter/vf_scale.c     if (!scale->h_expr)
scale             302 libavfilter/vf_scale.c         av_opt_set(scale, "h", "ih", 0);
scale             304 libavfilter/vf_scale.c     ret = scale_parse_expr(ctx, NULL, &scale->w_pexpr, "width", scale->w_expr);
scale             308 libavfilter/vf_scale.c     ret = scale_parse_expr(ctx, NULL, &scale->h_pexpr, "height", scale->h_expr);
scale             313 libavfilter/vf_scale.c            scale->w_expr, scale->h_expr, (char *)av_x_if_null(scale->flags_str, ""), scale->interlaced);
scale             315 libavfilter/vf_scale.c     scale->flags = 0;
scale             317 libavfilter/vf_scale.c     if (scale->flags_str) {
scale             321 libavfilter/vf_scale.c         int ret = av_opt_eval_flags(&class, o, scale->flags_str, &scale->flags);
scale             325 libavfilter/vf_scale.c     scale->opts = *opts;
scale             333 libavfilter/vf_scale.c     ScaleContext *scale = ctx->priv;
scale             334 libavfilter/vf_scale.c     av_expr_free(scale->w_pexpr);
scale             335 libavfilter/vf_scale.c     av_expr_free(scale->h_pexpr);
scale             336 libavfilter/vf_scale.c     scale->w_pexpr = scale->h_pexpr = NULL;
scale             337 libavfilter/vf_scale.c     sws_freeContext(scale->sws);
scale             338 libavfilter/vf_scale.c     sws_freeContext(scale->isws[0]);
scale             339 libavfilter/vf_scale.c     sws_freeContext(scale->isws[1]);
scale             340 libavfilter/vf_scale.c     scale->sws = NULL;
scale             341 libavfilter/vf_scale.c     av_dict_free(&scale->opts);
scale             408 libavfilter/vf_scale.c     ScaleContext *scale = ctx->priv;
scale             426 libavfilter/vf_scale.c     scale->var_values[VAR_IN_W]  = scale->var_values[VAR_IW] = inlink->w;
scale             427 libavfilter/vf_scale.c     scale->var_values[VAR_IN_H]  = scale->var_values[VAR_IH] = inlink->h;
scale             428 libavfilter/vf_scale.c     scale->var_values[VAR_OUT_W] = scale->var_values[VAR_OW] = NAN;
scale             429 libavfilter/vf_scale.c     scale->var_values[VAR_OUT_H] = scale->var_values[VAR_OH] = NAN;
scale             430 libavfilter/vf_scale.c     scale->var_values[VAR_A]     = (double) inlink->w / inlink->h;
scale             431 libavfilter/vf_scale.c     scale->var_values[VAR_SAR]   = inlink->sample_aspect_ratio.num ?
scale             433 libavfilter/vf_scale.c     scale->var_values[VAR_DAR]   = scale->var_values[VAR_A] * scale->var_values[VAR_SAR];
scale             434 libavfilter/vf_scale.c     scale->var_values[VAR_HSUB]  = 1 << desc->log2_chroma_w;
scale             435 libavfilter/vf_scale.c     scale->var_values[VAR_VSUB]  = 1 << desc->log2_chroma_h;
scale             436 libavfilter/vf_scale.c     scale->var_values[VAR_OHSUB] = 1 << out_desc->log2_chroma_w;
scale             437 libavfilter/vf_scale.c     scale->var_values[VAR_OVSUB] = 1 << out_desc->log2_chroma_h;
scale             440 libavfilter/vf_scale.c         scale->var_values[VAR_S2R_MAIN_W] = main_link->w;
scale             441 libavfilter/vf_scale.c         scale->var_values[VAR_S2R_MAIN_H] = main_link->h;
scale             442 libavfilter/vf_scale.c         scale->var_values[VAR_S2R_MAIN_A] = (double) main_link->w / main_link->h;
scale             443 libavfilter/vf_scale.c         scale->var_values[VAR_S2R_MAIN_SAR] = main_link->sample_aspect_ratio.num ?
scale             445 libavfilter/vf_scale.c         scale->var_values[VAR_S2R_MAIN_DAR] = scale->var_values[VAR_S2R_MDAR] =
scale             446 libavfilter/vf_scale.c             scale->var_values[VAR_S2R_MAIN_A] * scale->var_values[VAR_S2R_MAIN_SAR];
scale             447 libavfilter/vf_scale.c         scale->var_values[VAR_S2R_MAIN_HSUB] = 1 << main_desc->log2_chroma_w;
scale             448 libavfilter/vf_scale.c         scale->var_values[VAR_S2R_MAIN_VSUB] = 1 << main_desc->log2_chroma_h;
scale             451 libavfilter/vf_scale.c     res = av_expr_eval(scale->w_pexpr, scale->var_values, NULL);
scale             452 libavfilter/vf_scale.c     eval_w = scale->var_values[VAR_OUT_W] = scale->var_values[VAR_OW] = (int) res == 0 ? inlink->w : (int) res;
scale             454 libavfilter/vf_scale.c     res = av_expr_eval(scale->h_pexpr, scale->var_values, NULL);
scale             456 libavfilter/vf_scale.c         expr = scale->h_expr;
scale             460 libavfilter/vf_scale.c     eval_h = scale->var_values[VAR_OUT_H] = scale->var_values[VAR_OH] = (int) res == 0 ? inlink->h : (int) res;
scale             462 libavfilter/vf_scale.c     res = av_expr_eval(scale->w_pexpr, scale->var_values, NULL);
scale             464 libavfilter/vf_scale.c         expr = scale->w_expr;
scale             468 libavfilter/vf_scale.c     eval_w = scale->var_values[VAR_OUT_W] = scale->var_values[VAR_OW] = (int) res == 0 ? inlink->w : (int) res;
scale             470 libavfilter/vf_scale.c     scale->w = eval_w;
scale             471 libavfilter/vf_scale.c     scale->h = eval_h;
scale             490 libavfilter/vf_scale.c     ScaleContext *scale = ctx->priv;
scale             496 libavfilter/vf_scale.c     ff_scale_adjust_dimensions(inlink, &scale->w, &scale->h,
scale             497 libavfilter/vf_scale.c                                scale->force_original_aspect_ratio,
scale             498 libavfilter/vf_scale.c                                scale->force_divisible_by);
scale             500 libavfilter/vf_scale.c     if (scale->w > INT_MAX ||
scale             501 libavfilter/vf_scale.c         scale->h > INT_MAX ||
scale             502 libavfilter/vf_scale.c         (scale->h * inlink->w) > INT_MAX ||
scale             503 libavfilter/vf_scale.c         (scale->w * inlink->h) > INT_MAX)
scale             506 libavfilter/vf_scale.c     outlink->w = scale->w;
scale             507 libavfilter/vf_scale.c     outlink->h = scale->h;
scale             511 libavfilter/vf_scale.c     scale->input_is_pal = desc->flags & AV_PIX_FMT_FLAG_PAL;
scale             513 libavfilter/vf_scale.c     scale->output_is_pal = av_pix_fmt_desc_get(outfmt)->flags & AV_PIX_FMT_FLAG_PAL ||
scale             516 libavfilter/vf_scale.c     if (scale->sws)
scale             517 libavfilter/vf_scale.c         sws_freeContext(scale->sws);
scale             518 libavfilter/vf_scale.c     if (scale->isws[0])
scale             519 libavfilter/vf_scale.c         sws_freeContext(scale->isws[0]);
scale             520 libavfilter/vf_scale.c     if (scale->isws[1])
scale             521 libavfilter/vf_scale.c         sws_freeContext(scale->isws[1]);
scale             522 libavfilter/vf_scale.c     scale->isws[0] = scale->isws[1] = scale->sws = NULL;
scale             525 libavfilter/vf_scale.c         !scale->out_color_matrix &&
scale             526 libavfilter/vf_scale.c         scale->in_range == scale->out_range &&
scale             530 libavfilter/vf_scale.c         struct SwsContext **swscs[3] = {&scale->sws, &scale->isws[0], &scale->isws[1]};
scale             534 libavfilter/vf_scale.c             int in_v_chr_pos = scale->in_v_chr_pos, out_v_chr_pos = scale->out_v_chr_pos;
scale             546 libavfilter/vf_scale.c             av_opt_set_int(*s, "sws_flags", scale->flags, 0);
scale             547 libavfilter/vf_scale.c             av_opt_set_int(*s, "param0", scale->param[0], 0);
scale             548 libavfilter/vf_scale.c             av_opt_set_int(*s, "param1", scale->param[1], 0);
scale             549 libavfilter/vf_scale.c             if (scale->in_range != AVCOL_RANGE_UNSPECIFIED)
scale             551 libavfilter/vf_scale.c                                scale->in_range == AVCOL_RANGE_JPEG, 0);
scale             552 libavfilter/vf_scale.c             if (scale->out_range != AVCOL_RANGE_UNSPECIFIED)
scale             554 libavfilter/vf_scale.c                                scale->out_range == AVCOL_RANGE_JPEG, 0);
scale             556 libavfilter/vf_scale.c             if (scale->opts) {
scale             558 libavfilter/vf_scale.c                 while ((e = av_dict_get(scale->opts, "", e, AV_DICT_IGNORE_SUFFIX))) {
scale             566 libavfilter/vf_scale.c             if (inlink0->format == AV_PIX_FMT_YUV420P && scale->in_v_chr_pos == -513) {
scale             570 libavfilter/vf_scale.c             if (outlink->format == AV_PIX_FMT_YUV420P && scale->out_v_chr_pos == -513) {
scale             574 libavfilter/vf_scale.c             av_opt_set_int(*s, "src_h_chr_pos", scale->in_h_chr_pos, 0);
scale             576 libavfilter/vf_scale.c             av_opt_set_int(*s, "dst_h_chr_pos", scale->out_h_chr_pos, 0);
scale             581 libavfilter/vf_scale.c             if (!scale->interlaced)
scale             596 libavfilter/vf_scale.c            scale->flags);
scale             628 libavfilter/vf_scale.c     ScaleContext *scale = link->dst->priv;
scale             635 libavfilter/vf_scale.c         int vsub= ((i+1)&2) ? scale->vsub : 0;
scale             641 libavfilter/vf_scale.c     if (scale->input_is_pal)
scale             643 libavfilter/vf_scale.c     if (scale->output_is_pal)
scale             655 libavfilter/vf_scale.c     ScaleContext *scale = ctx->priv;
scale             673 libavfilter/vf_scale.c     if (scale->eval_mode == EVAL_MODE_FRAME || frame_changed) {
scale             677 libavfilter/vf_scale.c         av_expr_count_vars(scale->w_pexpr, vars_w, VARS_NB);
scale             678 libavfilter/vf_scale.c         av_expr_count_vars(scale->h_pexpr, vars_h, VARS_NB);
scale             680 libavfilter/vf_scale.c         if (scale->eval_mode == EVAL_MODE_FRAME &&
scale             685 libavfilter/vf_scale.c             scale->w && scale->h)
scale             686 libavfilter/vf_scale.c             goto scale;
scale             688 libavfilter/vf_scale.c         if (scale->eval_mode == EVAL_MODE_INIT) {
scale             690 libavfilter/vf_scale.c             av_opt_set(scale, "w", buf, 0);
scale             692 libavfilter/vf_scale.c             av_opt_set(scale, "h", buf, 0);
scale             694 libavfilter/vf_scale.c             ret = scale_parse_expr(ctx, NULL, &scale->w_pexpr, "width", scale->w_expr);
scale             698 libavfilter/vf_scale.c             ret = scale_parse_expr(ctx, NULL, &scale->h_pexpr, "height", scale->h_expr);
scale             704 libavfilter/vf_scale.c             scale->var_values[VAR_S2R_MAIN_N] = link->frame_count_out;
scale             705 libavfilter/vf_scale.c             scale->var_values[VAR_S2R_MAIN_T] = TS2T(in->pts, link->time_base);
scale             706 libavfilter/vf_scale.c             scale->var_values[VAR_S2R_MAIN_POS] = in->pkt_pos == -1 ? NAN : in->pkt_pos;
scale             708 libavfilter/vf_scale.c             scale->var_values[VAR_N] = link->frame_count_out;
scale             709 libavfilter/vf_scale.c             scale->var_values[VAR_T] = TS2T(in->pts, link->time_base);
scale             710 libavfilter/vf_scale.c             scale->var_values[VAR_POS] = in->pkt_pos == -1 ? NAN : in->pkt_pos;
scale             724 libavfilter/vf_scale.c scale:
scale             725 libavfilter/vf_scale.c     if (!scale->sws) {
scale             730 libavfilter/vf_scale.c     scale->hsub = desc->log2_chroma_w;
scale             731 libavfilter/vf_scale.c     scale->vsub = desc->log2_chroma_h;
scale             744 libavfilter/vf_scale.c     if (scale->output_is_pal)
scale             749 libavfilter/vf_scale.c     if (   scale->in_color_matrix
scale             750 libavfilter/vf_scale.c         || scale->out_color_matrix
scale             751 libavfilter/vf_scale.c         || scale-> in_range != AVCOL_RANGE_UNSPECIFIED
scale             753 libavfilter/vf_scale.c         || scale->out_range != AVCOL_RANGE_UNSPECIFIED) {
scale             757 libavfilter/vf_scale.c         sws_getColorspaceDetails(scale->sws, (int **)&inv_table, &in_full,
scale             761 libavfilter/vf_scale.c         if (scale->in_color_matrix)
scale             762 libavfilter/vf_scale.c             inv_table = parse_yuv_type(scale->in_color_matrix, in->colorspace);
scale             763 libavfilter/vf_scale.c         if (scale->out_color_matrix)
scale             764 libavfilter/vf_scale.c             table     = parse_yuv_type(scale->out_color_matrix, AVCOL_SPC_UNSPECIFIED);
scale             765 libavfilter/vf_scale.c         else if (scale->in_color_matrix)
scale             768 libavfilter/vf_scale.c         if (scale-> in_range != AVCOL_RANGE_UNSPECIFIED)
scale             769 libavfilter/vf_scale.c             in_full  = (scale-> in_range == AVCOL_RANGE_JPEG);
scale             772 libavfilter/vf_scale.c         if (scale->out_range != AVCOL_RANGE_UNSPECIFIED)
scale             773 libavfilter/vf_scale.c             out_full = (scale->out_range == AVCOL_RANGE_JPEG);
scale             775 libavfilter/vf_scale.c         sws_setColorspaceDetails(scale->sws, inv_table, in_full,
scale             778 libavfilter/vf_scale.c         if (scale->isws[0])
scale             779 libavfilter/vf_scale.c             sws_setColorspaceDetails(scale->isws[0], inv_table, in_full,
scale             782 libavfilter/vf_scale.c         if (scale->isws[1])
scale             783 libavfilter/vf_scale.c             sws_setColorspaceDetails(scale->isws[1], inv_table, in_full,
scale             795 libavfilter/vf_scale.c     if (scale->interlaced>0 || (scale->interlaced<0 && in->interlaced_frame)) {
scale             796 libavfilter/vf_scale.c         scale_slice(link, out, in, scale->isws[0], 0, (link->h+1)/2, 2, 0);
scale             797 libavfilter/vf_scale.c         scale_slice(link, out, in, scale->isws[1], 0,  link->h   /2, 2, 1);
scale             798 libavfilter/vf_scale.c     } else if (scale->nb_slices) {
scale             800 libavfilter/vf_scale.c         const int nb_slices = FFMIN(scale->nb_slices, link->h);
scale             805 libavfilter/vf_scale.c             scale_slice(link, out, in, scale->sws, slice_start, slice_h, 1, 0);
scale             808 libavfilter/vf_scale.c         scale_slice(link, out, in, scale->sws, 0, link->h, 1, 0);
scale             831 libavfilter/vf_scale.c     ScaleContext *scale = link->dst->priv;
scale             851 libavfilter/vf_scale.c     if (scale->eval_mode == EVAL_MODE_FRAME) {
scale             852 libavfilter/vf_scale.c         scale->var_values[VAR_N] = link->frame_count_out;
scale             853 libavfilter/vf_scale.c         scale->var_values[VAR_T] = TS2T(in->pts, link->time_base);
scale             854 libavfilter/vf_scale.c         scale->var_values[VAR_POS] = in->pkt_pos == -1 ? NAN : in->pkt_pos;
scale             863 libavfilter/vf_scale.c     ScaleContext *scale = ctx->priv;
scale             872 libavfilter/vf_scale.c         str_expr = w ? scale->w_expr : scale->h_expr;
scale             873 libavfilter/vf_scale.c         pexpr_ptr = w ? &scale->w_pexpr : &scale->h_pexpr;
scale             306 libavfilter/vf_selectivecolor.c static inline int comp_adjust(int scale, float value, float adjust, float k, int correction_method)
scale             313 libavfilter/vf_selectivecolor.c     return lrint(av_clipf(res, min, max) * scale);
scale             368 libavfilter/vf_selectivecolor.c                     const int scale = pr->get_scale(r, g, b, min_color, max_color);                     \
scale             370 libavfilter/vf_selectivecolor.c                     if (scale > 0) {                                                                    \
scale             377 libavfilter/vf_selectivecolor.c                         adjust_r += comp_adjust(scale, rnorm, adj_c, k, correction_method);             \
scale             378 libavfilter/vf_selectivecolor.c                         adjust_g += comp_adjust(scale, gnorm, adj_m, k, correction_method);             \
scale             379 libavfilter/vf_selectivecolor.c                         adjust_b += comp_adjust(scale, bnorm, adj_y, k, correction_method);             \
scale            3085 libavfilter/vf_v360.c     const float scale = 0.99f;
scale            3094 libavfilter/vf_v360.c         const float phi   = ((2.f * i) / ew - 1.f) * M_PI        / scale;
scale            3095 libavfilter/vf_v360.c         const float theta = ((2.f * j) / eh - 1.f) * theta_range / scale;
scale            3115 libavfilter/vf_v360.c             uf /= scale;
scale            3116 libavfilter/vf_v360.c             vf /= scale;
scale            3125 libavfilter/vf_v360.c             uf /= scale;
scale            3126 libavfilter/vf_v360.c             vf /= scale;
scale            3159 libavfilter/vf_v360.c     const float scale = 0.99f;
scale            3177 libavfilter/vf_v360.c         uf = (phi   / M_PI        * scale + 1.f) * ew / 2.f;
scale            3178 libavfilter/vf_v360.c         vf = (theta / theta_range * scale + 1.f) * eh / 2.f;
scale            3198 libavfilter/vf_v360.c         uf = 0.5f * ew * (uf * scale + 1.f);
scale            3199 libavfilter/vf_v360.c         vf = 0.5f * eh * (vf * scale + 1.f);
scale              53 libavfilter/vf_vibrance.c     const float scale = 1.f / 255.f;
scale              76 libavfilter/vf_vibrance.c             float g = gptr[x] * scale;
scale              77 libavfilter/vf_vibrance.c             float b = bptr[x] * scale;
scale              78 libavfilter/vf_vibrance.c             float r = rptr[x] * scale;
scale             110 libavfilter/vf_vibrance.c     const float scale = 1.f / max;
scale             135 libavfilter/vf_vibrance.c             float g = gptr[x] * scale;
scale             136 libavfilter/vf_vibrance.c             float b = bptr[x] * scale;
scale             137 libavfilter/vf_vibrance.c             float r = rptr[x] * scale;
scale              77 libavfilter/vf_vignette.c     AVRational scale;
scale             109 libavfilter/vf_waveform.c     int            scale;
scale             177 libavfilter/vf_waveform.c     { "scale", "set scale", OFFSET(scale), AV_OPT_TYPE_INT, {.i64=0}, 0, NB_SCALES-1, FLAGS, "scale" },
scale             178 libavfilter/vf_waveform.c     { "s",     "set scale", OFFSET(scale), AV_OPT_TYPE_INT, {.i64=0}, 0, NB_SCALES-1, FLAGS, "scale" },
scale            3173 libavfilter/vf_waveform.c         switch (s->scale) {
scale            3201 libavfilter/vf_waveform.c         switch (s->scale) {
scale            3231 libavfilter/vf_waveform.c         switch (s->scale) {
scale            3259 libavfilter/vf_waveform.c         switch (s->scale) {
scale             177 libavfilter/vsrc_mandelbrot.c static void fill_from_cache(AVFilterContext *ctx, uint32_t *color, int *in_cidx, int *out_cidx, double py, double scale){
scale             186 libavfilter/vsrc_mandelbrot.c         x= lrint((p->p[0] - s->start_x) / scale + s->w/2);
scale             253 libavfilter/vsrc_mandelbrot.c     double scale= s->start_scale*pow(s->end_scale/s->start_scale, pts/s->end_pts);
scale             255 libavfilter/vsrc_mandelbrot.c     fill_from_cache(ctx, NULL, &in_cidx, NULL, s->start_y+scale*(-s->h/2-0.5), scale);
scale             260 libavfilter/vsrc_mandelbrot.c         const double ci=s->start_y+scale*(y-s->h/2);
scale             261 libavfilter/vsrc_mandelbrot.c         fill_from_cache(ctx, NULL, &in_cidx, &next_cidx, ci, scale);
scale             264 libavfilter/vsrc_mandelbrot.c             fill_from_cache(ctx, color+linesize*y1, &tmp_cidx, NULL, ci + 3*scale/2, scale);
scale             269 libavfilter/vsrc_mandelbrot.c             const double cr=s->start_x+scale*(x-s->w/2);
scale             294 libavfilter/vsrc_mandelbrot.c                 epsilon= scale*(abs(x-s->w/2) + abs(y-s->h/2))/s->w;
scale             390 libavfilter/vsrc_mandelbrot.c         fill_from_cache(ctx, NULL, &in_cidx, &next_cidx, ci + scale/2, scale);
scale             290 libavfilter/vsrc_testsrc.c     float scale;
scale             319 libavfilter/vsrc_testsrc.c     scale = ((float)(1 << (8*(is16bit+1))) - 1) / (level*level - 1);
scale             323 libavfilter/vsrc_testsrc.c     dst[rgba_map[0]] = av_clip_uint##nbits(i * scale);                          \
scale             324 libavfilter/vsrc_testsrc.c     dst[rgba_map[1]] = av_clip_uint##nbits(j * scale);                          \
scale             325 libavfilter/vsrc_testsrc.c     dst[rgba_map[2]] = av_clip_uint##nbits(k * scale);                          \
scale             346 libavformat/asfenc.c     AVRational scale = {1, 10000000};
scale             357 libavformat/asfenc.c         int64_t pres_time = av_rescale_q(c->start, c->time_base, scale);
scale              48 libavformat/avidec.c     uint32_t scale;
scale             617 libavformat/avidec.c                 ast->scale = avio_rl32(pb);
scale             622 libavformat/avidec.c                 if (ast->scale > 0 && ast->rate > 0 && dv_dur > 0) {
scale             624 libavformat/avidec.c                     s->duration = av_rescale(dv_dur, ast->scale, ast->rate);
scale             641 libavformat/avidec.c             ast->scale = avio_rl32(pb);
scale             643 libavformat/avidec.c             if (!(ast->scale && ast->rate)) {
scale             647 libavformat/avidec.c                        ast->scale,
scale             651 libavformat/avidec.c                     ast->scale = frame_period;
scale             654 libavformat/avidec.c                     ast->scale = 1;
scale             657 libavformat/avidec.c             avpriv_set_pts_info(st, 64, ast->scale, ast->rate);
scale             665 libavformat/avidec.c             if (ast->cum_len > 3600LL * ast->rate / ast->scale) {
scale             672 libavformat/avidec.c                     ast->rate, ast->scale, ast->sample_size);
scale            1618 libavformat/matroskaenc.c     AVRational scale = {1, 1E9};
scale            1646 libavformat/matroskaenc.c         int64_t chapterstart = av_rescale_q(c->start, c->time_base, scale);
scale            1647 libavformat/matroskaenc.c         int64_t chapterend   = av_rescale_q(c->end,   c->time_base, scale);
scale             156 libavformat/nsvdec.c     int scale;
scale              42 libavformat/replaygain.c     int  scale = 10000;
scale              57 libavformat/replaygain.c         while (av_isdigit(*fraction) && scale) {
scale              58 libavformat/replaygain.c             mb += scale * (*fraction - '0');
scale              59 libavformat/replaygain.c             scale /= 10;
scale             493 libavresample/audio_mix.c #define GET_MATRIX_CONVERT(suffix, scale)                                   \
scale             504 libavresample/audio_mix.c                                          (scale);                           \
scale             501 libavutil/avsscanf.c     double scale = 1;
scale             535 libavutil/avsscanf.c                 y += d*(scale/=16);
scale             537 libavutil/avsscanf.c                 y += 0.5*scale;
scale              36 libavutil/display.c     double rotation, scale[2];
scale              38 libavutil/display.c     scale[0] = hypot(CONV_FP(matrix[0]), CONV_FP(matrix[3]));
scale              39 libavutil/display.c     scale[1] = hypot(CONV_FP(matrix[1]), CONV_FP(matrix[4]));
scale              41 libavutil/display.c     if (scale[0] == 0.0 || scale[1] == 0.0)
scale              44 libavutil/display.c     rotation = atan2(CONV_FP(matrix[1]) / scale[1],
scale              45 libavutil/display.c                      CONV_FP(matrix[0]) / scale[0]) * 180 / M_PI;
scale             124 libavutil/tx.c                        int inv, int len, const void *scale, uint64_t flags)
scale             134 libavutil/tx.c         if ((err = ff_tx_init_mdct_fft_float(s, tx, type, inv, len, scale, flags)))
scale             139 libavutil/tx.c         if ((err = ff_tx_init_mdct_fft_double(s, tx, type, inv, len, scale, flags)))
scale             144 libavutil/tx.c         if ((err = ff_tx_init_mdct_fft_int32(s, tx, type, inv, len, scale, flags)))
scale             110 libavutil/tx.h                int inv, int len, const void *scale, uint64_t flags);
scale             141 libavutil/tx_priv.h                               const void *scale, uint64_t flags);
scale             144 libavutil/tx_priv.h                                const void *scale, uint64_t flags);
scale             147 libavutil/tx_priv.h                               const void *scale, uint64_t flags);
scale             556 libavutil/tx_template.c static int gen_mdct_exptab(AVTXContext *s, int len4, double scale)
scale             558 libavutil/tx_template.c     const double theta = (scale < 0 ? len4 : 0) + 1.0/8.0;
scale             563 libavutil/tx_template.c     scale = sqrt(fabs(scale));
scale             566 libavutil/tx_template.c         s->exptab[i].re = RESCALE(cos(alpha) * scale);
scale             567 libavutil/tx_template.c         s->exptab[i].im = RESCALE(sin(alpha) * scale);
scale             575 libavutil/tx_template.c                                  const void *scale, uint64_t flags)
scale             636 libavutil/tx_template.c         return gen_mdct_exptab(s, n*m, *((SCALE_TYPE *)scale));
scale            3369 libpostproc/postprocess_template.c         AVRational scale;
scale            3394 libpostproc/postprocess_template.c         scale = (AVRational){c.ppMode.maxAllowedY - c.ppMode.minAllowedY, white - black};
scale            3397 libpostproc/postprocess_template.c         c.packedYScale = (uint16_t)av_rescale(scale.num, 256, scale.den);
scale            3400 libpostproc/postprocess_template.c         c.packedYScale = (uint16_t)av_rescale(scale.num, 1024, scale.den);
scale            3410 libpostproc/postprocess_template.c         if(mode & LEVEL_FIX)        QPCorrecture= (int)av_rescale(scale.num, 256*256, scale.den);
scale              27 libswresample/dither.c     double scale = s->dither.noise_scale;
scale              64 libswresample/dither.c         v*= scale;
scale              82 libswresample/dither.c     double scale = 0;
scale              91 libswresample/dither.c         if(out_fmt == AV_SAMPLE_FMT_S32) scale = 1.0/(1LL<<31);
scale              92 libswresample/dither.c         if(out_fmt == AV_SAMPLE_FMT_S16) scale = 1.0/(1LL<<15);
scale              93 libswresample/dither.c         if(out_fmt == AV_SAMPLE_FMT_U8 ) scale = 1.0/(1LL<< 7);
scale              95 libswresample/dither.c     if(in_fmt == AV_SAMPLE_FMT_S32 && out_fmt == AV_SAMPLE_FMT_S32 && (s->dither.output_sample_bits&31)) scale = 1;
scale              96 libswresample/dither.c     if(in_fmt == AV_SAMPLE_FMT_S32 && out_fmt == AV_SAMPLE_FMT_S16) scale = 1<<16;
scale              97 libswresample/dither.c     if(in_fmt == AV_SAMPLE_FMT_S32 && out_fmt == AV_SAMPLE_FMT_U8 ) scale = 1<<24;
scale              98 libswresample/dither.c     if(in_fmt == AV_SAMPLE_FMT_S16 && out_fmt == AV_SAMPLE_FMT_U8 ) scale = 1<<8;
scale             100 libswresample/dither.c     scale *= s->dither.scale;
scale             103 libswresample/dither.c         scale *= 1<<(32-s->dither.output_sample_bits);
scale             105 libswresample/dither.c     if (scale == 0) {
scale             111 libswresample/dither.c     s->dither.noise_scale=   scale;
scale             112 libswresample/dither.c     s->dither.ns_scale   =   scale;
scale             113 libswresample/dither.c     s->dither.ns_scale_1 = scale ? 1/scale : 0;
scale              71 libswresample/options.c {"dither_scale"         , "set dither scale"            , OFFSET(dither.scale   ), AV_OPT_TYPE_FLOAT, {.dbl=1                     }, 0      , INT_MAX   , PARAM},
scale             144 libswresample/resample.c static int build_filter(ResampleContext *c, void *filter, double factor, int tap_count, int alloc, int phase_count, int scale,
scale             207 libswresample/resample.c                 ((int16_t*)filter)[ph * alloc + i] = av_clip_int16(lrintf(tab[i] * scale / norm));
scale             214 libswresample/resample.c                 ((int32_t*)filter)[ph * alloc + i] = av_clipl_int32(llrint(tab[i] * scale / norm));
scale             221 libswresample/resample.c                 ((float*)filter)[ph * alloc + i] = tab[i] * scale / norm;
scale             228 libswresample/resample.c                 ((double*)filter)[ph * alloc + i] = tab[i] * scale / norm;
scale              58 libswresample/swresample_internal.h     float scale;
scale              86 tests/checkasm/h264dsp.c             static const int scale[] = { 13107 * 10, 8066 * 13, 5243 * 16 }; \
scale              88 tests/checkasm/h264dsp.c             coef[y*4 + x] = (coef[y*4 + x] * scale[idx] + (1 << 14)) >> 15;  \
scale             133 tests/checkasm/h264dsp.c             static const int scale[] = {                                     \
scale             145 tests/checkasm/h264dsp.c                              scale[idx] + (1 << 17)) >> 18;                  \
scale              63 tests/checkasm/synth_filter.c         float scale = 1.0f;
scale              88 tests/checkasm/synth_filter.c                      out0, in, scale);
scale              90 tests/checkasm/synth_filter.c                      out1, in, scale);
scale             115 tests/checkasm/synth_filter.c                       out_b, in, scale);
scale             247 tests/tiny_psnr.c         uint64_t scale = (len == 4) ? (1ULL << 24) : (1ULL << 32);
scale             255 tests/tiny_psnr.c         maxdist = maxdist_d * scale;
scale             258 tests/tiny_psnr.c                dev * scale, psnr_str, maxdist, size0, size1);