SAD and SSE implementation for HEVC encoder on DSP TMS320C6678
Overview of the High Efficiency Video Coding (HEVC) Standard