average 1744 libavcodec/mlpenc.c int average = 0; average 1755 libavcodec/mlpenc.c average += sample; average 1758 libavcodec/mlpenc.c average /= dp->blocksize; average 1764 libavcodec/mlpenc.c offset = av_clip(average, HUFF_OFFSET_MIN, HUFF_OFFSET_MAX); average 530 libavcodec/ppc/h264dsp.c register vec_u8 average = vec_avg(p0, q0); average 538 libavcodec/ppc/h264dsp.c temp = vec_xor(average, p2); average 539 libavcodec/ppc/h264dsp.c average = vec_avg(average, p2); /*avg(p2, avg(p0, q0)) */ average 542 libavcodec/ppc/h264dsp.c unclipped = vec_subs(average, temp); /*(p2+((p0+q0+1)>>1))>>1 */ average 754 libavcodec/vorbisenc.c float average = 0; average 757 libavcodec/vorbisenc.c average += fabs(coeffs[j]); average 758 libavcodec/vorbisenc.c return average / (end - begin); average 777 libavcodec/vorbisenc.c float average = averages[i]; average 780 libavcodec/vorbisenc.c average = sqrt(tot_average * average) * pow(1.25f, position*0.005f); // MAGIC! average 782 libavcodec/vorbisenc.c if (ff_vorbis_floor1_inverse_db_table[j * fc->multiplier] > average) average 84 libavfilter/af_extrastereo.c float average, left, right; average 88 libavfilter/af_extrastereo.c average = (left + right) / 2.; average 89 libavfilter/af_extrastereo.c left = average + mult * (left - average); average 90 libavfilter/af_extrastereo.c right = average + mult * (right - average); average 32 libavfilter/opencl/tonemap.cl float average; average 132 libavfilter/opencl/tonemap.cl r.average = max(0.25f, avg); average 168 libavfilter/opencl/tonemap.cl float3 map_one_pixel_rgb(float3 rgb, float peak, float average) { average 182 libavfilter/opencl/tonemap.cl float slope = min(1.0f, sdr_avg / average); average 247 libavfilter/opencl/tonemap.cl c0 = map_one_pixel_rgb(c0, r.peak, r.average); average 248 libavfilter/opencl/tonemap.cl c1 = map_one_pixel_rgb(c1, r.peak, r.average); average 249 libavfilter/opencl/tonemap.cl c2 = map_one_pixel_rgb(c2, r.peak, r.average); average 250 libavfilter/opencl/tonemap.cl c3 = map_one_pixel_rgb(c3, r.peak, r.average); average 298 libavfilter/vf_blend.c DEFINE_BLEND8(average, (A + B) / 2) average 341 libavfilter/vf_blend.c DEFINE_BLEND16(average, (A + B) / 2, 16) average 384 libavfilter/vf_blend.c DEFINE_BLEND16(average, (A + B) / 2, 10) average 427 libavfilter/vf_blend.c DEFINE_BLEND16(average, (A + B) / 2, 12) average 470 libavfilter/vf_blend.c DEFINE_BLEND16(average, (A + B) / 2, 9) average 513 libavfilter/vf_blend.c DEFINE_BLEND32(average, (A + B) / 2, 32) average 540 libavfilter/vf_datascope.c float average[4] = { 0 }; average 600 libavfilter/vf_datascope.c average[i] += value[i]; average 642 libavfilter/vf_datascope.c average[i] /= s->w * s->h; average 648 libavfilter/vf_datascope.c std[i] += SQR(s->values[i][x][y] - average[i]); average 662 libavfilter/vf_datascope.c snprintf(text, sizeof(text), "%c %07.1f %05d %05d %07.1f\n", s->is_rgb ? rgba[i] : yuva[i], average[c], min[c], max[c], rms[c]); average 1008 libavfilter/vf_datascope.c float average[4] = { 0 }; average 1044 libavfilter/vf_datascope.c average[c] += s->values[i].p[s->rgba_map[c]]; average 1049 libavfilter/vf_datascope.c average[c] /= s->nb_values; average 1059 libavfilter/vf_datascope.c snprintf(text, sizeof(text), "%c avg:%.1f min:%d max:%d\n", s->is_rgb ? rgba[c] : yuva[c], average[c], min[c], max[c]); average 51 libavfilter/vf_readeia608.c float average; average 218 libavfilter/vf_readeia608.c line[lag - 1].average = meanf(line, lag); average 222 libavfilter/vf_readeia608.c if (fabsf(line[i].unfiltered - line[i-1].average) > threshold * line[i-1].deviation) { average 223 libavfilter/vf_readeia608.c if (line[i].unfiltered > line[i-1].average) { average 239 libavfilter/vf_readeia608.c line[i].average = meanf(line + i - lag, lag); average 317 libavfilter/vf_removegrain.c const int average = (2 * (a2 + a7) + a1 + a3 + a6 + a8 + 4) >> 3; average 320 libavfilter/vf_removegrain.c return av_clip(average, FFMIN(a2, a7), FFMAX(a2, a7)); average 323 libavfilter/vf_removegrain.c return av_clip(average, FFMIN(a3, a6), FFMAX(a3, a6)); average 326 libavfilter/vf_removegrain.c return av_clip(average, FFMIN(a1, a8), FFMAX(a1, a8)); average 37 libavfilter/x86/vf_blend_init.c BLEND_FUNC(average, sse2) average 38 libavfilter/x86/vf_blend_init.c BLEND_FUNC(average, avx2) average 109 tests/checkasm/vf_blend.c check_and_report(average, BLEND_AVERAGE, 1)