Searched refs:sws_uv_scale (Results 1 – 2 of 2) sorted by relevance
/third_party/ffmpeg/libavfilter/ |
D | vf_dnn_processing.c | 41 struct SwsContext *sws_uv_scale; member 172 ctx->sws_uv_scale = sws_getContext(inlink->w >> 1, inlink->h >> 1, AV_PIX_FMT_YA8, in prepare_uv_scale() 182 ctx->sws_uv_scale = sws_getContext(sws_src_w, sws_src_h, AV_PIX_FMT_GRAY8, in prepare_uv_scale() 217 if (!ctx->sws_uv_scale) { in copy_uv_planes() 231 sws_scale(ctx->sws_uv_scale, (const uint8_t **)(in->data + 1), in->linesize + 1, in copy_uv_planes() 234 sws_scale(ctx->sws_uv_scale, (const uint8_t **)(in->data + 1), in->linesize + 1, in copy_uv_planes() 236 sws_scale(ctx->sws_uv_scale, (const uint8_t **)(in->data + 2), in->linesize + 2, in copy_uv_planes() 343 sws_freeContext(context->sws_uv_scale); in uninit()
|
D | vf_sr.c | 41 struct SwsContext *sws_uv_scale; member 100 ctx->sws_uv_scale = sws_getContext(sws_src_w, sws_src_h, AV_PIX_FMT_GRAY8, in config_output() 156 if (ctx->sws_uv_scale) { in filter_frame() 157 sws_scale(ctx->sws_uv_scale, (const uint8_t **)(in->data + 1), in->linesize + 1, in filter_frame() 159 sws_scale(ctx->sws_uv_scale, (const uint8_t **)(in->data + 2), in->linesize + 2, in filter_frame() 172 sws_freeContext(sr_context->sws_uv_scale); in uninit()
|