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.

CVBS input - v4l capture driver resolution support

Other Parts Discussed in Thread: TVP5146

Hi,

We wanted to capture CVBS input at CIF/QCIF resolution for some reasons.
One option is we can capture at 720x576 resolution and then resize it to target (CIF/QCIF) resolution.
We want capturing at a resolution which is configurable and display at same resolution (similar to saMmapLoopback implementation)
saMmapLoopback example fails if capture resolution is set other than 720x576.
It appears like v4l capture driver only supports 720x576 resolution. Where do we need modifications ? Please help.
We are using dvsdk_4_00_00_17 / PSP_03.00.01.06 (kernel 2.6.32) on AM3530/AM37 board. 

Regards,

Avijit

  • Hi Avijit,

    Yes, you are right, the PSP03.00.01.06 release only support NTSC (720x480) and PAL (720x576) resolution, restricted from TVP5146 Video decoder driver. Currently we are not supporting ISP resizer, so it will not be possible to configure the different resolution on capture side. There are other options available through which you can achieve similar functionality,

     

     - Use Mem-To-Mem resizer driver, which will scale the captured image to your expected resolution.

     - Use Display size scalar, Please refer to the sample application saScalingDisplay.c available with PSP release package.

     - Final option would be to add on-the-fly resizer support to ISP capture driver.

     

    Thanks,

    Vaibhav

  • Thanks Vaibhav.

    We modified saMmapDisplay as per saScalingDisplay to support capturing @720x576/720x480 resolution and then displaying at desired size.

    Regards,

    Avijit