Secure and Energy-Efficient Video Compression on Multicore-based Handheld Devices