BINS 44 libavfilter/median_template.c #define MASK (BINS - 1) BINS 49 libavfilter/median_template.c #define PICK_COARSE_BIN(x, y) (BINS * (x) + ((y) >> SHIFT)) BINS 50 libavfilter/median_template.c #define PICK_FINE_BIN(x, y, z) (BINS * ((x) * ((y) >> SHIFT) + (z)) + ((y) & MASK)) BINS 93 libavfilter/median_template.c htype coarse[BINS] = { 0 }; BINS 94 libavfilter/median_template.c htype fine[BINS][BINS] = { { 0 } }; BINS 95 libavfilter/median_template.c htype luc[BINS] = { 0 }; BINS 109 libavfilter/median_template.c s->hmuladd(coarse, &ccoarse[0], radius, BINS); BINS 111 libavfilter/median_template.c s->hadd(coarse, &ccoarse[BINS * j], BINS); BINS 112 libavfilter/median_template.c for (int k = 0; k < BINS; k++) BINS 113 libavfilter/median_template.c s->hmuladd(&fine[k][0], &cfine[BINS * width * k], 2 * radius + 1, BINS); BINS 119 libavfilter/median_template.c s->hadd(coarse, &ccoarse[BINS * FFMIN(j + radius, width - 1)], BINS); BINS 121 libavfilter/median_template.c for (k = 0; k < BINS; k++) { BINS 128 libavfilter/median_template.c av_assert0(k < BINS); BINS 131 libavfilter/median_template.c memset(&fine[k], 0, BINS * sizeof(htype)); BINS 133 libavfilter/median_template.c s->hadd(fine[k], &cfine[BINS * (width * k + luc[k])], BINS); BINS 135 libavfilter/median_template.c s->hmuladd(&fine[k][0], &cfine[BINS * (width * k + width - 1)], j + radius + 1 - width, BINS); BINS 140 libavfilter/median_template.c s->hsub(fine[k], &cfine[BINS * (width * k + FFMAX(luc[k] - 2 * radius - 1, 0))], BINS); BINS 141 libavfilter/median_template.c s->hadd(fine[k], &cfine[BINS * (width * k + FFMIN(luc[k], width - 1))], BINS); BINS 145 libavfilter/median_template.c s->hsub(coarse, &ccoarse[BINS * FFMAX(j - radius, 0)], BINS); BINS 148 libavfilter/median_template.c for (b = 0; b < BINS; b++) { BINS 151 libavfilter/median_template.c dst[j] = BINS * k + b; BINS 155 libavfilter/median_template.c av_assert0(b < BINS);