Merged. Fixed memory leaks. Adapted to use 4x4 transforms. The whole filter chain now works on PC.