How do I get 1280x720 raw data using mxc_v4l2_overlay.c?

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

How do I get 1280x720 raw data using mxc_v4l2_overlay.c?

863 Views
ohseohwan
Contributor I

Testing using i.mx6 sabere board
J9 - DVP Camera Connector is connected to the camera.
(The connected camera is not the ov5642 but the developed camera)

--------------------------------------------------------------------------------------------

I'm trying to get 1280x720 raw data from an i.mx6 sabere.

./mxc_v4l2_capture.out -iw 1280 -ih 720 -ow 1280 -oh 720 -c 1 test.yuv
If you try to test with an error occurs.
The limit of ipu is 1024x1024.

./mxc_v4l2_overlay.out -iw 1280 -ih 720 -ow 1280 -ih 720
When you run the overlay example, a 1280x720 image is displayed.

What is the difference between capture.out and overlay.out?
If you use overlay.out, you can get 1280x720 data.
If you look at the code mxc_v4l2_overlay.c, you can not see the contents of the data buffer.

How do I get 1280x720 raw data using mxc_v4l2_overlay.c?

Labels (2)
0 Kudos
2 Replies

610 Views
joanxie
NXP TechSupport
NXP TechSupport

"./mxc_v4l2_capture.out" means capture data from camera to file, "./mxc_v4l2_overlay.out" means Direct preview the camera to SDC background

"How do I get 1280x720 raw data using mxc_v4l2_overlay.c?"

> is it your typo?

0 Kudos

610 Views
ohseohwan
Contributor I

Thanks for the answer.

I understand the difference between mxc_v4l2_capture.out and mxc_v4l2_overlay.out.

I'm trying to get 1280x720 raw data(yuv format) from an i.mx6 sabere.

Can I get 1280x720 raw data(yuv format) using mxc_v4l2_capture.out?
If not, how do you get 1280x720 raw data(yuv format)?

I asked the following questions before.

https://community.nxp.com/thread/466442 

0 Kudos