st/gui: Better conversion sinks

This commit is contained in:
Jakob Bornecrantz 2020-01-17 22:02:21 +00:00 committed by Jakob Bornecrantz
parent 8aee77401b
commit ca06c16eeb

View file

@ -237,16 +237,15 @@ scene_render_select(struct gui_scene *scene, struct gui_program *p)
p->texs[p->num_texs++] =
gui_ogl_sink_create("Calibration", cs->xfctx, &rgb);
u_sink_create_format_converter(cs->xfctx, XRT_FORMAT_R8G8B8, rgb, &rgb);
u_sink_create_to_r8g8b8_or_l8(cs->xfctx, rgb, &rgb);
u_sink_queue_create(cs->xfctx, rgb, &rgb);
p->texs[p->num_texs++] = gui_ogl_sink_create("Raw", cs->xfctx, &raw);
u_sink_create_format_converter(cs->xfctx, XRT_FORMAT_R8G8B8, raw, &raw);
u_sink_create_to_r8g8b8_or_l8(cs->xfctx, raw, &raw);
u_sink_queue_create(cs->xfctx, raw, &raw);
t_calibration_stereo_create(cs->xfctx, &cs->params, &cs->status, rgb,
&cali);
u_sink_create_to_yuv_or_yuyv(cs->xfctx, cali, &cali);
u_sink_queue_create(cs->xfctx, cali, &cali);
u_sink_split_create(cs->xfctx, raw, cali, &cali);