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.

capture resolution in RDK

Guru 20755 points
Other Parts Discussed in Thread: TVP5158, TVP7002Hello, In RDK ducati code, there capture task code first check if it works with TVP5158 driver. if not - it initialize resolution variable to HD resolution. I would like to ask: 1. What is the capture device (such as tvp5158) in use in this case ? 2. What is the purpose of maxWidth & inHeight. Can I change the values of maxWidth & inHeight in order to capture a padded frame and crop it for relevant frame bytes ? Thank you, Ran
  • Hi,

    Capture device can be anything like TVP7002. MaxHeight and MaxWidth is to restrict the number of pixels and lines dumped to memroy in case decoder gives extra lines and pixels. Typically extra lines and pixels are send in case of conect disconnect where sync signals may be lost. Yes, you can do to get extra pixels and crop it in scalar.

    Regards,

    Hardik Shah

  • Hi Hardik, Thanks for the reply. In order to support new resolutions, Is a good approach will be to add in ducati capture code "new standards" for the required resolutions ? If I understand correct, I simply need to capture the relevant bits, and send them on to encoder. When the resolution is not multiple of 16, Should I pad the frame, or the encoder will be able to handle it ? Regards, Ran