Home
last modified time | relevance | path

Searched refs:sws_ctx (Results 1 - 4 of 4) sorted by relevance

/third_party/ffmpeg/libavfilter/dnn/
H A Ddnn_io_proc.c29 struct SwsContext *sws_ctx; in ff_proc_from_dnn_to_frame() local
42 sws_ctx = sws_getContext(frame->width * 3, in ff_proc_from_dnn_to_frame()
49 if (!sws_ctx) { in ff_proc_from_dnn_to_frame()
56 sws_scale(sws_ctx, (const uint8_t *[4]){(const uint8_t *)output->data, 0, 0, 0}, in ff_proc_from_dnn_to_frame()
59 sws_freeContext(sws_ctx); in ff_proc_from_dnn_to_frame()
73 sws_ctx = sws_getContext(frame->width, in ff_proc_from_dnn_to_frame()
80 if (!sws_ctx) { in ff_proc_from_dnn_to_frame()
87 sws_scale(sws_ctx, (const uint8_t *[4]){(const uint8_t *)output->data, 0, 0, 0}, in ff_proc_from_dnn_to_frame()
90 sws_freeContext(sws_ctx); in ff_proc_from_dnn_to_frame()
102 struct SwsContext *sws_ctx; in ff_proc_from_frame_to_dnn() local
198 struct SwsContext *sws_ctx; ff_frame_to_dnn_classify() local
256 struct SwsContext *sws_ctx; ff_frame_to_dnn_detect() local
[all...]
/third_party/ffmpeg/libavfilter/
H A Dlswsutils.c29 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_linesize); in ff_scale_image()
48 sws_freeContext(sws_ctx); in ff_scale_image()
/third_party/ffmpeg/doc/examples/
H A Dscaling_video.c62 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()
H A Dmuxing.c69 struct SwsContext *sws_ctx; member
492 if (!ost->sws_ctx) { in get_video_frame()
493 ost->sws_ctx = sws_getContext(c->width, c->height, in get_video_frame()
498 if (!ost->sws_ctx) { in get_video_frame()
505 sws_scale(ost->sws_ctx, (const uint8_t * const *) ost->tmp_frame->data, in get_video_frame()
532 sws_freeContext(ost->sws_ctx); in close_stream()

Completed in 3 milliseconds