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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,140 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
671 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
672 Views
DraganOstojic
Contributor V

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

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

0 Kudos