Skip to content
  • Yaowu Xu's avatar
    changed mode_context update strategy · 4e9b4a15
    Yaowu Xu authored
    Previously, the mode context is always udpated based on stats of current
    frame, when there is no count, 50% is used for both left and right branch.
    However, it is observed that with such strategy, a small count or no count
    at all can skew the probability distribution significantly. This commmit
    changed the mode_context update strategy to prevent small counts from
    skewing the probability distributions.
    
    Tests on derf set showed a small gain:  .06% in psnr and .09% in ssim
    
    Change-Id: Ic812e64ae5f70251c170b0717f7b7fa587055488
    4e9b4a15