• 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 defs:decimate

78     DecimateContext *decimate = ctx->priv;
79 DSPContext *dspctx = &decimate->dspctx;
80 PixblockDSPContext *pdsp = &decimate->pdsp;
84 int t = (w/16)*(h/16)*decimate->frac;
94 if (d > decimate->hi)
96 if (d > decimate->lo) {
113 DecimateContext *decimate = ctx->priv;
116 if (decimate->max_drop_count > 0 &&
117 decimate->drop_count >= decimate->max_drop_count)
119 if (decimate->max_drop_count < 0 &&
120 (decimate->drop_count-1) > decimate->max_drop_count)
124 int vsub = plane == 1 || plane == 2 ? decimate->vsub : 0;
125 int hsub = plane == 1 || plane == 2 ? decimate->hsub : 0;
138 DecimateContext *decimate = ctx->priv;
141 decimate->max_drop_count, decimate->hi, decimate->lo, decimate->frac);
143 decimate->avctx = avcodec_alloc_context3(NULL);
144 if (!decimate->avctx)
146 avpriv_dsputil_init(&decimate->dspctx, decimate->avctx);
147 ff_pixblockdsp_init(&decimate->pdsp, decimate->avctx);
154 DecimateContext *decimate = ctx->priv;
155 av_frame_free(&decimate->ref);
156 if (decimate->avctx) {
157 avcodec_close(decimate->avctx);
158 av_freep(&decimate->avctx);
182 DecimateContext *decimate = ctx->priv;
184 decimate->hsub = pix_desc->log2_chroma_w;
185 decimate->vsub = pix_desc->log2_chroma_h;
192 DecimateContext *decimate = inlink->dst->priv;
196 if (decimate->ref && decimate_frame(inlink->dst, cur, decimate->ref)) {
197 decimate->drop_count = FFMAX(1, decimate->drop_count+1);
199 av_frame_free(&decimate->ref);
200 decimate->ref = cur;
201 decimate->drop_count = FFMIN(-1, decimate->drop_count-1);
209 decimate->drop_count > 0 ? "drop" : "keep",
211 decimate->drop_count);
213 if (decimate->drop_count > 0)
221 DecimateContext *decimate = outlink->src->priv;
227 } while (decimate->drop_count > 0 && ret >= 0);