Hi Li Qiang,
Thanks for the reply. I tried to add the interlacing set up in mxc_v4l2_overlay.c as below, but it doesn't work
fmt.type = V4L2_BUF_TYPE_VIDEO_OVERLAY;
fmt.fmt.win.w.top= g_display_top ;
fmt.fmt.win.w.left= g_display_left;
fmt.fmt.win.w.width=g_display_width;
fmt.fmt.win.w.height=g_display_height;
fmt.fmt.pix.field = V4L2_FIELD_INTERLACED_BT;
I tried the patches you have uploaded with android build and the Android camera app is able to show the live camera feed properly. So, can you please calify my following queries?
1. What is the difference between android camera app doing preview on overlay plane vs mxc_v4l2_overlay.out? Does android framework does software deinterlacing?
2. Is there any technical limitation to do deinterlacing when doing direct preview and output to SDC foreground overlay plane which mxc_v4l2_overlay.out does?
thanks,
Dilip