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: 
Highlighted
Adventurer
Adventurer
1,469 Views
Registered: ‎03-08-2018

VPSS (Scalar Only) with HDMI

Jump to solution

Hi,

 

I am using ZCU102 version 1.0  board to evaluate the Video Processing Subsystem IP in Scalar Mode only.

In my project , i want to scale up custom resolution(400x400,30fps) to standard resolution(640x480,60fps) and the video is sent through HDMI IP.

To test custom resolution, i used TX only example design (TPG Only). I registered my custom resolution as per answer record https://www.xilinx.com/support/answers/68227.html  

 

typedef enum {
XVIDC_VM_400x400_30_P = (XVIDC_VM_CUSTOM + 1),
XVIDC_VM_962x776_60_P = (XVIDC_VM_400x400_30_P + 1),
XVIDC_VM_400x400_60_P = (XVIDC_VM_962x776_60_P + 1),
XVIDC_CM_NUM_SUPPORTED
} XVIDC_CUSTOM_MODES;

 

const XVidC_VideoTimingMode XVidC_MyVideoTimingMode[(XVIDC_CM_NUM_SUPPORTED - (XVIDC_VM_CUSTOM + 1))] =
{
{ XVIDC_VM_400x400_30_P, "400x400@30Hz", XVIDC_FR_30HZ,
{400, 0, 600, 0,1000, 0,
400, 0, 434, 0, 834, 0, 0, 0, 0, 0} },
{ XVIDC_VM_962x776_60_P, "962x776@60Hz", XVIDC_FR_60HZ,
{962, 0, 193, 0, 1155, 0,
776, 0, 7, 0, 780, 0, 0, 0, 0, 0} },
{ XVIDC_VM_400x400_60_P, "400x400@60Hz", XVIDC_FR_60HZ,
{400, 0, 176, 0,576, 0,
400, 0, 62, 0, 462, 0, 0, 0, 0, 0} }

};

 

Then I added those line in main function

 

Status = XVidC_RegisterCustomTimingModes(XVidC_MyVideoTimingMode, (XVIDC_CM_NUM_SUPPORTED - (XVIDC_VM_CUSTOM + 1)));
if (Status != XST_SUCCESS) {
xil_printf("ERR: Unable to register custom timing table\r\n\r\n");
}
else
{
xil_printf("Timing table registered successfully!\n\r");
}

 

Case1 :

 

When i scaling up 400X400@60fps to 640X480@60fps or scaling down 962x776@60fps to 640x480@60fps, in both conditions  the scalar is working fine.

If i try to scale up 400x400@30fps(this is my actual requirement) to 640x480@60fps , there is no video output. I received message in the UART console, TX Stream is UP and TX Stream is Down alternatively.  

I checked scalar configuration and timing table registration. In UART Console , it shows Timing table registered successfully and 

scalar configuration settings is fine.

To Report this , i have used these functions

XVprocSs_ReportSubsystemCoreInfo(pVprocss);
XVprocSs_ReportSubsystemConfig(pVprocss);

 

Why scalar doesn't scale up the particular frame rate resolution(400x400@30fps to 640x480@60fps) ?

 

Case2:

 

I tried also two different standard resolutions in VPSS (Scalar Mode only).

 

a)1280x720@30fps to 1920x1080@60fps

b)1280x720@30fps to 1920x1080@30fps

 

Case a is working fine , but not case b.

 

Why the scaling conversion between (30fps) doesn't work?

 

 Thanks

 Kannan

 

 

error.png
0 Kudos
1 Solution

Accepted Solutions
Adventurer
Adventurer
1,665 Views
Registered: ‎03-08-2018

Re: VPSS (Scalar Only) with HDMI

Jump to solution

Hi florentw,

 

I solved this issue by the VPSS configured in Full Fledged mode.

Now i could able to scale up 400x400@30fps to HD, Full HD resolution and tried in two different methods.

 

Method 1 : VPSS(Scalar Only) + AXIVDMA 

Method 2 : VPSS(Full Fledged and Inbuilt VDMA)

 

In method 1 i am not getting any output video on the monitor. but the method 2 is working fine without any issues. 

 

 

Thanks,

kannan

View solution in original post

4 Replies
Moderator
Moderator
1,401 Views
Registered: ‎11-09-2015

Re: VPSS (Scalar Only) with HDMI

Jump to solution

Hi @kannan,

 

What do you mean by it doesn't work? Is the IP outputting data (did you check with an ILA)?

 

If it is only that you do not have data on the HDMI, how do you take care of the timing signals?

 

Regards,


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Adventurer
Adventurer
1,666 Views
Registered: ‎03-08-2018

Re: VPSS (Scalar Only) with HDMI

Jump to solution

Hi florentw,

 

I solved this issue by the VPSS configured in Full Fledged mode.

Now i could able to scale up 400x400@30fps to HD, Full HD resolution and tried in two different methods.

 

Method 1 : VPSS(Scalar Only) + AXIVDMA 

Method 2 : VPSS(Full Fledged and Inbuilt VDMA)

 

In method 1 i am not getting any output video on the monitor. but the method 2 is working fine without any issues. 

 

 

Thanks,

kannan

View solution in original post

Moderator
Moderator
1,360 Views
Registered: ‎11-09-2015

Re: VPSS (Scalar Only) with HDMI

Jump to solution

Hi @kannan,

 

Good to know. It might be that the VPSS didn't have enough bandwidth in case 1

 

If everything is clear for you, please kindly close the topic by marking your last reply as accepted solution.

 

Thanks and Regards,


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Moderator
Moderator
1,285 Views
Registered: ‎11-09-2015

Re: VPSS (Scalar Only) with HDMI

Jump to solution

Hi @kannan,

 

This topic is still open and is waiting for you.

If your question is answered or your issue is solved, please mark the response which helped as solution (click on the button "Accept as solution" below the reply)

If this is not solved/answered, please reply in the topic giving more information on your current status.

Best Regards,


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