DSPRelated.com
Forums

frame processing in BF561

Started by jman...@pricol.co.in May 23, 2007
Hi,
I am using BF561 for my video application.
I've used SDRAM to store the input frame,and used MDMA to transfer the
data from SDRAM to L1 memory.
I can transfer only 5 lines at a time,
But my application needs the entire frame at one strech.

where can i find the driver files to do the frame processing

regards,
manimekalai
Hi Manimekalai,

You can modify your algorithm to work with smaller chunks of data and use
MDMA to bring the data into L1 in blocks. Alternatively, you can use data
cache and work with the data in SDRAM as one block. Many image processing
tasks (eg compression, filtering) can be broken down to work with smaller
blocks of data. What type of frame processing are you performing?

Best regards,

George

www.kaztek.com

_____

From: a... [mailto:a...] On Behalf Of
j...@pricol.co.in
Sent: Wednesday, May 23, 2007 1:35 AM
To: a...; p...@analog.com
Subject: [adsp] frame processing in BF561

Hi,
I am using BF561 for my video application.
I've used SDRAM to store the input frame,and used MDMA to transfer the data
from SDRAM to L1 memory.
I can transfer only 5 lines at a time,
But my application needs the entire frame at one strech.

where can i find the driver files to do the frame processing

regards,
manimekalai
Hi,

I am using the VIDEO INOUT code found in Blackfin Example files.
But with that code i can only get the frame and can display with one
frame delay.
In order to process the frame, i used MDMA to transfer the data from
SDRAM to L1 memory.
But here comes the problem.
I need the entire frame into L1 memory. atleast half of the frame.
but i can transfer only a small block of data and not the entire frame.

I suppose i can access the SDRAM directly.
but i dont want to do the same as it delays the speed.
So i prefer transferring the data to L1 memory and do the process.

Is there any driver files to access the entire frame.
Else it it possible to do with VDK.

If yes, kindly suggest me.

regards,
manimekalai

"Diego A. Botero G."
23,May -2007 09:18 PM

To
g...@kaztek.com
cc
j...@pricol.co.in, a...
Subject
Re: [adsp] frame processing in BF561

Hello

A good option is that you store your image directly in L1. You put the L1
as target of the DMA controller when it get the image from the PPI.
However you can not store all the image in L1, but you can store one line
of the image and generate and interrupt. Process your image by lines.

Bye.

2007/5/23, George Kadziolka :
Hi Manimekalai,

You can modify your algorithm to work with smaller chunks of data and use
MDMA to bring the data into L1 in blocks. Alternatively, you can use data
cache and work with the data in SDRAM as one block. Many image processing
tasks (eg compression, filtering) can be broken down to work with smaller
blocks of data. What type of frame processing are you performing?

Best regards,

George

www.kaztek.com

_____

From: a... [mailto:a...] On Behalf Of
j...@pricol.co.in
Sent: Wednesday, May 23, 2007 1:35 AM
To: a...; p...@analog.com
Subject: [adsp] frame processing in BF561

Hi,

I am using BF561 for my video application.
I've used SDRAM to store the input frame,and used MDMA to transfer the
data
from SDRAM to L1 memory.
I can transfer only 5 lines at a time,
But my application needs the entire frame at one strech.

where can i find the driver files to do the frame processing

regards,
manimekalai

--
Att.
Ing. Diego Andr Botero Galeano
BSB Ingenier.
Bogota - Colombia.
Hello

A good option is that you store your image directly in L1. You put the L1 as
target of the DMA controller when it get the image from the PPI. However you
can not store all the image in L1, but you can store one line of the image
and generate and interrupt. Process your image by lines.
Bye.

