Skip to content
  • Yushin Cho's avatar
    [dist-8x8] Fix for other chroma formats than 4:2:0 · ecab98b5
    Yushin Cho authored
    Instead of applying different offsets for each of quadri-split, horizontal split,
    vertical split, store the start addresses of src and dst 8x8 blocks in each of
    YUV palnes then pass it to distortion compute function for dist-8x8, dist_8x8_yuv().
    
    Also, don't save decoded pixels for 8x8 block in additinal buffer but directly
    access the xd->dst buffer. Thus removed the decoded-8x8[8x8] buffer in struct macroblock.
    
    However, this patch does NOT fix the case where dist-8x8's assert fails with
    CfL enabled.
    
    Fix part of issue (i.e. 4:4:4 chroma iput) in
    BUG=aomedia:1094
    
    Change-Id: I6399d0eef3e17cacc9ec6467480a7959c85d419b
    ecab98b5