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
Visitor lucawerfel
Visitor
188 Views
Registered: ‎12-19-2018

Video Test Pattern Generator issue

I am using Vivado 2018.2 to build a project where the Video Test Pattern Generator (VTPG) creates some frames to be stored in the DDR3 Memory of Zybo board, by means of an AXI Video DMA block connected to the Zybo's Processing System. After a frame being stored on the memory, I write the content of the respective memory block to an SD card. However, I'm experiencing some problems to get the project working properly. Despite configuring the VTPG to generate a frame with a solid blue color in the background, the FFMPEG program shows the following strange green frame when reading the data stored in the SD card. Am I missing something?

Best regards

0 Kudos
1 Reply
Moderator
Moderator
114 Views
Registered: ‎11-09-2015

Re: Video Test Pattern Generator issue

Hi @lucawerfel,

I guess you are missing how the data will be mapped in memory. You might think the data are stored in RGB meaning the Red is on the MSB and the Blue on the LSB, however this is how the TPG send the data:

TPG.JPG

 

Note that the Green component is on the LSB not the Blue. This is a configuration we have on the AXI4-Interface (it comes from the a choice we made because that sensors usually send more green information).

So you are reading a correct data, but just not visualizing correctly.

I tried to explained the color mapping on my Video Beginner Series 2. This might be a good reading for you ;)

Hope that helps,

Regards,

 


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