| Who said filters can't be written in managed code? |
|
|
|
|
If you didn't believe that filters could be written in managed code, I'd suggest you have a look at the collection of filters that Gabest has already written for Dowitchers. Admittedly most are splitters/demux/parsers, but AFAIK, the real "numbers cruncher" of video processing is the motion estimation of delta frames when encoding. And if you're not interested in encoding, the hotspots of decoding are the variable-length decoding of coefficients and the iDct. If you can't get hardware support for these operations, the difference between C/C++ and C# is negligible. As I pointed out before, if you are worried about performance, you can check the assembly code executed in VS Disassembly window (if you're happy with what you see, you're done. If not, before going further and, in case you didn't already know, start the "release version" and use the debugger to "Attach to process..." to break into your code and see the actual optimized jitted code that your application is actually running). If that's not good enough then SIMD (ie. SSE?, shaders & al) is the way to go. But there is a good chance that you can find good critical routines in existing open-source code.
|
| < Prev | Next > |
|---|














