Searched refs:sws_ctx (Results 1 – 3 of 3) sorted by relevance
/third_party/ffmpeg/libavfilter/ |
D | lswsutils.c | 29 struct SwsContext *sws_ctx = sws_getContext(src_w, src_h, src_pix_fmt, in ff_scale_image() local 32 if (!sws_ctx) { in ff_scale_image() 45 …sws_scale(sws_ctx, (const uint8_t * const*)src_data, src_linesize, 0, src_h, dst_data, dst_linesiz… in ff_scale_image() 48 sws_freeContext(sws_ctx); in ff_scale_image()
|
/third_party/ffmpeg/doc/examples/ |
D | scaling_video.c | 62 struct SwsContext *sws_ctx; in main() local 90 sws_ctx = sws_getContext(src_w, src_h, src_pix_fmt, in main() 93 if (!sws_ctx) { in main() 123 sws_scale(sws_ctx, (const uint8_t * const*)src_data, in main() 138 sws_freeContext(sws_ctx); in main()
|
D | muxing.c | 66 struct SwsContext *sws_ctx; member 490 if (!ost->sws_ctx) { in get_video_frame() 491 ost->sws_ctx = sws_getContext(c->width, c->height, in get_video_frame() 496 if (!ost->sws_ctx) { in get_video_frame() 503 sws_scale(ost->sws_ctx, (const uint8_t * const *) ost->tmp_frame->data, in get_video_frame() 530 sws_freeContext(ost->sws_ctx); in close_stream()
|