hi kirill,
Using the Gstreamer application we capturing only the video that is no probem it's absolutely fine,
My problem is in Image capturing, we are using a Generic capture C application for capturing the images of various resolution, for that we pass the v4l2 format parameters such as width, height, buf type, image format whether it is YUYV or RGB etc from the application.
when we execute the application it communicates with mxc_v4l2_capture.c file and set the parameters, the particular parameters will be set in the driver and sensor starts to capture the appropriate resolution image.
So, In the ov5640.c under the Register structure 640_480 we replace the RAW settings with the JPEG settings
of 720p or 1080p resolution image and we make a seperate uImage for two resolution, we load this in the board and execute the corresponding User application it ll capture the images of 720p or 1080p with capturemode=0 and image is fine
Now, i need to capture all the resolution images in single uImage file.
NOTE:
When i gothrough the freescale mmcodecs source, They are passing the capturemode and v4l2_format in the mfw_v4l2_gst_src file for capturing the video, if we pass the capturemode , width and height in the gst command line it writes the apropriate register settings in the sensor and captures the video
For me, if i pass the capturemode in the user application it takes the picture in raw mode only, when i enable the jpeg settings in the register the image is not coming, but it takes corresponding register settings under the structure in ov5640.c
- hi kirill, if you cant able to understand the problem in text, you can contact me at this skype id shanmugam.891
Sorry, for confusing you and Thanks for your reply,
Thanks,
shan