Menu

#985 Towards a low latency "zero shutter lag"

1.0
open
nobody
2022-07-15
2022-07-15
No

I was just researching how to achive an absolute minimal latency of the shutter to eliminate nearly any shutter lag (in the sense of this video demonstration https://www.youtube.com/watch?v=vOvQCPLkPt4 ). And I thought I will share my top finding if anyone is interested to implement something similar in OpenCamera at some point.

I found that Android has huge issues with that due to its serially-synchronous blocking API.

Thanks to that I found https://meteor.ame.asu.edu/projects/banner/ and the author's article https://hujinhan.medium.com/implementing-ashmem-to-share-data-between-processes-4f707e0bfc7b how to use shared memory to avoid copies of data when pushing them through the Android API interfaces.

Feel free to take a look.

Discussion

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB