How the DirectX transform filters work ?
1.using XTL Test we can create the .grf file(graphedit)
2. From that .grf file, what I learned ?...
The Source is decompressed and then given to the DEX Filter( XML Rendering engine or DirectXEditing Filter) .
3.DirectX transform wrapper acts like a callback (sample grabber filter). DEX filter samples the frames and passed it
to the DirectX transform wrapper. This Directx transform wrapper( it can be any effect filter) processes and modifies the frame.
Next the Processed frame is passed to the DEX Filter and DEX filter renders the frames using video renderer.
The users specify the output width and height in the .XTL file. based on it the resizer filter is added. if the output video width and height is not
specified, the input video width and height is taken as an output video width and height.( Both the cases the resizer will be added to the graph)
Through XTL file, we can change the frame rate of the video
highway.avi -> AVI Splitter -> AVI Decompressor ->Resizer-> Frame Rate converter -> DEX Filter 000A---Out0--> DEXER queue -> DEX video renderer
Frame rate Converter --------> In 2 of DEX Filter --Out 0--> DEXER queue
DXT Wrapper ---->In 3 of DEX filter ...
Out 0 of DEX Filter -> Input of DXT wrapper
Out 0 of DEX filter is connected to the input pin of the DXT wrapper.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment