mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
st/gui: Better conversion sinks
This commit is contained in:
parent
8aee77401b
commit
ca06c16eeb
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue