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: 
Voyager
Voyager
733 Views
Registered: ‎05-30-2017

VPSS Deinterlace only XVprocSs->FrameBufBaseaddr and XVprocSs->CtxtData->DeintBufAddr difference

Hello. I'm working with Vivado 2018.2 and VPSS. I'm testing the IP as deinterlacer only. Configurating it I saw two type of base address in external memory that the IP needs. VpssPtr->FrameBufBaseaddr that is called "Frame buffer" used from internal VDMA and VpssPtr->CtxtData->DeintBufAddr that is called "Deinterlacer buffer". What is the function of these two buffer? Frame buffer stores input field and deinterlacer buffer stores output frame? Thank you. 

0 Kudos
3 Replies
Moderator
Moderator
686 Views
Registered: ‎11-09-2015

Re: VPSS Deinterlace only XVprocSs->FrameBufBaseaddr and XVprocSs->CtxtData->DeintBufAddr difference

Hi @pierlum,

 

I do not think you are supposed to access these pointer directly. Make sure to use the drivers to do the VPSS configuration.

 

You might want to use the example design to see how to use the VPSS in deinterlacer only mode.

 

For information you can find some docuemention on the pointers in the driver doc:

file:///C:/Xilinx/SDK/2018.2/data/embeddedsw/XilinxProcessorIPLib/drivers/vprocss_v2_5/doc

vpss.PNG

 

vpss2.PNG

 

You should need to care only about FrameBufBaseaddr which is the base address the VPSS will use in memory. In deinterlacer only, both address might match.

 

In other configuration, it will depends on which core are using the memory.

 

The function XVprocSs_CfgInitialize will set XVprocSs->CtxtData->DeintBufAddr for you based on FrameBufBaseaddr  and the VPSS configuration

 


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
Voyager
Voyager
661 Views
Registered: ‎05-30-2017

Re: VPSS Deinterlace only XVprocSs->FrameBufBaseaddr and XVprocSs->CtxtData->DeintBufAddr difference

Hi @florentw,

thank you. I looked at the example design. I should use only the functions that I can find in main.c?

0 Kudos
Moderator
Moderator
656 Views
Registered: ‎11-09-2015

Re: VPSS Deinterlace only XVprocSs->FrameBufBaseaddr and XVprocSs->CtxtData->DeintBufAddr difference

HI @pierlum,

 

You might want to use as well what is in periph.c and system.c.

 

Note that I was saying that you should use the example design as reference. When it is working, you might want to use other functions. My advice was to never modify the sturctures directly but always use the function from the driver.

 


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**