Local versus extended deformed graphene geometries for valley filtering