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.

Vertical frame offset

Other Parts Discussed in Thread: TVP7002

Hello everyone,

We are using DM368 with TVP7002 (720p60,1080i30), and it runs OK except the problem of vertical frame offset (black stripe at the top of the frame).
We tried to work in 2 modes - embedded sync and separate VSYNC/HSYNC.

1. In both modes changing the following ISIF registers of the VPFE didn't make any change at all:
SLV0 - Start line vertical - field 0
SLV1 - Start line vertical - field 1
What can be the reason that the registers has no effect?

2. In the embedded sync mode we managed to shift the frame vertically (not enough) by using the
VBLK (Field 0 Start Line Offset) register of the TVP7002.
Can we configure the TVP7002 to shift the frame vertically in separate VSYNC/HSYNC mode?

Thanks,
Yaniv

  • Here's a link to a thread I started on the same general subject.  Near the bottom David Soto gave me some info I haven't had a chance to verify yet as I got diverted to something else temporarily.  But it may be what you need to know.  Let us know if it helps.

    http://e2e.ti.com/support/embedded/linux/f/354/p/183831/689360.aspx#689360

    JohnA

  • Hi John,

    David Soto explains how to fix the horizontal offset (AVID pixel start register), but we have issues with the vertical offset (frame is shifted down).

    Yaniv

  • We managed to fix the frame offset and to capture the whole frame by using cropping (VIDIOC_S_CROP IOCTL),
    but it also reduced significantly the frame rate (for 1080i), so it didn't solve our problem.

    I have few more questions:
    1. Does  VIDIOC_S_CROP use the IPIPE block for the cropping?
    2. Does the frame rate drop is a known limitation, or is it something with our configurations?
    3. Do you have any ideas for fixing this vertical offset without using this cropping?

    Thanks,
    Yaniv

  • Hi Yaniv,

    Did you solve the vertical frame offset problem?
    We are using DM368 and having exactly the same problem.
    If you have solved the problem, please let me know how to solve?

    best regards,
    g.f.