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: 
Newbie ggrummer
Newbie
2,896 Views
Registered: ‎03-17-2017

Video Processing Subsystem - interlace Size Registers Have No Effect

Jump to solution

We can't change the VPSS Deinterlacer horizontal and vertical image size.  In debug mode we can write the horizontal and vertical size registers, read them to see that they’ve changed, but the Deinterlacer does not change.  Once we supply the new image, the Deinterlacer stops working.

 

The only time the images size values can be entered is after a power on reset.  A normal reset has no effect.

 

How does one get the Deinterlacer to accept a new image size?

0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
4,878 Views
Registered: ‎07-31-2012

Re: Video Processing Subsystem - interlace Size Registers Have No Effect

Jump to solution
You can look at the example codes given in the driver folder to see how these parameters are set - . Alternately check the XAPP1291 which has the deinterlacer setup support too - http://www.xilinx.com/support/documentation/application_notes/xapp1291-video-subsystem.pdf
Thanks,
Anirudh

PS: Please MARK this as an answer in case it helped resolve your query.Give kudos in case the post guided you to a solution.
0 Kudos
3 Replies
Highlighted
Xilinx Employee
Xilinx Employee
2,853 Views
Registered: ‎08-02-2011

Re: Video Processing Subsystem - interlace Size Registers Have No Effect

Jump to solution
Hello,

I assume that it doesn't work if you use the actual top-level function calls to the VPSS? You're really not supposed to go hit individual registers without using the driver.
www.xilinx.com
0 Kudos
Xilinx Employee
Xilinx Employee
4,879 Views
Registered: ‎07-31-2012

Re: Video Processing Subsystem - interlace Size Registers Have No Effect

Jump to solution
You can look at the example codes given in the driver folder to see how these parameters are set - . Alternately check the XAPP1291 which has the deinterlacer setup support too - http://www.xilinx.com/support/documentation/application_notes/xapp1291-video-subsystem.pdf
Thanks,
Anirudh

PS: Please MARK this as an answer in case it helped resolve your query.Give kudos in case the post guided you to a solution.
0 Kudos
Xilinx Employee
Xilinx Employee
2,778 Views
Registered: ‎08-02-2007

Re: Video Processing Subsystem - interlace Size Registers Have No Effect

Jump to solution

Please take a look at main.c under C:\Xilinx\SDK\2017.1\data\embeddedsw\XilinxProcessorIPLib\drivers\vprocss_v2_3\examples\src

 

Search for following lines, change the thisCase->width_in and thisCase->height_in should allow you to use a different size image. 

if (VpssPtr->DeintPtr != NULL) {
// Video In: 480i YUV Video Out: 1080P RGB
thisCase->width_in = 720;
thisCase->height_in = 240;

0 Kudos