Hi Igor,
Thanks for your quick reply!
As you suggested, I configured the Capture Mode = 4 following way :
// Set capture stream parameters
struct v4l2_streamparm streamParams;
streamParams.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
streamParams.parm.capture.capturemode = 4;
streamParams.parm.capture.timeperframe.denominator = 30;
streamParams.parm.capture.timeperframe.numerator = 1;
if (0 > ioctl(deviceFd, VIDIOC_S_PARM, &streamParams)) {
printf("ERROR: Failed to set video stream parameters\n");
return -1;
}
But still the captured raw data is not correct. I have attached the snapshot of the same. Also, I didn't find any sample code of video capture on the links you have mentioned.
How the IPU IC Submodule activated, automatically? I haven't done that.
Thanks,
Dhaval
