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
MediaPortal 1 Plugins
[New Plugin] Atmolight Process Plugin **Update 25.05.2010 V1.9**
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: 560619" data-attributes="member: 26324"><p>I tried to play with it:</p><p>I just (quick and dirty) hacked DXUtil's VideoSurfaceToRGBSurface(...) where the stretchrect happens and also had to patch Framegrabber.cs OnFrame(...) to create the RGB surface only in the resolution 64x48 which works great. </p><p>Much less CPU time.</p><p>The only problem with this is that the StretchRect(...) seems to be only able to copy if sourceRect=targetRect.</p><p></p><p>Well targetRect is the actual size of the target bitmap which fine but sourceRect having the same size would mean NOT stretching but only copying a part of the original surface or am i wrong?</p><p></p><p>BTW: I tried to use the backbuffer directly in the plugin and use StretchRectangle on that but this always gave D3D_INVALIDCALL whatever i tried.</p><p></p><p>tourette: Do you have any ideas?</p></blockquote><p></p>
[QUOTE="gemx, post: 560619, member: 26324"] I tried to play with it: I just (quick and dirty) hacked DXUtil's VideoSurfaceToRGBSurface(...) where the stretchrect happens and also had to patch Framegrabber.cs OnFrame(...) to create the RGB surface only in the resolution 64x48 which works great. Much less CPU time. The only problem with this is that the StretchRect(...) seems to be only able to copy if sourceRect=targetRect. Well targetRect is the actual size of the target bitmap which fine but sourceRect having the same size would mean NOT stretching but only copying a part of the original surface or am i wrong? BTW: I tried to use the backbuffer directly in the plugin and use StretchRectangle on that but this always gave D3D_INVALIDCALL whatever i tried. tourette: Do you have any ideas? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
[New Plugin] Atmolight Process Plugin **Update 25.05.2010 V1.9**
Contact us
RSS
Top
Bottom