10 second delay from camera capture

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

10 second delay from camera capture

Jump to solution
1,446 Views
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

Labels (4)
Tags (3)
0 Kudos
Reply
1 Solution
1,112 Views
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

View solution in original post

0 Kudos
Reply
3 Replies
1,112 Views
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 Kudos
Reply
1,112 Views
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 Kudos
Reply
1,113 Views
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 Kudos
Reply