Hi Everyone,
I have a device which generate video and audio data.
We have implemented a custom data source for Exoplayer to read the AV data.
Now, we are reading the data from kernel buffer to fast message queue.
Then, we are copying it from FMQ to JNI (java buffer).
This inturn is read in to player's buffer, when the player performs a read.
But, we want to improve it's performance.
We have implemented a mmap interface for the driver from which we get direct access(virtual address) to kernel buffer.
Is there a way to access/copy from mmaped kernel buffer directly to JNI buffer without using FMQ.
I couldn't find any such interface in HIDL implementation site.
Thanks & Regards,
Sooraj
I have a device which generate video and audio data.
We have implemented a custom data source for Exoplayer to read the AV data.
Now, we are reading the data from kernel buffer to fast message queue.
Then, we are copying it from FMQ to JNI (java buffer).
This inturn is read in to player's buffer, when the player performs a read.
But, we want to improve it's performance.
We have implemented a mmap interface for the driver from which we get direct access(virtual address) to kernel buffer.
Is there a way to access/copy from mmaped kernel buffer directly to JNI buffer without using FMQ.
I couldn't find any such interface in HIDL implementation site.
Thanks & Regards,
Sooraj