Contents-aware partitioning algorithm for parallel high efficiency video coding