• Yaowu Xu's avatar
    Prevent negative variance · 63a37d16
    Yaowu Xu authored
    Due to rounding, hbd variance may become negative. This commit put in
    check and clamp of negative values to 0.
    
    Change-Id: I610d9c8aa2d4eebe7bc5f2c5624a9e3cadad4c94
    63a37d16
highbd_variance_sse2.c 24 KB