Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

question about frame buffer access with 2700G decoding

easyheart
Beginner
666 Views
Hello everybody,
I have got a problem that need your help.In 2700G video decoding, there is sometime that I need to access the data that is just decoded.To be more specific,right after the command GXVA_CMD_IMAGE_WRITE is sent out, I would like to read the data ofthis macroblock in the frame buffer, but I found that theexpecting data was not available, which meantthis macroblock data was not written toframe buffer yet.
My question is: how doI judge that the writing operation is finished,oris there any way that I can tell the completment of the operation?
Thanks!
0 Kudos
2 Replies
Chuck_De_Sylva
Beginner
666 Views

You can issue a STORE DWORD command after the indicated operation. When the address pointed to by the STOREDW command gets updated, you know the STORE command...and all other commands before it...have compeleted.

0 Kudos
Chuck_De_Sylva
Beginner
666 Views
Also, you must issue a MI_FLUSH prior to the Store DWORD, to ensure the command has actually completed.

0 Kudos
Reply