Monday, April 30, 2007

DirectX transform with IDXSurface

I added the

dxtransguid.h
dxTmsftGuid.h

files to the C:\Program Files\ IE6_LIB\ Include directory



http://msdn2.microsoft.com/en-us/library/aa753550.aspx -


1.Understand the Inner workings of an WipeDlg application
2. How to load the raw buffer data to the input Surfaces ?...
3.Retrieve the Raw buffer from Output Surface ...


Use IDXARGBReadPtr
IDXARGBReadWritePtr interface


two ways to create the Image from the Raw Data... IDXSurfaceFactory interface...

1.CreateSurface() fn
2.CreateFromDDSurface() fn


Set of Processes involved in it :
--------------------------------------------
1.Create an offscreen surface
2.Create the HBITMAP from Raw buffer
3.Get the DC of an Offscreen surface
4.Select the raw buffer's HBITMAP to the offscreen surface DC.




DirectX Transform filters :
-----------------------------------------
DES(Directshow Editing Services) uses the DirectX transform filters.


Advantages of DirectX transform filters :
--------------------------------------------------------------

1.DES uses DirectX transform filters

2.it supports transform in HTML also
3.this also enables to use graphics processor to accelearate some of the transforms
4.mostly PC games use graphics processor hardware and most of the time is idle.
5.Graphics processor is equipped withn high performace processor and some of the effects can be done in realtime.
mostly PC games use that hardware.
6. it supports graphics processor from NVIDIA and ATI develope their own language for this.
7.graphics processor supports PC Games...
8. DirectX transform filter is used with DirectD raw so much more efficient than DirectShow baseclasses derived filters

No comments: