Direct and Semi-Direct Frame Partitioning Mapping for Computation and Energy-Aware HEVC Transrating