New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[irteus/irtglc.c] add irtglc.c (transpose-image-rows in C code) #388
Conversation
please bench mark with eusilsp code and c code ◉ Kei Okada On Thu, Jul 14, 2016 at 7:43 PM, Furushchev notifications@github.com
|
@k-okada about 0.33 sec to 0.05 sec in PR2 c1 computer. |
If this is copied from somewhere please add link |
benchmarked again (on Macbook Pro Retina 10,1) ===== 10 transpose in eus (compiled) ======
;; time -> 1.73079[s]
===== 10 transpose in eus (not compiled) ======
;; time -> 25.5784[s]
===== 10 transpose in C ======
;; time -> 0.000631[s] code: https://gist.github.com/furushchev/3832ffbb13503f5f7372b39e42a07e2f
|
98dd253
to
161a507
Compare
mostly from https://github.com/jsk-ros-pkg/euslib/blob/346179108d5930e51e229388772e0c0e297efd47/jsk/jskc.c#L49 |
5a64618
to
cb8a7dd
Compare
… function for transpose image - [irteus/irtgl.l] add interface for transpose image function in irtglc.c; replace lisp code for transpose image with C code. - [irteus/test/rendering.l] add test for transpose - [irteus/test/pr2.png] add test image
@k-okada Please review implementation and test codes, then merge if there is no problem. |
LGTM |
@k-okada Thank you for reviewing and merging! |
… function for transpose image (euslisp#388) - [irteus/irtgl.l] add interface for transpose image function in irtglc.c; replace lisp code for transpose image with C code. - [irteus/test/rendering.l] add test for transpose - [irteus/test/pr2.png] add test image
support transpose image rows in native code.
irteus/irtglc.c
file and addCTRANSPOSE_IMAGE_ROWS
.gl::transpose-image-rows
for interface in euslisp.