AnsweredAssumed Answered

How to clip data during Memory Port to IPU on iMX6?

Question asked by Pat Sandt on Jun 15, 2016
Latest reply on Oct 12, 2016 by Pat Sandt

I will be using Memory Port to IPU to HDMI. My data is oversized and will need a custom clip each time I write it to the IPU. I was expecting to use a custom 2-dimensional DMA (delta x = 1 pixel, delta y = next row in memory). For example, if my source buffer is 5000 rows and 6000 columns, delta x would be the column increment, but I would need to use some subset (1280 pixels) of the 5000 rows and I might be starting 400 pixels into the row, running for 1280, and then needing the next row to start 400 pixels into the next row.

 

Chapter 37 of the applications processor reference manual says:

Addressing modes include:

• Sequential access (to a contiguous memory buffer) - for generic data.

• Raster-scan within a two-dimensional window of a video/display buffer - for

both pixel and generic data.

• Raster-scan of two-dimensional blocks within a two-dimensional window (for

rotation of pixel data)

 

The delta y will skip large chunks of the memory so sequential access is out unless I can DMA to another location first.

Do either of the others (which I do not understand yet) support the concept of row subsets?

Outcomes