Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
blender
monado
Commits
ca06c16e
Commit
ca06c16e
authored
Jan 17, 2020
by
Jakob Bornecrantz
Committed by
Jakob Bornecrantz
Jan 26, 2020
Browse files
st/gui: Better conversion sinks
parent
8aee7740
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/xrt/state_trackers/gui/gui_scene_calibrate.c
View file @
ca06c16e
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment