1. An apparatus comprising: a first filter to process two-dimensional (2-D) data in a block of pixels in a first dimension for a plurality of filter sizes, the block having a swath; a register file coupled to the first filter to store the 2-D data based on programmable information; and a second filter coupled to the register file to filter the stored 2-D data in a second dimension to generate filter outputs in one of static and dynamic modes based on the programmable information, the static mode leaving the filter outputs fixed for the swath, the dynamic mode selecting the filter outputs on a pixel basis, the filter outputs including first and second filter outputs.