Bitstream-Based Impairment Detection For High Efficiency Video Coding