The Average filter calculates the average colour in the current layer (or selection) and then applies it throughout that area.
This filter can be found in the Filters menu, in the Blur category.
This filter has no customisable settings.