adding filters for various codec phases