avg 99 libavcodec/alpha/hpeldsp_alpha.c uint64_t avg; \ avg 108 libavcodec/alpha/hpeldsp_alpha.c avg = (((pix_l + npix_l + AVG4_ROUNDER) >> 2) & BYTE_VEC(0x03)) \ avg 110 libavcodec/alpha/hpeldsp_alpha.c STORE(avg, block); \ avg 153 libavcodec/alpha/hpeldsp_alpha.c PIXOP(avg, STORE); avg 104 libavcodec/apedec.c int avg; avg 1245 libavcodec/apedec.c f->avg = 0; avg 1285 libavcodec/apedec.c (25 + (absres <= f->avg*3) + (absres <= f->avg*4/3)); avg 1289 libavcodec/apedec.c f->avg += (absres - f->avg) / 16; avg 35 libavcodec/arm/rv40dsp_init_arm.c DECL_QPEL3(avg, w, pos) avg 82 libavcodec/diracdsp.c PIXOP_BILINEAR(avg, OP_AVG, 8) avg 83 libavcodec/diracdsp.c PIXOP_BILINEAR(avg, OP_AVG, 16) avg 84 libavcodec/diracdsp.c PIXOP_BILINEAR(avg, OP_AVG, 32) avg 196 libavcodec/diracdsp.c PIXFUNC(avg, 8); avg 197 libavcodec/diracdsp.c PIXFUNC(avg, 16); avg 198 libavcodec/diracdsp.c PIXFUNC(avg, 32); avg 59 libavcodec/diracdsp.h DECL_DIRAC_PIXOP(avg, c); avg 61 libavcodec/diracdsp.h DECL_DIRAC_PIXOP(avg, l2_c); avg 63 libavcodec/diracdsp.h DECL_DIRAC_PIXOP(avg, l4_c); avg 103 libavcodec/hpel_template.c DEF_HPEL(avg, op_avg) avg 333 libavcodec/hpeldsp.c PIXOP2(avg, op_avg) avg 352 libavcodec/hpeldsp.c hpel_funcs(avg, [0], 16); avg 353 libavcodec/hpeldsp.c hpel_funcs(avg, [1], 8); avg 354 libavcodec/hpeldsp.c hpel_funcs(avg, [2], 4); avg 355 libavcodec/hpeldsp.c hpel_funcs(avg, [3], 2); avg 121 libavcodec/intrax8dsp.c int avg=(sum+4)>>3; avg 123 libavcodec/intrax8dsp.c memset(dst+area1,avg,8+8+1);//areas 1,2 and 3 are averaged avg 125 libavcodec/intrax8dsp.c memset(dst+area3,avg, 1+16+8);//areas 3, 4,5,6 avg 127 libavcodec/intrax8dsp.c sum+=avg*9; avg 47 libavcodec/msvideo1enc.c int avg[3]; avg 119 libavcodec/msvideo1enc.c avpriv_init_elbg(c->block, 3, 16, c->avg, 1, 1, c->output, &c->rnd); avg 120 libavcodec/msvideo1enc.c avpriv_do_elbg (c->block, 3, 16, c->avg, 1, 1, c->output, &c->rnd); avg 121 libavcodec/msvideo1enc.c if(c->avg[0] == 1) // red component = 1 will be written as skip code avg 122 libavcodec/msvideo1enc.c c->avg[0] = 0; avg 126 libavcodec/msvideo1enc.c int t = c->avg[k] - c->block[(i+j*4)*3+k]; avg 201 libavcodec/msvideo1enc.c bytestream_put_le16(&dst, MKRGB555(c->avg,0) | 0x8000); avg 205 libavcodec/msvideo1enc.c prevptr[x*3 + i*3 + k - j*3*avctx->width] = c->avg[k]; avg 77 libavcodec/pel_template.c DEF_PEL(avg, op_avg) avg 218 libavcodec/qpel_template.c PIXOP2(avg, op_avg) avg 780 libavcodec/qpeldsp.c DIRAC_MC(avg) avg 265 libavcodec/rv40dsp.c PIXOP2(avg, op_avg) avg 303 libavcodec/svq3.c int thirdpel, int dir, int avg) avg 333 libavcodec/svq3.c (avg ? s->tdsp.avg_tpel_pixels_tab avg 337 libavcodec/svq3.c (avg ? s->hdsp.avg_pixels_tab avg 361 libavcodec/svq3.c (avg ? s->tdsp.avg_tpel_pixels_tab avg 366 libavcodec/svq3.c (avg ? s->hdsp.avg_pixels_tab avg 375 libavcodec/svq3.c int dir, int avg) avg 441 libavcodec/svq3.c fx, fy, dxy, 1, dir, avg); avg 450 libavcodec/svq3.c mx >> 1, my >> 1, dxy, 0, dir, avg); avg 458 libavcodec/svq3.c mx, my, 0, 0, dir, avg); avg 256 libavcodec/twinvq.c float avg = (lsp[i] + lsp[i - 1]) * 0.5; avg 258 libavcodec/twinvq.c lsp[i - 1] = avg - min_dist2; avg 259 libavcodec/twinvq.c lsp[i] = avg + min_dist2; avg 425 libavcodec/vc1.h void ff_vc1_mc_4mv_luma(VC1Context *v, int n, int dir, int avg); avg 427 libavcodec/vc1.h void ff_vc1_mc_4mv_chroma4(VC1Context *v, int dir, int dir2, int avg); avg 287 libavcodec/vc1_mc.c void ff_vc1_mc_4mv_luma(VC1Context *v, int n, int dir, int avg) avg 453 libavcodec/vc1_mc.c if (avg) avg 671 libavcodec/vc1_mc.c void ff_vc1_mc_4mv_chroma4(VC1Context *v, int dir, int dir2, int avg) avg 753 libavcodec/vc1_mc.c if (avg) { avg 1699 libavcodec/vp9dsp.c fpel_fn(avg, sz) avg 1775 libavcodec/vp9dsp.c const int8_t *filter, int avg) avg 1781 libavcodec/vp9dsp.c if (avg) { avg 1802 libavcodec/vp9dsp.c filter_8tap_1d_fn(avg, 1, v, src_stride) avg 1803 libavcodec/vp9dsp.c filter_8tap_1d_fn(avg, 1, h, 1) avg 1810 libavcodec/vp9dsp.c const int8_t *filtery, int avg) avg 1831 libavcodec/vp9dsp.c if (avg) { avg 1852 libavcodec/vp9dsp.c filter_8tap_2d_fn(avg, 1) avg 1858 libavcodec/vp9dsp.c #define filter_fn_1d(sz, dir, dir_m, type, type_idx, avg) \ avg 1859 libavcodec/vp9dsp.c static void avg##_8tap_##type##_##sz##dir##_c(uint8_t *dst, ptrdiff_t dst_stride, \ avg 1863 libavcodec/vp9dsp.c avg##_8tap_1d_##dir##_c(dst, dst_stride, src, src_stride, sz, h, \ avg 1867 libavcodec/vp9dsp.c #define filter_fn_2d(sz, type, type_idx, avg) \ avg 1868 libavcodec/vp9dsp.c static void avg##_8tap_##type##_##sz##hv_c(uint8_t *dst, ptrdiff_t dst_stride, \ avg 1872 libavcodec/vp9dsp.c avg##_8tap_2d_hv_c(dst, dst_stride, src, src_stride, sz, h, \ avg 1882 libavcodec/vp9dsp.c int w, int h, ptrdiff_t ds, int mxy, int avg) avg 1888 libavcodec/vp9dsp.c if (avg) { avg 1909 libavcodec/vp9dsp.c bilin_1d_fn(avg, 1, v, src_stride) avg 1910 libavcodec/vp9dsp.c bilin_1d_fn(avg, 1, h, 1) avg 1916 libavcodec/vp9dsp.c int w, int h, int mx, int my, int avg) avg 1936 libavcodec/vp9dsp.c if (avg) { avg 1956 libavcodec/vp9dsp.c bilin_2d_fn(avg, 1) avg 1962 libavcodec/vp9dsp.c #define bilinf_fn_1d(sz, dir, dir_m, avg) \ avg 1963 libavcodec/vp9dsp.c static void avg##_bilin_##sz##dir##_c(uint8_t *dst, ptrdiff_t dst_stride, \ avg 1967 libavcodec/vp9dsp.c avg##_bilin_1d_##dir##_c(dst, dst_stride, src, src_stride, sz, h, dir_m); \ avg 1970 libavcodec/vp9dsp.c #define bilinf_fn_2d(sz, avg) \ avg 1971 libavcodec/vp9dsp.c static void avg##_bilin_##sz##hv_c(uint8_t *dst, ptrdiff_t dst_stride, \ avg 1975 libavcodec/vp9dsp.c avg##_bilin_2d_hv_c(dst, dst_stride, src, src_stride, sz, h, mx, my); \ avg 1978 libavcodec/vp9dsp.c #define filter_fn(sz, avg) \ avg 1979 libavcodec/vp9dsp.c filter_fn_1d(sz, h, mx, regular, FILTER_8TAP_REGULAR, avg) \ avg 1980 libavcodec/vp9dsp.c filter_fn_1d(sz, v, my, regular, FILTER_8TAP_REGULAR, avg) \ avg 1981 libavcodec/vp9dsp.c filter_fn_2d(sz, regular, FILTER_8TAP_REGULAR, avg) \ avg 1982 libavcodec/vp9dsp.c filter_fn_1d(sz, h, mx, smooth, FILTER_8TAP_SMOOTH, avg) \ avg 1983 libavcodec/vp9dsp.c filter_fn_1d(sz, v, my, smooth, FILTER_8TAP_SMOOTH, avg) \ avg 1984 libavcodec/vp9dsp.c filter_fn_2d(sz, smooth, FILTER_8TAP_SMOOTH, avg) \ avg 1985 libavcodec/vp9dsp.c filter_fn_1d(sz, h, mx, sharp, FILTER_8TAP_SHARP, avg) \ avg 1986 libavcodec/vp9dsp.c filter_fn_1d(sz, v, my, sharp, FILTER_8TAP_SHARP, avg) \ avg 1987 libavcodec/vp9dsp.c filter_fn_2d(sz, sharp, FILTER_8TAP_SHARP, avg) \ avg 1988 libavcodec/vp9dsp.c bilinf_fn_1d(sz, h, mx, avg) \ avg 1989 libavcodec/vp9dsp.c bilinf_fn_1d(sz, v, my, avg) \ avg 1990 libavcodec/vp9dsp.c bilinf_fn_2d(sz, avg) avg 1992 libavcodec/vp9dsp.c #define filter_fn_set(avg) \ avg 1993 libavcodec/vp9dsp.c filter_fn(64, avg) \ avg 1994 libavcodec/vp9dsp.c filter_fn(32, avg) \ avg 1995 libavcodec/vp9dsp.c filter_fn(16, avg) \ avg 1996 libavcodec/vp9dsp.c filter_fn(8, avg) \ avg 1997 libavcodec/vp9dsp.c filter_fn(4, avg) avg 2000 libavcodec/vp9dsp.c filter_fn_set(avg) avg 2019 libavcodec/vp9dsp.c init_fpel(idx, 1, sz, avg) avg 2049 libavcodec/vp9dsp.c init_subpel3(1, avg); avg 561 libavcodec/x86/cavsdsp.c DSPFUNC(avg, 0, 16, 3dnow); avg 562 libavcodec/x86/cavsdsp.c DSPFUNC(avg, 1, 8, 3dnow); avg 579 libavcodec/x86/cavsdsp.c DSPFUNC(avg, 0, 16, mmxext); avg 580 libavcodec/x86/cavsdsp.c DSPFUNC(avg, 1, 8, mmxext); avg 86 libavcodec/x86/diracdsp_mmx.c DIRAC_PIXOP(avg, ff_avg, mmx) avg 87 libavcodec/x86/diracdsp_mmx.c DIRAC_PIXOP(avg, ff_avg, mmxext) avg 136 libavcodec/x86/diracdsp_mmx.c PIXFUNC(avg, 0, mmx); avg 140 libavcodec/x86/diracdsp_mmx.c PIXFUNC(avg, 0, mmxext); avg 29 libavcodec/x86/diracdsp_mmx.h DECL_DIRAC_PIXOP(avg, mmx); avg 30 libavcodec/x86/diracdsp_mmx.h DECL_DIRAC_PIXOP(avg, mmxext); avg 75 libavcodec/x86/h264_qpel.c DEF_QPEL(avg) avg 416 libavcodec/x86/h264_qpel.c LUMA_MC_OP(avg, 4, DEPTH, TYPE, OPT) \ avg 418 libavcodec/x86/h264_qpel.c LUMA_MC_OP(avg, 8, DEPTH, TYPE, OPT) \ avg 420 libavcodec/x86/h264_qpel.c LUMA_MC_OP(avg, 16, DEPTH, TYPE, OPT) avg 424 libavcodec/x86/h264_qpel.c LUMA_MC_OP(avg, 8, DEPTH, TYPE, OPT) \ avg 426 libavcodec/x86/h264_qpel.c LUMA_MC_OP(avg, 16, DEPTH, TYPE, OPT) avg 480 libavcodec/x86/h264_qpel.c QPEL16_OPMC(avg, MC, MMX) avg 62 libavcodec/x86/h264chroma_init.c CHROMA_MC(avg, 2, 10, mmxext) avg 64 libavcodec/x86/h264chroma_init.c CHROMA_MC(avg, 4, 10, mmxext) avg 66 libavcodec/x86/h264chroma_init.c CHROMA_MC(avg, 8, 10, sse2) avg 68 libavcodec/x86/h264chroma_init.c CHROMA_MC(avg, 8, 10, avx) avg 200 libavcodec/x86/hpeldsp_init.c SET_HPEL_FUNCS(avg, [0], 16, mmx); avg 138 libavcodec/x86/hpeldsp_rnd_template.c static void DEF(avg, pixels16_x2)(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h) avg 165 libavcodec/x86/hpeldsp_rnd_template.c static void DEF(avg, pixels8_y2)(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h) avg 102 libavcodec/x86/rnd_template.c STATIC void DEF(avg, pixels8_xy2)(uint8_t *block, const uint8_t *pixels, avg 201 libavcodec/x86/rv40dsp_init.c DEFINE_FN(avg, 8, mmxext) avg 202 libavcodec/x86/rv40dsp_init.c DEFINE_FN(avg, 8, ssse3) avg 204 libavcodec/x86/rv40dsp_init.c DEFINE_FN(avg, 16, sse2) avg 205 libavcodec/x86/rv40dsp_init.c DEFINE_FN(avg, 16, ssse3) avg 210 libavcodec/x86/rv40dsp_init.c DEFINE_FN(avg, 8, mmx) avg 212 libavcodec/x86/rv40dsp_init.c DEFINE_FN(avg, 16, mmx) avg 32 libavcodec/x86/vp9dsp_init.c #define fpel_func(avg, sz, opt) \ avg 33 libavcodec/x86/vp9dsp_init.c void ff_vp9_##avg##sz##_##opt(uint8_t *dst, ptrdiff_t dst_stride, \ avg 41 libavcodec/x86/vp9dsp_init.c fpel_func(avg, 4, mmxext); avg 42 libavcodec/x86/vp9dsp_init.c fpel_func(avg, 8, mmxext); avg 43 libavcodec/x86/vp9dsp_init.c fpel_func(avg, 16, sse2); avg 44 libavcodec/x86/vp9dsp_init.c fpel_func(avg, 32, sse2); avg 45 libavcodec/x86/vp9dsp_init.c fpel_func(avg, 64, sse2); avg 48 libavcodec/x86/vp9dsp_init.c fpel_func(avg, 32, avx2); avg 49 libavcodec/x86/vp9dsp_init.c fpel_func(avg, 64, avx2); avg 52 libavcodec/x86/vp9dsp_init.c #define mc_func(avg, sz, dir, opt, type, f_sz) \ avg 53 libavcodec/x86/vp9dsp_init.c void ff_vp9_##avg##_8tap_1d_##dir##_##sz##_##opt(uint8_t *dst, ptrdiff_t dst_stride, \ avg 58 libavcodec/x86/vp9dsp_init.c mc_func(avg, sz, h, opt, type, fsz); \ avg 60 libavcodec/x86/vp9dsp_init.c mc_func(avg, sz, v, opt, type, fsz) avg 74 libavcodec/x86/vp9dsp_init.c #define mc_rep_func(avg, sz, hsz, dir, opt, type, f_sz) \ avg 76 libavcodec/x86/vp9dsp_init.c ff_vp9_##avg##_8tap_1d_##dir##_##sz##_##opt(uint8_t *dst, ptrdiff_t dst_stride, \ avg 80 libavcodec/x86/vp9dsp_init.c ff_vp9_##avg##_8tap_1d_##dir##_##hsz##_##opt(dst, dst_stride, src, \ avg 82 libavcodec/x86/vp9dsp_init.c ff_vp9_##avg##_8tap_1d_##dir##_##hsz##_##opt(dst + hsz, dst_stride, src + hsz, \ avg 88 libavcodec/x86/vp9dsp_init.c mc_rep_func(avg, sz, hsz, h, opt, type, fsz); \ avg 90 libavcodec/x86/vp9dsp_init.c mc_rep_func(avg, sz, hsz, v, opt, type, fsz) avg 135 libavcodec/x86/vp9dsp_init.c filters_8tap_2d_fn2(avg, 16, mmxext, sse2, sse2) avg 137 libavcodec/x86/vp9dsp_init.c filters_8tap_2d_fn2(avg, 16, ssse3, ssse3, ssse3) avg 141 libavcodec/x86/vp9dsp_init.c filters_8tap_2d_fn(avg, 64, 32, avx2, ssse3) avg 142 libavcodec/x86/vp9dsp_init.c filters_8tap_2d_fn(avg, 32, 32, avx2, ssse3) avg 175 libavcodec/x86/vp9dsp_init.c filters_8tap_1d_fn3(avg, mmxext, sse2, sse2) avg 177 libavcodec/x86/vp9dsp_init.c filters_8tap_1d_fn3(avg, ssse3, ssse3, ssse3) avg 181 libavcodec/x86/vp9dsp_init.c filters_8tap_1d_fn2(avg, 64, avx2, ssse3) avg 182 libavcodec/x86/vp9dsp_init.c filters_8tap_1d_fn2(avg, 32, avx2, ssse3) avg 397 libavcodec/x86/vp9dsp_init.c init_subpel2(4, 1, 4, avg, mmxext); avg 398 libavcodec/x86/vp9dsp_init.c init_fpel(4, 1, 4, avg, mmxext); avg 399 libavcodec/x86/vp9dsp_init.c init_fpel(3, 1, 8, avg, mmxext); avg 416 libavcodec/x86/vp9dsp_init.c init_subpel3_8to64(1, avg, sse2); avg 417 libavcodec/x86/vp9dsp_init.c init_fpel(2, 1, 16, avg, sse2); avg 418 libavcodec/x86/vp9dsp_init.c init_fpel(1, 1, 32, avg, sse2); avg 419 libavcodec/x86/vp9dsp_init.c init_fpel(0, 1, 64, avg, sse2); avg 446 libavcodec/x86/vp9dsp_init.c init_subpel3(1, avg, ssse3); avg 493 libavcodec/x86/vp9dsp_init.c init_fpel(1, 1, 32, avg, avx2); avg 494 libavcodec/x86/vp9dsp_init.c init_fpel(0, 1, 64, avg, avx2); avg 498 libavcodec/x86/vp9dsp_init.c init_subpel3_32_64(1, avg, avx2); avg 92 libavfilter/deshake.h Transform avg; avg 485 libavfilter/vf_deshake.c deshake->avg.vec.x = alpha * t.vec.x + (1.0 - alpha) * deshake->avg.vec.x; avg 486 libavfilter/vf_deshake.c deshake->avg.vec.y = alpha * t.vec.y + (1.0 - alpha) * deshake->avg.vec.y; avg 487 libavfilter/vf_deshake.c deshake->avg.angle = alpha * t.angle + (1.0 - alpha) * deshake->avg.angle; avg 488 libavfilter/vf_deshake.c deshake->avg.zoom = alpha * t.zoom + (1.0 - alpha) * deshake->avg.zoom; avg 492 libavfilter/vf_deshake.c t.vec.x -= deshake->avg.vec.x; avg 493 libavfilter/vf_deshake.c t.vec.y -= deshake->avg.vec.y; avg 494 libavfilter/vf_deshake.c t.angle -= deshake->avg.angle; avg 495 libavfilter/vf_deshake.c t.zoom -= deshake->avg.zoom; avg 504 libavfilter/vf_deshake.c snprintf(tmp, 256, "%f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f\n", orig.vec.x, deshake->avg.vec.x, t.vec.x, orig.vec.y, deshake->avg.vec.y, t.vec.y, orig.angle, deshake->avg.angle, t.angle, orig.zoom, deshake->avg.zoom, t.zoom); avg 1326 libpostproc/postprocess_template.c int avg; avg 1341 libpostproc/postprocess_template.c avg= (min + max + 1)>>1; avg 1348 libpostproc/postprocess_template.c if(src[stride*y + 0] > avg) t+= 1; avg 1349 libpostproc/postprocess_template.c if(src[stride*y + 1] > avg) t+= 2; avg 1350 libpostproc/postprocess_template.c if(src[stride*y + 2] > avg) t+= 4; avg 1351 libpostproc/postprocess_template.c if(src[stride*y + 3] > avg) t+= 8; avg 1352 libpostproc/postprocess_template.c if(src[stride*y + 4] > avg) t+= 16; avg 1353 libpostproc/postprocess_template.c if(src[stride*y + 5] > avg) t+= 32; avg 1354 libpostproc/postprocess_template.c if(src[stride*y + 6] > avg) t+= 64; avg 1355 libpostproc/postprocess_template.c if(src[stride*y + 7] > avg) t+= 128; avg 1356 libpostproc/postprocess_template.c if(src[stride*y + 8] > avg) t+= 256; avg 1357 libpostproc/postprocess_template.c if(src[stride*y + 9] > avg) t+= 512;