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

AHardwarebuffer and rectangle comparing on GPU #3

Open
bk138 opened this issue Nov 26, 2020 · 4 comments
Open

AHardwarebuffer and rectangle comparing on GPU #3

bk138 opened this issue Nov 26, 2020 · 4 comments
Labels
feature-request New feature or request

Comments

@bk138
Copy link
Owner

bk138 commented Nov 26, 2020

use https://developer.android.com/ndk/reference/group/a-hardware-buffer to maybe speed things up.

@wawahuy
Copy link

wawahuy commented Dec 14, 2023

Do you still want to develop this feature? I think I can try it.

@bk138
Copy link
Owner Author

bk138 commented Dec 14, 2023

Yeah sure, otherwise it would be closed. Let me know if you need any pointers to documentation. It only makes sense together with #2 I think and is probably at least a week of work.

@wawahuy
Copy link

wawahuy commented Dec 15, 2023

I have read the 'a-hardware-buffer', but I am unsure how to compare two images. Perhaps I need to incorporate OpenCL. What are your thoughts on this?

@bk138
Copy link
Owner Author

bk138 commented Dec 15, 2023

It's maybe easier to go a bit more high-level and do the comparing in managed code, i.e. here https://github.com/bk138/droidVNC-NG/blob/master/app/src/main/java/net/christianbeier/droidvnc_ng/MainService.java#L622 - this probably involves converting the Image's to Bitmaps and then doing comparisons. But it's rather really #2 then so let's continue there!

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

No branches or pull requests

2 participants