PS autocontrast + sharpen

Hi all,
is anyone kind enough to point me a link to PS technique on
How To combine an autocontrast (or at least a levels function -like the one included in the bazaar-) with a sharpen function within the same PS shader ?

this would spare me some CPU cycles instead of using FF …
Thanks, Franz