Skip to content
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

Multithreading #2

Open
Almatsum opened this issue Jun 28, 2022 · 3 comments
Open

Multithreading #2

Almatsum opened this issue Jun 28, 2022 · 3 comments

Comments

@Almatsum
Copy link

Hello sir,
Thanks for this great work. I am wondering if it is possible to enable multithreading for an example split the raw image into 4 blocks and decode each block using seprate thread, at the end recombine all the blocks together so in theory we gain 4x speed.

As the main brain of thia project is libraw which is based on dcraw i found this nice guy who did some optimization to it to gain more speed https://github.com/ttyridal/dcraw-fast
I will be happy if you could Implement it in your project.

Waiting to your reply.

Thanks in advance.

Almatsum.

@dburckh
Copy link
Owner

dburckh commented Jun 28, 2022

I think you grossly overestimated my knowledge of the inner workings of libraw. :) In a nutshell, I just wrapped libraw and got it to compile for Android. The Android wrapper is is so light compared to what libraw does, there isn't a lot of point in multithreading on my end.

I found this quote from the libraw author on multithreading, but it's quite old now.

https://www.libraw.org/node/1349

Sorry I can't be of more help,

Dustin

@Almatsum
Copy link
Author

Hello sir,

Thank you for providing us this awesome wrapper. Just I want to ask about what is the use of decodeTiles function?

@dburckh
Copy link
Owner

dburckh commented Oct 28, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants