DSPRelated.com
Forums

Difference between !D DMA and 2D DMA

Started by malli_1729 September 9, 2007
Hi!

Iam having a little doubt in DMA.........
presently iam working with BF533 ez-kitlite and video encoder

Actually in the video encoder example program they are using sdram to
store frames 1,2 in the sequencial locations starting from
0x0000000.and after wards they have used 2D DMA to transfer these
frames to ppi from there to encoder...

Actually each line has 1716 bytes and 525 lines in each frame.....
so, they used x_count as 1716 and y_count 525 modify as 1 for both x
and y
and they have used autobuffer mode..........

my doubt is: Actually in memory the bytes are not arranged in the 2d
pattern they will be in sequential locations only..............

here we can use 1D DMA with x_count as 1716*525 and x_modify as 1

what is the performance difference and what is the reason for
performance difference.............in both cases

Thank u in Adwance .........