A perceptual rate control algorithm based on luminance adaptation for HEVC encoders