UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Scholar beandigital
Scholar
7,530 Views
Registered: ‎04-27-2010

vdma read part of an image

Jump to solution

i have an image stored in DDR3 that is 256 x 256 in RGB 8-bit format. I want to read 64x64 blocks from the image starting at the top and working along until I get to the bottom (16 blocks in total). Is it possible to do this with the vdma IP? If so what settings would I need to use in the registers?

 

Thanks

0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
13,824 Views
Registered: ‎08-02-2011

Re: vdma read part of an image

Jump to solution
Hello,

You can do it in one of a couple ways that I can think of:
1) Configure the VDMA for 16 frames and set the start addresses to intermediate block location in the original frame.
2) Update the VDMA start address every block
www.xilinx.com
3 Replies
Xilinx Employee
Xilinx Employee
13,825 Views
Registered: ‎08-02-2011

Re: vdma read part of an image

Jump to solution
Hello,

You can do it in one of a couple ways that I can think of:
1) Configure the VDMA for 16 frames and set the start addresses to intermediate block location in the original frame.
2) Update the VDMA start address every block
www.xilinx.com
Scholar beandigital
Scholar
7,513 Views
Registered: ‎04-27-2010

Re: vdma read part of an image

Jump to solution
Thanks for the help. Can I just clarify the parameters I would use.
The horiz size would be 64 x 3 bytes.
The stride would be 256 x 3 bytes.
The vert size would be 64 lines.
The address would be the start address of the block in the image.
0 Kudos
Xilinx Employee
Xilinx Employee
7,508 Views
Registered: ‎08-02-2011

Re: vdma read part of an image

Jump to solution

Hello,

 

Oh yeah, good catch on the stride. That looks right to me, I think.

www.xilinx.com
0 Kudos