Lines Matching defs:hqdn3d
199 HQDN3DContext *hqdn3d = ctx->priv;
247 PrecalcCoefs(hqdn3d->Coefs[0], LumSpac);
248 PrecalcCoefs(hqdn3d->Coefs[1], LumTmp);
249 PrecalcCoefs(hqdn3d->Coefs[2], ChromSpac);
250 PrecalcCoefs(hqdn3d->Coefs[3], ChromTmp);
257 HQDN3DContext *hqdn3d = ctx->priv;
259 av_freep(&hqdn3d->Line);
260 av_freep(&hqdn3d->Frame[0]);
261 av_freep(&hqdn3d->Frame[1]);
262 av_freep(&hqdn3d->Frame[2]);
278 HQDN3DContext *hqdn3d = inlink->dst->priv;
280 hqdn3d->hsub = av_pix_fmt_descriptors[inlink->format].log2_chroma_w;
281 hqdn3d->vsub = av_pix_fmt_descriptors[inlink->format].log2_chroma_h;
283 hqdn3d->Line = av_malloc(inlink->w * sizeof(*hqdn3d->Line));
284 if (!hqdn3d->Line)
294 HQDN3DContext *hqdn3d = inlink->dst->priv;
298 int cw = inpic->video->w >> hqdn3d->hsub;
299 int ch = inpic->video->h >> hqdn3d->vsub;
302 hqdn3d->Line, &hqdn3d->Frame[0], inpic->video->w, inpic->video->h,
304 hqdn3d->Coefs[0],
305 hqdn3d->Coefs[0],
306 hqdn3d->Coefs[1]);
308 hqdn3d->Line, &hqdn3d->Frame[1], cw, ch,
310 hqdn3d->Coefs[2],
311 hqdn3d->Coefs[2],
312 hqdn3d->Coefs[3]);
314 hqdn3d->Line, &hqdn3d->Frame[2], cw, ch,
316 hqdn3d->Coefs[2],
317 hqdn3d->Coefs[2],
318 hqdn3d->Coefs[3]);
327 .name = "hqdn3d",