2007/5/23, George Kadziolka :
>
> Hi Manimekalai,
>
> You can modify your algorithm to work with smaller chunks of data and use
> MDMA to bring the data into L1 in blocks. Alternatively, you can use data
> cache and work with the data in SDRAM as one block. Many image processing
> tasks (eg compression, filtering) can be broken down to work with smaller
> blocks of data. What type of frame processing are you performing?
>
> Best regards,
>
> George
>
> www.kaztek.com _____
>
> From: a... [mailto:
> a... ] On Behalf Of
> j...@pricol.co.in
> Sent: Wednesday, May 23, 2007 1:35 AM
> To: a... ;
> p...@analog.com
> Subject: [adsp] frame processing in BF561
>
> Hi,
>
> I am using BF561 for my video application.
> I've used SDRAM to store the input frame,and used MDMA to transfer the
> data
> from SDRAM to L1 memory.
> I can transfer only 5 lines at a time,
> But my application needs the entire frame at one strech.
>
> where can i find the driver files to do the frame processing
>
> regards,
> manimekalai
>

--
Att.
Ing. Diego Andr Botero Galeano
BSB Ingenier.
Bogota - Colombia.
Hi,
If i need to transfer the image without processing,As u said, I can
directly send it to the buffer.
But if i need to do some processing on the image, then how should i do
without transferring to L1 memory.

regards
mani

"Naresh Patel"
Sent by: a...
24,May -2007 02:59 PM

To
j...@pricol.co.in, a...
cc
"Diego A. Botero G." , a...,
g...@kaztek.com
Subject
Re: [adsp] frame processing in BF561

Hello,

for the frame processing, First u have to disable DMA
after getting one frame at the ISR.
Then in main function initialize the MDAM and transfer
whole frame to other test_frame buffer. fro that no need
any driver file.

Regards,
Naresh
j...@pricol.co.in
> wrote:
>
>Hi,
>
>I am using the VIDEO INOUT code found in Blackfin
Example files.
>But with that code i can only get the frame and can
display with one
>frame delay.
>In order to process the frame, i used MDMA to transfer
the data from
>SDRAM to L1 memory.
>But here comes the problem.
>I need the entire frame into L1 memory. atleast half of
the frame.
>but i can transfer only a small block of data and not
the entire frame.
>
>I suppose i can access the SDRAM directly.
>but i dont want to do the same as it delays the speed.
>So i prefer transferring the data to L1 memory and do the
process.
>
>Is there any driver files to access the entire frame.
>Else it it possible to do with VDK.
>
>If yes, kindly suggest me.
>
>regards,
>manimekalai
>
>"Diego A. Botero G."
>23,May -2007 09:18 PM
>
>To
>g...@kaztek.com
>cc
>j...@pricol.co.in, a...
>Subject
>Re: [adsp] frame processing in BF561
>
>Hello
>
>A good option is that you store your image directly in
L1. You put the L1
>as target of the DMA controller when it get the image
from the PPI.
>However you can not store all the image in L1, but you
can store one line
>of the image and generate and interrupt. Process your
image by lines.
>
>
>Bye.
>
>
>
>
>2007/5/23, George Kadziolka :
>Hi Manimekalai,
>
>You can modify your algorithm to work with smaller chunks
of data and use
>MDMA to bring the data into L1 in blocks. Alternatively,
you can use data
>cache and work with the data in SDRAM as one block. Many
image processing
>tasks (eg compression, filtering) can be broken down to
work with smaller
>blocks of data. What type of frame processing are you
performing?
>
>Best regards,
>
>George
>
>www.kaztek.com
>
>_____
>
>From: a... [mailto:a...]
On Behalf Of
>j...@pricol.co.in
>Sent: Wednesday, May 23, 2007 1:35 AM
>To: a...; p...@analog.com
>Subject: [adsp] frame processing in BF561
>
>Hi,
>
>I am using BF561 for my video application.
>I've used SDRAM to store the input frame,and used MDMA to
transfer the
>data
>from SDRAM to L1 memory.
>I can transfer only 5 lines at a time,
>But my application needs the entire frame at one strech.
>
>where can i find the driver files to do the frame
processing
>
>regards,
>manimekalai
>
>
>
>--
>Att.
>Ing. Diego Andr Botero Galeano
>BSB Ingenier.
>Bogota - Colombia.
>