10 second delay from camera capture

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

10 second delay from camera capture

跳至解决方案
1,445 次查看
emilmyhrman
Contributor IV

Hello,

We're using Android JB 4.2.2 release on our custom imx6dl board with the OV5640 camera.

When running a barcode scanning application (eg. zxing/zxing · GitHub but have tried others too) the time it takes for the application to process the first frame is about 10 seconds. The view finder displays the camera capture in real time (i.e no significant delay) but it seems to be some huge buffering before the application receives the first frame.

My question is where could this delay be introduced? Do you have any suggestions on where to start to look?

regards,

Emil

标签 (4)
标记 (3)
0 项奖励
回复
1 解答
1,111 次查看
emilmyhrman
Contributor IV

The problem was introduced when I had applied patch to gpu-viv (JB4.2.2_1.1-upgrade-gpu-p12), and was resolved by also applying the following patches from your JB 4.3 release.

[PATCH 449/475] ENGR00258960 support asynchronous feature in g2d

[PATCH 450/475] ENGR00214328 add missing g2d_finish function.

[PATCH 448/475] ENGR00215174 fix stop preview may cause process

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,111 次查看
YixingKong
Senior Contributor IV

Emil

We have not got your response yet and will close the discussion in 3 days. If you still need help, please feel free to reply with an update to this discussion.

Thanks,

Yixing

0 项奖励
回复
1,111 次查看
YixingKong
Senior Contributor IV

Emil

We are sorry for getting back to you so late. Are you still stuck with the issue? If you have somehow resolved the issue, can we close the discussion? If you still need help, please feel free to reply with an update to this discussion.

Thanks,

Yixing

0 项奖励
回复
1,112 次查看
emilmyhrman
Contributor IV

The problem was introduced when I had applied patch to gpu-viv (JB4.2.2_1.1-upgrade-gpu-p12), and was resolved by also applying the following patches from your JB 4.3 release.

[PATCH 449/475] ENGR00258960 support asynchronous feature in g2d

[PATCH 450/475] ENGR00214328 add missing g2d_finish function.

[PATCH 448/475] ENGR00215174 fix stop preview may cause process

0 项奖励
回复