avg                62 libavcodec/aarch64/vp9dsp_init_16bpp_aarch64_template.c     decl_filter_funcs(avg, h,  sz, bpp); \
avg                64 libavcodec/aarch64/vp9dsp_init_16bpp_aarch64_template.c     decl_filter_funcs(avg, v,  sz, bpp); \
avg                66 libavcodec/aarch64/vp9dsp_init_16bpp_aarch64_template.c     decl_filter_funcs(avg, hv, sz, bpp)
avg                77 libavcodec/aarch64/vp9dsp_init_16bpp_aarch64_template.c declare_fpel(avg, 64, _16);
avg                78 libavcodec/aarch64/vp9dsp_init_16bpp_aarch64_template.c declare_fpel(avg, 32, _16);
avg                79 libavcodec/aarch64/vp9dsp_init_16bpp_aarch64_template.c declare_fpel(avg, 16, _16);
avg                80 libavcodec/aarch64/vp9dsp_init_16bpp_aarch64_template.c declare_fpel(avg, 8,  _16);
avg                81 libavcodec/aarch64/vp9dsp_init_16bpp_aarch64_template.c declare_fpel(avg, 4,  _16);
avg                93 libavcodec/aarch64/vp9dsp_init_16bpp_aarch64_template.c     define_8tap_2d_fn(avg, regular, sz, bpp) \
avg                94 libavcodec/aarch64/vp9dsp_init_16bpp_aarch64_template.c     define_8tap_2d_fn(avg, sharp,   sz, bpp) \
avg                95 libavcodec/aarch64/vp9dsp_init_16bpp_aarch64_template.c     define_8tap_2d_fn(avg, smooth,  sz, bpp)
avg               117 libavcodec/aarch64/vp9dsp_init_16bpp_aarch64_template.c     init_fpel(idx, 1, sz, avg,  suffix)
avg               137 libavcodec/aarch64/vp9dsp_init_16bpp_aarch64_template.c     init_mc_func(idx, 1, avg, FILTER_8TAP_REGULAR, regular, dir, mx, my, sz, pfx, bpp); \
avg               138 libavcodec/aarch64/vp9dsp_init_16bpp_aarch64_template.c     init_mc_func(idx, 1, avg, FILTER_8TAP_SHARP,   sharp,   dir, mx, my, sz, pfx, bpp); \
avg               139 libavcodec/aarch64/vp9dsp_init_16bpp_aarch64_template.c     init_mc_func(idx, 1, avg, FILTER_8TAP_SMOOTH,  smooth,  dir, mx, my, sz, pfx, bpp)
avg                36 libavcodec/aarch64/vp9dsp_init_aarch64.c     declare_fpel(avg , sz)
avg                66 libavcodec/aarch64/vp9dsp_init_aarch64.c     decl_filter_funcs(avg, h,  sz); \
avg                68 libavcodec/aarch64/vp9dsp_init_aarch64.c     decl_filter_funcs(avg, v,  sz); \
avg                70 libavcodec/aarch64/vp9dsp_init_aarch64.c     decl_filter_funcs(avg, hv, sz)
avg                91 libavcodec/aarch64/vp9dsp_init_aarch64.c     define_8tap_2d_fn(avg, regular, sz) \
avg                92 libavcodec/aarch64/vp9dsp_init_aarch64.c     define_8tap_2d_fn(avg, sharp,   sz) \
avg                93 libavcodec/aarch64/vp9dsp_init_aarch64.c     define_8tap_2d_fn(avg, smooth,  sz)
avg               115 libavcodec/aarch64/vp9dsp_init_aarch64.c     init_fpel(idx, 1, sz, avg,  suffix)
avg               134 libavcodec/aarch64/vp9dsp_init_aarch64.c     init_mc_func(idx, 1, avg, FILTER_8TAP_REGULAR, regular, dir, mx, my, sz, pfx); \
avg               135 libavcodec/aarch64/vp9dsp_init_aarch64.c     init_mc_func(idx, 1, avg, FILTER_8TAP_SHARP,   sharp,   dir, mx, my, sz, pfx); \
avg               136 libavcodec/aarch64/vp9dsp_init_aarch64.c     init_mc_func(idx, 1, avg, FILTER_8TAP_SMOOTH,  smooth,  dir, mx, my, sz, pfx)
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               105 libavcodec/apedec.c     int avg;
avg              1272 libavcodec/apedec.c     f->avg = 0;
avg              1312 libavcodec/apedec.c                                   (8 << ((absres > f->avg * 3) + (absres > f->avg * 4 / 3)));
avg              1324 libavcodec/apedec.c             f->avg += (int)(absres - (unsigned)f->avg) / 16;
avg                35 libavcodec/arm/rv40dsp_init_arm.c     DECL_QPEL3(avg, w, pos)
avg                62 libavcodec/arm/vp9dsp_init_16bpp_arm_template.c     decl_filter_funcs(avg, h,  sz, bpp); \
avg                64 libavcodec/arm/vp9dsp_init_16bpp_arm_template.c     decl_filter_funcs(avg, v,  sz, bpp); \
avg                66 libavcodec/arm/vp9dsp_init_16bpp_arm_template.c     decl_filter_funcs(avg, hv, sz, bpp)
avg                73 libavcodec/arm/vp9dsp_init_16bpp_arm_template.c declare_fpel(avg, 64, _16);
avg                74 libavcodec/arm/vp9dsp_init_16bpp_arm_template.c declare_fpel(avg, 32, _16);
avg                75 libavcodec/arm/vp9dsp_init_16bpp_arm_template.c declare_fpel(avg, 16, _16);
avg                76 libavcodec/arm/vp9dsp_init_16bpp_arm_template.c declare_fpel(avg, 8,  _16);
avg                77 libavcodec/arm/vp9dsp_init_16bpp_arm_template.c declare_fpel(avg, 4,  _16);
avg                89 libavcodec/arm/vp9dsp_init_16bpp_arm_template.c     define_8tap_2d_fn(avg, regular, sz, bpp) \
avg                90 libavcodec/arm/vp9dsp_init_16bpp_arm_template.c     define_8tap_2d_fn(avg, sharp,   sz, bpp) \
avg                91 libavcodec/arm/vp9dsp_init_16bpp_arm_template.c     define_8tap_2d_fn(avg, smooth,  sz, bpp)
avg               113 libavcodec/arm/vp9dsp_init_16bpp_arm_template.c     init_fpel(idx, 1, sz1, avg, _16)
avg               122 libavcodec/arm/vp9dsp_init_16bpp_arm_template.c     init_mc_func(idx, 1, avg, FILTER_8TAP_REGULAR, regular, dir, mx, my, sz, pfx, bpp); \
avg               123 libavcodec/arm/vp9dsp_init_16bpp_arm_template.c     init_mc_func(idx, 1, avg, FILTER_8TAP_SHARP,   sharp,   dir, mx, my, sz, pfx, bpp); \
avg               124 libavcodec/arm/vp9dsp_init_16bpp_arm_template.c     init_mc_func(idx, 1, avg, FILTER_8TAP_SMOOTH,  smooth,  dir, mx, my, sz, pfx, bpp)
avg                36 libavcodec/arm/vp9dsp_init_arm.c     declare_fpel(avg , sz)
avg                66 libavcodec/arm/vp9dsp_init_arm.c     decl_filter_funcs(avg, h,  sz); \
avg                68 libavcodec/arm/vp9dsp_init_arm.c     decl_filter_funcs(avg, v,  sz); \
avg                70 libavcodec/arm/vp9dsp_init_arm.c     decl_filter_funcs(avg, hv, sz)
avg                88 libavcodec/arm/vp9dsp_init_arm.c     define_8tap_2d_fn(avg, regular, sz) \
avg                89 libavcodec/arm/vp9dsp_init_arm.c     define_8tap_2d_fn(avg, sharp,   sz) \
avg                90 libavcodec/arm/vp9dsp_init_arm.c     define_8tap_2d_fn(avg, smooth,  sz)
avg               112 libavcodec/arm/vp9dsp_init_arm.c     init_fpel(idx, 1, sz, avg)
avg               121 libavcodec/arm/vp9dsp_init_arm.c     init_mc_func(idx, 1, avg, FILTER_8TAP_REGULAR, regular, dir, mx, my, sz, pfx); \
avg               122 libavcodec/arm/vp9dsp_init_arm.c     init_mc_func(idx, 1, avg, FILTER_8TAP_SHARP,   sharp,   dir, mx, my, sz, pfx); \
avg               123 libavcodec/arm/vp9dsp_init_arm.c     init_mc_func(idx, 1, avg, FILTER_8TAP_SMOOTH,  smooth,  dir, mx, my, sz, pfx)
avg               353 libavcodec/atrac9dec.c     int avg = 0;
avg               367 libavcodec/atrac9dec.c             avg += c->scalefactors[i];
avg               368 libavcodec/atrac9dec.c         avg = (avg + 6) / 12;
avg               388 libavcodec/atrac9dec.c         c->codebookset[i] = (((cur - min) >= 2) && (cur >= (avg - cnd)));
avg                81 libavcodec/diracdsp.c PIXOP_BILINEAR(avg, OP_AVG, 8)
avg                82 libavcodec/diracdsp.c PIXOP_BILINEAR(avg, OP_AVG, 16)
avg                83 libavcodec/diracdsp.c PIXOP_BILINEAR(avg, OP_AVG, 32)
avg               244 libavcodec/diracdsp.c     PIXFUNC(avg, 8);
avg               245 libavcodec/diracdsp.c     PIXFUNC(avg, 16);
avg               246 libavcodec/diracdsp.c     PIXFUNC(avg, 32);
avg                63 libavcodec/diracdsp.h DECL_DIRAC_PIXOP(avg, c);
avg                65 libavcodec/diracdsp.h DECL_DIRAC_PIXOP(avg, l2_c);
avg                67 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               124 libavcodec/intrax8dsp.c         int avg = (sum + 4) >> 3;
avg               127 libavcodec/intrax8dsp.c             memset(dst + area1, avg, 8 + 8 + 1); // areas 1, 2, 3 are averaged
avg               129 libavcodec/intrax8dsp.c             memset(dst + area3, avg, 1 + 16 + 8); // areas 3, 4, 5, 6
avg               131 libavcodec/intrax8dsp.c         sum += avg * 9;
avg                92 libavcodec/mips/vp9dsp_init_mips.c     init_fpel(idx, 1, sz, avg)
avg                95 libavcodec/mips/vp9dsp_init_mips.c     init_fpel(idx, 1, sz, avg)
avg               130 libavcodec/mips/vp9dsp_init_mips.c     init_subpel3(1, avg);
avg               195 libavcodec/mips/vp9dsp_init_mips.c     init_subpel3(1, avg);
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               434 libavcodec/svq3.c                                     int thirdpel, int dir, int avg)
avg               465 libavcodec/svq3.c         (avg ? s->tdsp.avg_tpel_pixels_tab
avg               469 libavcodec/svq3.c         (avg ? s->hdsp.avg_pixels_tab
avg               493 libavcodec/svq3.c                 (avg ? s->tdsp.avg_tpel_pixels_tab
avg               498 libavcodec/svq3.c                 (avg ? s->hdsp.avg_pixels_tab
avg               507 libavcodec/svq3.c                               int dir, int avg)
avg               572 libavcodec/svq3.c                                  fx, fy, dxy, 1, dir, avg);
avg               581 libavcodec/svq3.c                                  mx >> 1, my >> 1, dxy, 0, dir, avg);
avg               589 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               431 libavcodec/vc1.h void ff_vc1_mc_4mv_luma(VC1Context *v, int n, int dir, int avg);
avg               433 libavcodec/vc1.h void ff_vc1_mc_4mv_chroma4(VC1Context *v, int dir, int dir2, int avg);
avg               452 libavcodec/vc1_mc.c void ff_vc1_mc_4mv_luma(VC1Context *v, int n, int dir, int avg)
avg               619 libavcodec/vc1_mc.c         if (avg)
avg               839 libavcodec/vc1_mc.c void ff_vc1_mc_4mv_chroma4(VC1Context *v, int dir, int dir2, int avg)
avg               982 libavcodec/vc1_mc.c         if (avg) {
avg              1981 libavcodec/vp9dsp_template.c fpel_fn(avg,  sz)
avg              2007 libavcodec/vp9dsp_template.c                                           const int16_t *filter, int avg)
avg              2018 libavcodec/vp9dsp_template.c             if (avg) {
avg              2039 libavcodec/vp9dsp_template.c filter_8tap_1d_fn(avg, 1, v, src_stride / sizeof(pixel))
avg              2040 libavcodec/vp9dsp_template.c filter_8tap_1d_fn(avg, 1, h, 1)
avg              2047 libavcodec/vp9dsp_template.c                                           const int16_t *filtery, int avg)
avg              2072 libavcodec/vp9dsp_template.c             if (avg) {
avg              2093 libavcodec/vp9dsp_template.c filter_8tap_2d_fn(avg, 1)
avg              2097 libavcodec/vp9dsp_template.c #define filter_fn_1d(sz, dir, dir_m, type, type_idx, avg) \
avg              2098 libavcodec/vp9dsp_template.c static void avg##_8tap_##type##_##sz##dir##_c(uint8_t *dst, ptrdiff_t dst_stride, \
avg              2102 libavcodec/vp9dsp_template.c     avg##_8tap_1d_##dir##_c(dst, dst_stride, src, src_stride, sz, h, \
avg              2106 libavcodec/vp9dsp_template.c #define filter_fn_2d(sz, type, type_idx, avg) \
avg              2107 libavcodec/vp9dsp_template.c static void avg##_8tap_##type##_##sz##hv_c(uint8_t *dst, ptrdiff_t dst_stride, \
avg              2111 libavcodec/vp9dsp_template.c     avg##_8tap_2d_hv_c(dst, dst_stride, src, src_stride, sz, h, \
avg              2123 libavcodec/vp9dsp_template.c                                            int w, int h, ptrdiff_t ds, int mxy, int avg)
avg              2134 libavcodec/vp9dsp_template.c             if (avg) {
avg              2155 libavcodec/vp9dsp_template.c bilin_1d_fn(avg, 1, v, src_stride / sizeof(pixel))
avg              2156 libavcodec/vp9dsp_template.c bilin_1d_fn(avg, 1, h, 1)
avg              2162 libavcodec/vp9dsp_template.c                                            int w, int h, int mx, int my, int avg)
avg              2186 libavcodec/vp9dsp_template.c             if (avg) {
avg              2206 libavcodec/vp9dsp_template.c bilin_2d_fn(avg, 1)
avg              2210 libavcodec/vp9dsp_template.c #define bilinf_fn_1d(sz, dir, dir_m, avg) \
avg              2211 libavcodec/vp9dsp_template.c static void avg##_bilin_##sz##dir##_c(uint8_t *dst, ptrdiff_t dst_stride, \
avg              2215 libavcodec/vp9dsp_template.c     avg##_bilin_1d_##dir##_c(dst, dst_stride, src, src_stride, sz, h, dir_m); \
avg              2218 libavcodec/vp9dsp_template.c #define bilinf_fn_2d(sz, avg) \
avg              2219 libavcodec/vp9dsp_template.c static void avg##_bilin_##sz##hv_c(uint8_t *dst, ptrdiff_t dst_stride, \
avg              2223 libavcodec/vp9dsp_template.c     avg##_bilin_2d_hv_c(dst, dst_stride, src, src_stride, sz, h, mx, my); \
avg              2233 libavcodec/vp9dsp_template.c #define filter_fn(sz, avg) \
avg              2234 libavcodec/vp9dsp_template.c filter_fn_1d(sz, h, mx, regular, FILTER_8TAP_REGULAR, avg) \
avg              2235 libavcodec/vp9dsp_template.c filter_fn_1d(sz, v, my, regular, FILTER_8TAP_REGULAR, avg) \
avg              2236 libavcodec/vp9dsp_template.c filter_fn_2d(sz,        regular, FILTER_8TAP_REGULAR, avg) \
avg              2237 libavcodec/vp9dsp_template.c filter_fn_1d(sz, h, mx, smooth,  FILTER_8TAP_SMOOTH,  avg) \
avg              2238 libavcodec/vp9dsp_template.c filter_fn_1d(sz, v, my, smooth,  FILTER_8TAP_SMOOTH,  avg) \
avg              2239 libavcodec/vp9dsp_template.c filter_fn_2d(sz,        smooth,  FILTER_8TAP_SMOOTH,  avg) \
avg              2240 libavcodec/vp9dsp_template.c filter_fn_1d(sz, h, mx, sharp,   FILTER_8TAP_SHARP,   avg) \
avg              2241 libavcodec/vp9dsp_template.c filter_fn_1d(sz, v, my, sharp,   FILTER_8TAP_SHARP,   avg) \
avg              2242 libavcodec/vp9dsp_template.c filter_fn_2d(sz,        sharp,   FILTER_8TAP_SHARP,   avg) \
avg              2243 libavcodec/vp9dsp_template.c bilinf_fn_1d(sz, h, mx,                               avg) \
avg              2244 libavcodec/vp9dsp_template.c bilinf_fn_1d(sz, v, my,                               avg) \
avg              2245 libavcodec/vp9dsp_template.c bilinf_fn_2d(sz,                                      avg)
avg              2247 libavcodec/vp9dsp_template.c #define filter_fn_set(avg) \
avg              2248 libavcodec/vp9dsp_template.c filter_fn(64, avg) \
avg              2249 libavcodec/vp9dsp_template.c filter_fn(32, avg) \
avg              2250 libavcodec/vp9dsp_template.c filter_fn(16, avg) \
avg              2251 libavcodec/vp9dsp_template.c filter_fn(8,  avg) \
avg              2252 libavcodec/vp9dsp_template.c filter_fn(4,  avg)
avg              2255 libavcodec/vp9dsp_template.c filter_fn_set(avg)
avg              2284 libavcodec/vp9dsp_template.c     init_fpel(idx, 1, sz, avg)
avg              2323 libavcodec/vp9dsp_template.c     init_subpel3(1, avg);
avg              2334 libavcodec/vp9dsp_template.c                                               int dx, int dy, int avg,
avg              2366 libavcodec/vp9dsp_template.c             if (avg) {
avg              2390 libavcodec/vp9dsp_template.c scaled_filter_8tap_fn(avg, 1)
avg              2396 libavcodec/vp9dsp_template.c #define scaled_filter_fn(sz, type, type_idx, avg) \
avg              2397 libavcodec/vp9dsp_template.c static void avg##_scaled_##type##_##sz##_c(uint8_t *dst, ptrdiff_t dst_stride, \
avg              2401 libavcodec/vp9dsp_template.c     avg##_scaled_8tap_c(dst, dst_stride, src, src_stride, sz, h, mx, my, dx, dy, \
avg              2410 libavcodec/vp9dsp_template.c                                                int dx, int dy, int avg)
avg              2439 libavcodec/vp9dsp_template.c             if (avg) {
avg              2461 libavcodec/vp9dsp_template.c scaled_bilin_fn(avg, 1)
avg              2467 libavcodec/vp9dsp_template.c #define scaled_bilinf_fn(sz, avg) \
avg              2468 libavcodec/vp9dsp_template.c static void avg##_scaled_bilin_##sz##_c(uint8_t *dst, ptrdiff_t dst_stride, \
avg              2472 libavcodec/vp9dsp_template.c     avg##_scaled_bilin_c(dst, dst_stride, src, src_stride, sz, h, mx, my, dx, dy); \
avg              2481 libavcodec/vp9dsp_template.c #define scaled_filter_fns(sz, avg) \
avg              2482 libavcodec/vp9dsp_template.c scaled_filter_fn(sz,        regular, FILTER_8TAP_REGULAR, avg) \
avg              2483 libavcodec/vp9dsp_template.c scaled_filter_fn(sz,        smooth,  FILTER_8TAP_SMOOTH,  avg) \
avg              2484 libavcodec/vp9dsp_template.c scaled_filter_fn(sz,        sharp,   FILTER_8TAP_SHARP,   avg) \
avg              2485 libavcodec/vp9dsp_template.c scaled_bilinf_fn(sz,                                      avg)
avg              2487 libavcodec/vp9dsp_template.c #define scaled_filter_fn_set(avg) \
avg              2488 libavcodec/vp9dsp_template.c scaled_filter_fns(64, avg) \
avg              2489 libavcodec/vp9dsp_template.c scaled_filter_fns(32, avg) \
avg              2490 libavcodec/vp9dsp_template.c scaled_filter_fns(16, avg) \
avg              2491 libavcodec/vp9dsp_template.c scaled_filter_fns(8,  avg) \
avg              2492 libavcodec/vp9dsp_template.c scaled_filter_fns(4,  avg)
avg              2495 libavcodec/vp9dsp_template.c scaled_filter_fn_set(avg)
avg              2526 libavcodec/vp9dsp_template.c     init_scaled(idx, 1, sz, avg)
avg               424 libavcodec/x86/cavsdsp.c     DSPFUNC(avg, 0, 16, 3dnow);
avg               425 libavcodec/x86/cavsdsp.c     DSPFUNC(avg, 1,  8, 3dnow);
avg               444 libavcodec/x86/cavsdsp.c         DSPFUNC(avg, 0, 16, mmxext);
avg               445 libavcodec/x86/cavsdsp.c         DSPFUNC(avg, 1,  8, mmxext);
avg                26 libavcodec/x86/diracdsp_init.c DECL_DIRAC_PIXOP(avg, mmx);
avg                27 libavcodec/x86/diracdsp_init.c DECL_DIRAC_PIXOP(avg, mmxext);
avg               105 libavcodec/x86/diracdsp_init.c DIRAC_PIXOP(avg, ff_avg, mmx)
avg               106 libavcodec/x86/diracdsp_init.c DIRAC_PIXOP(avg, ff_avg, mmxext)
avg               170 libavcodec/x86/diracdsp_init.c         PIXFUNC(avg, 0, mmx);
avg               174 libavcodec/x86/diracdsp_init.c         PIXFUNC(avg, 0, mmxext);
avg                71 libavcodec/x86/h264_qpel.c DEF_QPEL(avg)
avg               414 libavcodec/x86/h264_qpel.c     LUMA_MC_OP(avg,  4, DEPTH, TYPE, OPT) \
avg               416 libavcodec/x86/h264_qpel.c     LUMA_MC_OP(avg,  8, DEPTH, TYPE, OPT) \
avg               418 libavcodec/x86/h264_qpel.c     LUMA_MC_OP(avg, 16, DEPTH, TYPE, OPT)
avg               422 libavcodec/x86/h264_qpel.c     LUMA_MC_OP(avg,  8, DEPTH, TYPE, OPT) \
avg               424 libavcodec/x86/h264_qpel.c     LUMA_MC_OP(avg, 16, DEPTH, TYPE, OPT)
avg               478 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               191 libavcodec/x86/hpeldsp_init.c     SET_HPEL_FUNCS(avg,        [0], 16, mmx);
avg               138 libavcodec/x86/hpeldsp_rnd_template.c av_unused 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 av_unused 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 av_unused 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                37 libavcodec/x86/vp9dsp_init.c decl_fpel_func(avg,  4, _8, mmxext);
avg                38 libavcodec/x86/vp9dsp_init.c decl_fpel_func(avg,  8, _8, mmxext);
avg                39 libavcodec/x86/vp9dsp_init.c decl_fpel_func(avg, 16, _8, sse2);
avg                40 libavcodec/x86/vp9dsp_init.c decl_fpel_func(avg, 32, _8, sse2);
avg                41 libavcodec/x86/vp9dsp_init.c decl_fpel_func(avg, 64, _8, sse2);
avg                44 libavcodec/x86/vp9dsp_init.c decl_fpel_func(avg, 32, _8, avx2);
avg                45 libavcodec/x86/vp9dsp_init.c decl_fpel_func(avg, 64, _8, avx2);
avg                72 libavcodec/x86/vp9dsp_init.c filters_8tap_2d_fn2(avg, 16, 8, 1, mmxext, sse2, sse2)
avg                74 libavcodec/x86/vp9dsp_init.c filters_8tap_2d_fn2(avg, 16, 8, 1, ssse3, ssse3, ssse3)
avg                78 libavcodec/x86/vp9dsp_init.c filters_8tap_2d_fn(avg, 64, 32, 8, 1, avx2, ssse3)
avg                79 libavcodec/x86/vp9dsp_init.c filters_8tap_2d_fn(avg, 32, 32, 8, 1, avx2, ssse3)
avg                83 libavcodec/x86/vp9dsp_init.c filters_8tap_1d_fn3(avg, 8, mmxext, sse2, sse2)
avg                85 libavcodec/x86/vp9dsp_init.c filters_8tap_1d_fn3(avg, 8, ssse3, ssse3, ssse3)
avg                89 libavcodec/x86/vp9dsp_init.c filters_8tap_1d_fn2(avg, 64, 8, avx2, ssse3)
avg                90 libavcodec/x86/vp9dsp_init.c filters_8tap_1d_fn2(avg, 32, 8, avx2, ssse3)
avg               291 libavcodec/x86/vp9dsp_init.c         init_subpel2(4, 1, 4, avg, 8, mmxext);
avg               292 libavcodec/x86/vp9dsp_init.c         init_fpel_func(4, 1,  4, avg, _8, mmxext);
avg               293 libavcodec/x86/vp9dsp_init.c         init_fpel_func(3, 1,  8, avg, _8, mmxext);
avg               310 libavcodec/x86/vp9dsp_init.c         init_subpel3_8to64(1, avg, 8, sse2);
avg               311 libavcodec/x86/vp9dsp_init.c         init_fpel_func(2, 1, 16, avg,  _8, sse2);
avg               312 libavcodec/x86/vp9dsp_init.c         init_fpel_func(1, 1, 32, avg,  _8, sse2);
avg               313 libavcodec/x86/vp9dsp_init.c         init_fpel_func(0, 1, 64, avg,  _8, sse2);
avg               340 libavcodec/x86/vp9dsp_init.c         init_subpel3(1, avg, 8, ssse3);
avg               389 libavcodec/x86/vp9dsp_init.c         init_fpel_func(1, 1, 32, avg, _8, avx2);
avg               390 libavcodec/x86/vp9dsp_init.c         init_fpel_func(0, 1, 64, avg, _8, avx2);
avg               402 libavcodec/x86/vp9dsp_init.c             init_subpel3_32_64(1, avg, 8, avx2);
avg                31 libavcodec/x86/vp9dsp_init.h #define decl_fpel_func(avg, sz, bpp, opt) \
avg                32 libavcodec/x86/vp9dsp_init.h void ff_vp9_##avg##sz##bpp##_##opt(uint8_t *dst, ptrdiff_t dst_stride, \
avg                36 libavcodec/x86/vp9dsp_init.h #define decl_mc_func(avg, sz, dir, opt, type, f_sz, bpp) \
avg                37 libavcodec/x86/vp9dsp_init.h void ff_vp9_##avg##_8tap_1d_##dir##_##sz##_##bpp##_##opt(uint8_t *dst, ptrdiff_t dst_stride, \
avg                43 libavcodec/x86/vp9dsp_init.h decl_mc_func(avg, sz, h, opt, type, fsz, bpp); \
avg                45 libavcodec/x86/vp9dsp_init.h decl_mc_func(avg, sz, v, opt, type, fsz, bpp)
avg                71 libavcodec/x86/vp9dsp_init.h #define mc_rep_func(avg, sz, hsz, hszb, dir, opt, type, f_sz, bpp) \
avg                73 libavcodec/x86/vp9dsp_init.h ff_vp9_##avg##_8tap_1d_##dir##_##sz##_##bpp##_##opt(uint8_t *dst, ptrdiff_t dst_stride, \
avg                77 libavcodec/x86/vp9dsp_init.h     ff_vp9_##avg##_8tap_1d_##dir##_##hsz##_##bpp##_##opt(dst,        dst_stride, src, \
avg                79 libavcodec/x86/vp9dsp_init.h     ff_vp9_##avg##_8tap_1d_##dir##_##hsz##_##bpp##_##opt(dst + hszb, dst_stride, src + hszb, \
avg                85 libavcodec/x86/vp9dsp_init.h mc_rep_func(avg, sz, hsz, hszb, h, opt, type, fsz, bpp) \
avg                87 libavcodec/x86/vp9dsp_init.h mc_rep_func(avg, sz, hsz, hszb, v, opt, type, fsz, bpp)
avg                33 libavcodec/x86/vp9dsp_init_16bpp.c decl_fpel_func(avg,   8, _16, mmxext);
avg                38 libavcodec/x86/vp9dsp_init_16bpp.c decl_fpel_func(avg,  16, _16, sse2);
avg                39 libavcodec/x86/vp9dsp_init_16bpp.c decl_fpel_func(avg,  32, _16, sse2);
avg                40 libavcodec/x86/vp9dsp_init_16bpp.c decl_fpel_func(avg,  64, _16, sse2);
avg                41 libavcodec/x86/vp9dsp_init_16bpp.c decl_fpel_func(avg, 128, _16, sse2);
avg                45 libavcodec/x86/vp9dsp_init_16bpp.c decl_fpel_func(avg,  32, _16, avx2);
avg                46 libavcodec/x86/vp9dsp_init_16bpp.c decl_fpel_func(avg,  64, _16, avx2);
avg                47 libavcodec/x86/vp9dsp_init_16bpp.c decl_fpel_func(avg, 128, _16, avx2);
avg                83 libavcodec/x86/vp9dsp_init_16bpp.c         init_fpel_func(4, 1,   8, avg, _16, mmxext);
avg                99 libavcodec/x86/vp9dsp_init_16bpp.c         init_fpel_func(3, 1,  16, avg, _16, sse2);
avg               100 libavcodec/x86/vp9dsp_init_16bpp.c         init_fpel_func(2, 1,  32, avg, _16, sse2);
avg               101 libavcodec/x86/vp9dsp_init_16bpp.c         init_fpel_func(1, 1,  64, avg, _16, sse2);
avg               102 libavcodec/x86/vp9dsp_init_16bpp.c         init_fpel_func(0, 1, 128, avg, _16, sse2);
avg               137 libavcodec/x86/vp9dsp_init_16bpp.c         init_fpel_func(2, 1,  32, avg, _16, avx2);
avg               138 libavcodec/x86/vp9dsp_init_16bpp.c         init_fpel_func(1, 1,  64, avg, _16, avx2);
avg               139 libavcodec/x86/vp9dsp_init_16bpp.c         init_fpel_func(0, 1, 128, avg, _16, avx2);
avg                47 libavcodec/x86/vp9dsp_init_16bpp_template.c filters_8tap_2d_fn2(avg, 16, BPC, 2, sse2, sse2, 16bpp)
avg                50 libavcodec/x86/vp9dsp_init_16bpp_template.c filters_8tap_2d_fn(avg, 64, 32, BPC, 2, avx2, 16bpp)
avg                52 libavcodec/x86/vp9dsp_init_16bpp_template.c filters_8tap_2d_fn(avg, 32, 32, BPC, 2, avx2, 16bpp)
avg                54 libavcodec/x86/vp9dsp_init_16bpp_template.c filters_8tap_2d_fn(avg, 16, 32, BPC, 2, avx2, 16bpp)
avg                58 libavcodec/x86/vp9dsp_init_16bpp_template.c filters_8tap_1d_fn3(avg, BPC, sse2, sse2, 16bpp)
avg                61 libavcodec/x86/vp9dsp_init_16bpp_template.c filters_8tap_1d_fn2(avg, 64, BPC, avx2, 16bpp)
avg                63 libavcodec/x86/vp9dsp_init_16bpp_template.c filters_8tap_1d_fn2(avg, 32, BPC, avx2, 16bpp)
avg                65 libavcodec/x86/vp9dsp_init_16bpp_template.c filters_8tap_1d_fn2(avg, 16, BPC, avx2, 16bpp)
avg               198 libavcodec/x86/vp9dsp_init_16bpp_template.c         init_subpel3(1, avg, BPC, sse2);
avg               231 libavcodec/x86/vp9dsp_init_16bpp_template.c         init_subpel3_32_64(1,  avg, BPC, avx2);
avg               233 libavcodec/x86/vp9dsp_init_16bpp_template.c         init_subpel2(2, 1, 16, avg, BPC, avx2);
avg                52 libavfilter/avf_showfreqs.c     int avg;
avg               112 libavfilter/avf_showfreqs.c     { "averaging", "set time averaging", OFFSET(avg), AV_OPT_TYPE_INT, {.i64=1}, 0, INT32_MAX, FLAGS },
avg               283 libavfilter/avf_showfreqs.c     const float avg = s->avg_data[ch][f];
avg               318 libavfilter/avf_showfreqs.c     switch (s->avg) {
avg               320 libavfilter/avf_showfreqs.c         y = s->avg_data[ch][f] = !outlink->frame_count_in ? y : FFMIN(avg, y);
avg               325 libavfilter/avf_showfreqs.c         s->avg_data[ch][f] = avg + y * (y - avg) / (FFMIN(outlink->frame_count_in + 1, s->avg) * y);
avg               184 libavfilter/colorspacedsp_template.c                                          ((avg(r00, r01, r10, r11) * cru +
avg               185 libavfilter/colorspacedsp_template.c                                            avg(g00, g01, g10, g11) * cgu +
avg               186 libavfilter/colorspacedsp_template.c                                            avg(b00, b01, b10, b11) * cburv + rnd) >> sh));
avg               188 libavfilter/colorspacedsp_template.c                                          ((avg(r00, r01, r10, r11) * cburv +
avg               189 libavfilter/colorspacedsp_template.c                                            avg(g00, g01, g10, g11) * cgv +
avg               190 libavfilter/colorspacedsp_template.c                                            avg(b00, b01, b10, b11) * cbv + rnd) >> sh));
avg               298 libavfilter/colorspacedsp_template.c             u = avg(r00, r01, r10, r11) * cru +
avg               299 libavfilter/colorspacedsp_template.c                 avg(g00, g01, g10, g11) * cgu +
avg               300 libavfilter/colorspacedsp_template.c                 avg(b00, b01, b10, b11) * cburv + rnd_scratch[1][y & 1][x];
avg               309 libavfilter/colorspacedsp_template.c             v = avg(r00, r01, r10, r11) * cburv +
avg               310 libavfilter/colorspacedsp_template.c                 avg(g00, g01, g10, g11) * cgv +
avg               311 libavfilter/colorspacedsp_template.c                 avg(b00, b01, b10, b11) * cbv + rnd_scratch[2][y & 1][x];
avg                71 libavfilter/deshake.h     Transform avg;
avg               130 libavfilter/opencl/tonemap.cl         float avg = (float)*avg_total_p / (REFERENCE_WHITE * scene_frame_num);
avg               132 libavfilter/opencl/tonemap.cl         r.average = max(0.25f, avg);
avg               137 libavfilter/vf_amplify.c                     float diff, avg;
avg               144 libavfilter/vf_amplify.c                     avg = sum / (float)nb_inputs;
avg               145 libavfilter/vf_amplify.c                     diff = src - avg;
avg               179 libavfilter/vf_amplify.c                     float diff, avg;
avg               186 libavfilter/vf_amplify.c                     avg = sum / (float)nb_inputs;
avg               187 libavfilter/vf_amplify.c                     diff = src - avg;
avg               166 libavfilter/vf_deband.c                     const int avg = get_avg(ref0, ref1, ref2, ref3);
avg               167 libavfilter/vf_deband.c                     const int diff = FFABS(src0 - avg);
avg               169 libavfilter/vf_deband.c                     dst_ptr[y * dst_linesize + x] = diff < thr ? avg : src0;
avg               199 libavfilter/vf_deband.c             int avg[4], cmp[4] = { 0 }, src[4];
avg               214 libavfilter/vf_deband.c                 avg[p] = get_avg(ref0, ref1, ref2, ref3);
avg               217 libavfilter/vf_deband.c                     cmp[p] = FFABS(src0 - avg[p]) < thr;
avg               233 libavfilter/vf_deband.c                     out->data[p][y * dst_linesize + x] = avg[p];
avg               264 libavfilter/vf_deband.c             int avg[4], cmp[4] = { 0 }, src[4];
avg               279 libavfilter/vf_deband.c                 avg[p] = get_avg(ref0, ref1, ref2, ref3);
avg               282 libavfilter/vf_deband.c                     cmp[p] = FFABS(src0 - avg[p]) < thr;
avg               299 libavfilter/vf_deband.c                     dst[0] = avg[p];
avg               347 libavfilter/vf_deband.c                     const int avg = get_avg(ref0, ref1, ref2, ref3);
avg               348 libavfilter/vf_deband.c                     const int diff = FFABS(src0 - avg);
avg               350 libavfilter/vf_deband.c                     dst_ptr[y * dst_linesize + x] = diff < thr ? avg : src0;
avg               468 libavfilter/vf_deshake.c     deshake->avg.vec.x = alpha * t.vec.x + (1.0 - alpha) * deshake->avg.vec.x;
avg               469 libavfilter/vf_deshake.c     deshake->avg.vec.y = alpha * t.vec.y + (1.0 - alpha) * deshake->avg.vec.y;
avg               470 libavfilter/vf_deshake.c     deshake->avg.angle = alpha * t.angle + (1.0 - alpha) * deshake->avg.angle;
avg               471 libavfilter/vf_deshake.c     deshake->avg.zoom = alpha * t.zoom + (1.0 - alpha) * deshake->avg.zoom;
avg               475 libavfilter/vf_deshake.c     t.vec.x -= deshake->avg.vec.x;
avg               476 libavfilter/vf_deshake.c     t.vec.y -= deshake->avg.vec.y;
avg               477 libavfilter/vf_deshake.c     t.angle -= deshake->avg.angle;
avg               478 libavfilter/vf_deshake.c     t.zoom -= deshake->avg.zoom;
avg               487 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;