Proxy-based task partitioning of watermarking algorithms for reducing energy consumption in mobile devices