Lines Matching defs:sws
76 struct SwsContext *sws; ///< software scaler context
88 unsigned int flags; ///sws flags
167 sws_freeContext(scale->sws);
170 scale->sws = NULL;
339 if (scale->sws)
340 sws_freeContext(scale->sws);
345 scale->isws[0] = scale->isws[1] = scale->sws = NULL;
350 struct SwsContext **swscs[3] = {&scale->sws, &scale->isws[0], &scale->isws[1]};
409 static int scale_slice(AVFilterLink *link, AVFrame *out_buf, AVFrame *cur_pic, struct SwsContext *sws, int y, int h, int mul, int field)
429 return sws_scale(sws, in, in_stride, y/mul, h,
459 if (!scale->sws)
488 sws_getColorspaceDetails(scale->sws, (int **)&inv_table, &in_full,
504 sws_setColorspaceDetails(scale->sws, inv_table, in_full,
526 scale_slice(link, out, in, scale->sws, 0, link->h, 1, 0);