Can someone please explain me what DDRVideoWr in cf_hdmi.c does while reading the IMG_DATA?
I am using the reference design files for VC707 development board which has ADV7511 chip on it.
Any help is appreciated.
The image has a RLE data compression, so the upper byte is the count (run length): nnRRGGBB. This is why the length is 175656 instead of 307200.
The DDRVideoWr() just write in memory (starting from VIDEO_BASEADDR) the IMG_DATA. The IMG_DATA is an image of 640x480 resolution, so if a resolution greater than this one is selected, multiple images are put side by side.
Yes this makes sense. But the IMG_LENGTH is 175656.
I am currently using the demo provided by this URL(ADV7511 Xilinx Evaluation Boards Reference Design [Analog Devices Wiki] ).
I would like to ask is how to use this example to display video in the monitor.I mean by just modifying the code in the example?
Which will be the video source in your project? Do you only want to play a video file?
I am very glad to receive your reply.The video source is YUV,just want to display video in the monitor.
YUV is only a color space. I guess that you want to store in memory a video file. In this case, you will have to find out how to extract its frames and configure the VDMA to transfer them. Unfortunately, we don't have an example that do this, so you will have to implement these changes by your own.
Thank you, I think I have some ideas to solve this problem.
There is also a problem, the demo shows the picture is the cycle of the show. I mean constantly on the monitor to refresh the same picture?
That's true: in our reference software we are sending the same frame over and over again.
Thank you for your help!
I would like to ask how to write verilog code to use the IIC to configure the register of ADV7511.Can you give me some examples.Or usually how to configure the register of ADV7511 without Vivado SDK(Only verilog code)?
This is something we can't help with - it is something not supported by us.
Well, but also very grateful.
You may want to rephrase this question-- be specific -- otherwise the answers will have zero information content just like the question.
The generic method is to find your own method of sending in the frames. You can queue up to 3 frames in the default design -- so you have that much time (depending on your video parameters) to prepare the next frame. You can also increase the queue size (IIRC).
I'm sorry, but I think he knows what I mean, so just give a URL.The function of this demo is through the HDMI interface on the display shows a picture, so I would like to ask how to use the code that this demo given to display the video.
Retrieving data ...