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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
1,418 次查看
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 项奖励
回复
1 解答
949 次查看
DraganOstojic
Contributor V

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

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

在原帖中查看解决方案

0 项奖励
回复
1 回复
950 次查看
DraganOstojic
Contributor V

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

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

0 项奖励
回复