How to remove from capture queue, process and submit to display queue (Android)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove from capture queue, process and submit to display queue (Android)

Jump to solution
566 Views
DraganOstojic
Contributor V

My system is iMX6 quad core. I run Android r13.4. My input is gray scale camera Aptina mt9p031. At this point I'm capturing and previewing the video. My goal is to insert some processing between capture and display. In principle I understand that I need to dequeue captured buffer and after doing some processing en-queue it to the display. I know how to dequeueu after capture (the code is in CameraHAL.cpp) but I haven't found example code how to enqueue to display. There is example code which explains how to use GPU for post-processing but nowhere I could find this last step how to submit completed buffer to display (at Android HAL level).

If somebody could send me their working code example or point me to the right direction I will appreciate greatly.

0 Kudos
1 Solution
97 Views
DraganOstojic
Contributor V

I was able to get this working. Details are in the following thread:

https://community.freescale.com/docs/DOC-93612

View solution in original post

0 Kudos
1 Reply
98 Views
DraganOstojic
Contributor V

I was able to get this working. Details are in the following thread:

https://community.freescale.com/docs/DOC-93612

View solution in original post

0 Kudos