• Yushin Cho's avatar
    Improve dist-8x8 · 8e75e8bb
    Yushin Cho authored
    Improve dist-8x8 when computing 8x8 yuv dist for sub8x8.
    
    To apply dist-8x8 for sub8x8 partitions, once mode decision for
    sub8x8 partitions are finished then dist-8x8 is computed on 8x8 window.
    Since dist-8x8 is only for luma, chroma distortion should be identified.
    
    Previously, it has been hard to be free from potential bugs doing this,
    due to the complex inter mode search code.
    
    The new method is less-error-prone, which computes uv distortion (in MSE) after
    the mode decisions for all of sub8x8 blocks in a 8x8 window are finished,
    when the dist-8x8 distortion for luma 8x8 pixels are computed with
    new distortion metric.
    
    All the code separating y and uv distortion in inter mode search has
    been removed in this commit.
    
    Change-Id: Ieaccb7915df5faeb5e89a7e70b2b7cbac65231af
    8e75e8bb
blockd.h 51.5 KB