I can't find the word "pitch" in the VPIF User's Guide, but I do find the word "pitch" in vpif.c, vpif_display.c, and vpif_capture.c.
Can the VPIF handle a pitch larger than display image width? If so, how do I set this, or where do I modify the DMAI code?
Specifically, I have an incoming image that's 720x480 (NTSC coming from TVP5147). I am sending out an image that's 640x480 (VGA from THS8200). Tentatively, I've done a memcpy loop to copy the input buffer to the output buffer, one line at a time, with each buffer having a "pitch" equaling its line width. Instead, I'd like to use the same buffer, or at least avoid the line-by-line copy, by setting the output pitch to 720 in spite of the fact that the image is 640x480. In essence, I just want to use a 640x480 output image that is a left justified sub-image of the original 720x580.
I found posting "how can DM6467 display a picture whose resolution less than D1" http://e2e.ti.com/support/embedded/linux/f/354/t/104397.aspx#369783 where Brijesh Jadav80 imlied it could be done (search for "pitch" on that post).
I was hoping I might get some advice before I go digging into the source code again! I'm especially concerned because the VPIF User's Guide doesn't seem to mention pitch.
Thanks,
Helmut