I'm using iMX6Q custom board(base on mx6q_sabresd)
8mega pixel(3264x2448) MIPI CSI-2 camera input
camera module output is 3264x2446@11fps, UYVY
I can get only below 1024 x 1024 size image via V4L2 interface.
(i couldn't get 1920x1080 or 3264x2448 pixel size image)
i don't know what is wrong...
I'm using 3.0.15 kernel..
help me... please...
Original Attachment has been moved to: v4l_sample_app.zip
解決済! 解決策の投稿を見る。
this problem is solved
it was problem of IC(Image Converter) limitation.
i can get more than 1024 x 1024 pixel image without IC
thanks for your concern
Hi,
hyunho shin
What changes does it requires to do this?
Can you provide the patch?
Hi john,
you can disable IC(Image Converter) by below code
struct v4l2_control ctrl;
ctrl.id = V4L2_CID_MXC_SWITCH_CAM;
ctrl.value = 1;
ioctl(fd, VIDIOC_S_CTRL, &ctrl);
fd is device number of v4l2 camera device node
(also "ctrl.value = 0" is enable IC)
good luck!
Thinks!
This's I need.
could you show the command you are using to capture the data?
I attached v4l2 sample application("v4l_sample_app.zip")
this application work fine with UVC camera
you see only "capture_raw_frames.c" in zip file
command line is : $ ./capture_test -c 5 -w 3264 -e 2400 -o
(option description -c [capture frame number] -w [output image width] -e [output image height] -o(output to yuv file)
-m i is defining the sensor resolution did you try to use it ?
i try to -m option but it's same result.
those are the options for -m which one did you try.
1080P_1920_1080 -iw 1920 -ih 1080 -m 5
QCIF_176_144 -iw 176 -ih144 -m 7
XGA_1024_768 -iw 1024 -ih 768 -m 8
did you check if the CSI registers change ?
CSI_SENS_FRM_SIZE_ suppose to change.
this problem is solved
it was problem of IC(Image Converter) limitation.
i can get more than 1024 x 1024 pixel image without IC
thanks for your concern
LeonardoSandovalGonzalez / hyunhoshin can you answer the question from Yossi?