FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6656 Discussões

Freeze Frame with the Video IP Suite

Altera_Forum
Colaborador honorário II
1.472 Visualizações

Has anyone determined how to do a Freeze Frame using the Video IP Suite? Can I use the GO bit in the Frame Buffer or is there another way to Freeze the video stream and keep a clean frame of video on the screen? 

 

Thanks, in advance. 

 

Mike
0 Kudos
4 Respostas
Altera_Forum
Colaborador honorário II
602 Visualizações

Hello, 

 

Yes, when repeating is allowed, setting the Go bit to zero on the run-time control of the writer thread should freeze the output stream. 

 

However, you have to set the Go bit to zero before the frame buffer receives the end of packet of the frame you want to repeat. If you are trying to freeze the output in reaction to an event such as the video input cable being pulled out then it might already be too late for that. 

 

vgs
Altera_Forum
Colaborador honorário II
602 Visualizações

There may be an added feature to support automatic frame repetition in the next release of the VIP suite. The problem right now is that the frame buffer will repeat on a partial frame rather than the last complete frame. 

 

Jake
Altera_Forum
Colaborador honorário II
602 Visualizações

"...frame buffer will repeat on a partial frame rather than the last complete frame." 

 

That is ugly. I was reading the GO bit being cleared would stop durring the next 'control packet'. (From the ug_vip) "Setting this bit to 0 causes the Frame Buffer MegaCore function to stop the next time control information is read."
Altera_Forum
Colaborador honorário II
602 Visualizações

"...frame buffer will repeat on a partial frame rather than the last complete frame." 

 

Just to make sure there is no misunderstanding here, the frame buffer will repeat a partial frame IF the last thing it received before stopping was a partial frame (ie, early end of packet in most cases). Setting the Go bit to 0 does not stop the frame buffer on the spot and it will continue until the current frame is finished. If this frame is a complete frame then the Freeze frame feature will work as expected. 

 

vgs
Responder