- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Also, you must issue a MI_FLUSH prior to the Store DWORD, to ensure the command has actually completed.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page