• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavfilter/

Lines Matching refs:depth

44 #define LUT_BITS (depth==16 ? 8 : 4)
45 #define LOAD(x) (((depth == 8 ? src[x] : AV_RN16A(src + (x) * 2)) << (16 - depth))\
46 + (((1 << (16 - depth)) - 1) >> 1))
47 #define STORE(x,val) (depth == 8 ? dst[x] = (val) >> (16 - depth) : \
48 AV_WN16A(dst + (x) * 2, (val) >> (16 - depth)))
51 static uint32_t lowpass(int prev, int cur, int16_t *coef, int depth)
61 int16_t *temporal, int depth)
70 frame_ant[x] = tmp = lowpass(frame_ant[x], LOAD(x), temporal, depth);
84 int16_t *spatial, int16_t *temporal, int depth)
97 line_ant[x] = tmp = pixel_ant = lowpass(pixel_ant, LOAD(x), spatial, depth);
98 frame_ant[x] = tmp = lowpass(frame_ant[x], tmp, temporal, depth);
106 if (s->denoise_row[depth]) {
107 s->denoise_row[depth](src, dst, line_ant, frame_ant, w, spatial, temporal);
112 line_ant[x] = tmp = lowpass(line_ant[x], pixel_ant, spatial, depth);
113 pixel_ant = lowpass(pixel_ant, LOAD(x+1), spatial, depth);
114 frame_ant[x] = tmp = lowpass(frame_ant[x], tmp, temporal, depth);
117 line_ant[x] = tmp = lowpass(line_ant[x], pixel_ant, spatial, depth);
118 frame_ant[x] = tmp = lowpass(frame_ant[x], tmp, temporal, depth);
128 int16_t *spatial, int16_t *temporal, int depth)
130 // FIXME: For 16bit depth, frame_ant could be a pointer to the previous
146 w, h, sstride, dstride, spatial, temporal, depth);
149 w, h, sstride, dstride, temporal, depth);
154 switch (s->depth) {\
161 static int16_t *precalc_coefs(double dist25, int depth)
260 s->depth = desc->comp[0].depth_minus1+1;
267 s->coefs[i] = precalc_coefs(s->strength[i], s->depth);