Trivial DCT filter implementation