Searched refs:img_convert_ctx (Results 1 – 1 of 1) sorted by relevance
288 struct SwsContext *img_convert_ctx; member908 static int upload_texture(SDL_Texture **tex, AVFrame *frame, struct SwsContext **img_convert_ctx) { in upload_texture() argument918 *img_convert_ctx = sws_getCachedContext(*img_convert_ctx, in upload_texture()921 if (*img_convert_ctx != NULL) { in upload_texture()925 … sws_scale(*img_convert_ctx, (const uint8_t * const *)frame->data, frame->linesize, in upload_texture()1030 if (upload_texture(&is->vid_texture, vp->frame, &is->img_convert_ctx) < 0) in video_image_display()1287 sws_freeContext(is->img_convert_ctx); in stream_close()