Contrast & sharpen in google photos

Hi,

In Android phone, there is google photos. It provides adjust contrast and sharpen feature.
Contrast can be set from -100 to 100.
Sharpen can be set from 0 to 100.

What kind of filter is used in these two method?
How to convert method parameter to filter parameter?

Thanks