This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

VPFE Capture Driver/Subdevice Driver Vertical Start

Hi,

I am having an issue similar to this post (http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/100/p/166433/761572.aspx) on the dm368.  The decoder chip that I am using (gs2971a) outputs 30 vertical blanking lines and 720 active vertical lines.  Without modifying the vpfe_capture driver (as described below), I get 30 black lines at the top of my image.  I can modify the imp_win.vst variable to 30 before calling set_input_win on the ipipe driver and the black lines disappear and I get the full 720 active pixels.

I have written a sub-device driver for the gs2971a chip and ideally I would like the gs2971a sub-device driver to notify the vpfe_capture bridge driver to skip the first 30 lines but I can't find a mechanism to do this.  Can anyone comment on a way for the v4l2 subdevice driver to pass this data up to the bridge driver?

I am using the 2.6.32 kernel distributed with dvsdk 4.

Thanks,

Randy Scheifele

  • hi,

     

    i guess this is the 720p resolution that you are capturing. As such, there is no interface to specify the number of lines to skip, but user can specify that the input standard is 720p using S_DV_PRESET ioctl and internally sub-dev or master driver i.e vport driver can skip 30 lines from the input.. You will have to implement this api in the master as well as in the sub-device.

     

    Regards,

    Brijesh Jadav

  • Hi Randy

    In what mode 10-bit or 20-bit data read out from GS2971A?
    Could you share GS2971A linux driver? I would be very grateful.

    Michal.