Searched refs:sws_contexts (Results 1 – 1 of 1) sorted by relevance
/third_party/ffmpeg/libavfilter/ |
D | vf_sr.c | 47 struct SwsContext *sws_contexts[3]; member 91 sr_context->sws_contexts[0] = NULL; in init() 92 sr_context->sws_contexts[1] = NULL; in init() 93 sr_context->sws_contexts[2] = NULL; in init() 156 …sr_context->sws_contexts[1] = sws_getContext(sr_context->input.width, sr_context->input.height, AV… in config_props() 160 …sr_context->sws_contexts[2] = sws_getContext(sr_context->output.width, sr_context->output.height, … in config_props() 164 if (!sr_context->sws_contexts[1] || !sr_context->sws_contexts[2]){ in config_props() 169 sr_context->sws_contexts[0] = sws_getContext(inlink->w, inlink->h, inlink->format, in config_props() 172 if (!sr_context->sws_contexts[0]){ in config_props() 185 sr_context->sws_contexts[0] = sws_getContext(sws_src_w, sws_src_h, AV_PIX_FMT_GRAY8, in config_props() [all …]
|