Handbook
Glossary
store-rgb ( index rgb b g r -- index )
Vocabulary
benchmark
.
yuv-to-rgb
Inputs
index
an
object
rgb
an
object
b
an
object
g
an
object
r
an
object
Outputs
index
an
object
Definition
USING:
kernel
math
sequences.private
;
IN:
benchmark.yuv-to-rgb
:
store-rgb
( index rgb b g r -- index )
[
pick
0
+
pick
set-nth-unsafe
]
[
pick
1
+
pick
set-nth-unsafe
]
[
pick
2
+
pick
set-nth-unsafe
]
tri*
drop
;
inline