Fast entropy-based CABAC rate estimation for mode decision in HEVC