home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
[Poll] Expose present surface object as in Framegrabber as event?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="gemx" data-source="post: 561525" data-attributes="member: 26324"><p>Thanks Mr Hipps for teaching my some more details <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p><p></p><p>I think we can close this thread now as it doesn't lead anywhere.</p><p>It's not really worth to change it since GetCurrentImage() doesn't block the rendering process because of the lock... statements the current implementation shouldn't be a problem.</p><p></p><p>Also all other known plugins which use this function call it with 1 sec delay so it's not that important if takes 10 ms or 50 ms.</p><p></p><p>Regarding the Atmolight plugin i again played with the backbuffer and also applied the optimized techniques we discovered in this thread to resize an image in GPU mem (stretchrect) and to copy it to sysmem (lockrect).</p><p>The result is that i get a framerate of ~ 27 fps regardless of HD or SD because the framegrabber only gets the image from the evr renderer thus only video but the backbuffer contains the whole desktop.</p><p></p><p>Since we only have 50 Hz and 60 Hz content ~ 27 fps grabbing rate is absolutely fine for Atmolight and CPU usage is also hardly measurably, so i am fine now without the need of a patch <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>Although the result of this thread is that we drop the request and i think we all learned a bit more about using DirectX in an efficient way.</p><p></p><p>Thanks to all we gave their 5 cents <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="gemx, post: 561525, member: 26324"] Thanks Mr Hipps for teaching my some more details :) :thx: I think we can close this thread now as it doesn't lead anywhere. It's not really worth to change it since GetCurrentImage() doesn't block the rendering process because of the lock... statements the current implementation shouldn't be a problem. Also all other known plugins which use this function call it with 1 sec delay so it's not that important if takes 10 ms or 50 ms. Regarding the Atmolight plugin i again played with the backbuffer and also applied the optimized techniques we discovered in this thread to resize an image in GPU mem (stretchrect) and to copy it to sysmem (lockrect). The result is that i get a framerate of ~ 27 fps regardless of HD or SD because the framegrabber only gets the image from the evr renderer thus only video but the backbuffer contains the whole desktop. Since we only have 50 Hz and 60 Hz content ~ 27 fps grabbing rate is absolutely fine for Atmolight and CPU usage is also hardly measurably, so i am fine now without the need of a patch :) Although the result of this thread is that we drop the request and i think we all learned a bit more about using DirectX in an efficient way. Thanks to all we gave their 5 cents :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
[Poll] Expose present surface object as in Framegrabber as event?
Contact us
RSS
Top
Bottom