• Yushin Cho's avatar
    Fix daala_dist to handle visible pixels only · 75b01004
    Yushin Cho authored
    - If invisible pixels, av1_daala_dist() simply use source pixles for dst.
    - Added av1_daala_dist_diff() which inputs diff signal instead of dst.
    
    - Refactored daala_dist code so that av1_daala_dist() and _diff()
    is called inside av1's distortion calculation functions, pixel_sse() and
    sum_squares_visible().
    
    Change-Id: Id857db52fe19856d92c46a9e84ac2962c01ae045
    75b01004
rdopt.h 5.36 KB